Jan Kundrát | dbbe9b0 | 2018-08-20 14:56:02 +0200 | [diff] [blame] | 1 | # status LED blinking: white, 50% duty cycle, rather fast, but not the fastet blinking |
| 2 | i2c dev 1 |
| 3 | i2c mw 0x60 0x16 0x00 |
| 4 | i2c mw 0x60 0x12 0x80 |
| 5 | i2c mw 0x60 0x13 0x06 |
| 6 | i2c mw 0x60 0x16 0x3f |
| 7 | i2c mw 0x60 0x0a 0x80 |
| 8 | i2c mw 0x60 0x0b 0x80 |
| 9 | i2c mw 0x60 0x0c 0x80 |
Václav Kubernát | 9efccdc | 2020-11-11 13:25:32 +0100 | [diff] [blame] | 10 | setenv 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át | 3307ccd | 2018-05-23 19:43:44 +0200 | [diff] [blame] | 11 | if test -n ${czechlight} && load mmc 0:${rauc_part} ${fdt_addr_r} /boot/${czechlight}-clearfog.dtb; then |
Jan Kundrát | 5220d62 | 2018-02-13 15:50:59 +0100 | [diff] [blame] | 12 | echo "DTS: ${czechlight}-clearfog" |
| 13 | else |
| 14 | load mmc 0:${rauc_part} ${fdt_addr_r} /boot/czechlight-clearfog.dtb || reset |
| 15 | fi |
Jan Kundrát | 6fa8750 | 2018-01-12 15:09:58 +0100 | [diff] [blame] | 16 | load mmc 0:${rauc_part} ${kernel_addr_r} /boot/zImage || reset |
| 17 | bootz ${kernel_addr_r} - ${fdt_addr_r} || reset |