blob: 5fd6e95931e70899e3643c843ce11955fc55da8e [file] [log] [blame]
Jan Kundrátdbbe9b02018-08-20 14:56:02 +02001# status LED blinking: white, 50% duty cycle, rather fast, but not the fastet blinking
2i2c dev 1
3i2c mw 0x60 0x16 0x00
4i2c mw 0x60 0x12 0x80
5i2c mw 0x60 0x13 0x06
6i2c mw 0x60 0x16 0x3f
7i2c mw 0x60 0x0a 0x80
8i2c mw 0x60 0x0b 0x80
9i2c mw 0x60 0x0c 0x80
Václav Kubernát9efccdc2020-11-11 13:25:32 +010010setenv bootargs root=/dev/mmcblk0p${rauc_part} init=/sbin/init-czechlight.sh rauc.slot=${rauc_slot} czechlight=${czechlight} systemd.machine_id=${machineid} panic=10 oops=panic spidev.bufsiz=65535 schedstats=enable
Jan Kundrát3307ccd2018-05-23 19:43:44 +020011if test -n ${czechlight} && load mmc 0:${rauc_part} ${fdt_addr_r} /boot/${czechlight}-clearfog.dtb; then
Jan Kundrát5220d622018-02-13 15:50:59 +010012 echo "DTS: ${czechlight}-clearfog"
13else
14 load mmc 0:${rauc_part} ${fdt_addr_r} /boot/czechlight-clearfog.dtb || reset
15fi
Jan Kundrát6fa87502018-01-12 15:09:58 +010016load mmc 0:${rauc_part} ${kernel_addr_r} /boot/zImage || reset
17bootz ${kernel_addr_r} - ${fdt_addr_r} || reset