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 | 7af5385 | 2021-02-24 17:36:25 +0100 | [diff] [blame] | 10 | # reset fan controller |
| 11 | i2c mw 0x20 0x00 0x40 |
Jan Kundrát | cbb5231 | 2023-12-21 14:07:33 +0100 | [diff] [blame] | 12 | 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=131072 schedstats=enable i2c_algo_bit.bit_test=1 |
Jan Kundrát | 3307ccd | 2018-05-23 19:43:44 +0200 | [diff] [blame] | 13 | 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] | 14 | echo "DTS: ${czechlight}-clearfog" |
| 15 | else |
| 16 | load mmc 0:${rauc_part} ${fdt_addr_r} /boot/czechlight-clearfog.dtb || reset |
| 17 | fi |
Jan Kundrát | 6fa8750 | 2018-01-12 15:09:58 +0100 | [diff] [blame] | 18 | load mmc 0:${rauc_part} ${kernel_addr_r} /boot/zImage || reset |
| 19 | bootz ${kernel_addr_r} - ${fdt_addr_r} || reset |