blob: 1e0b43e18494f478b6ff6546469e025e9370fe14 [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át7af53852021-02-24 17:36:25 +010010# reset fan controller
11i2c mw 0x20 0x00 0x40
Jan Kundrátcbb52312023-12-21 14:07:33 +010012setenv 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át3307ccd2018-05-23 19:43:44 +020013if test -n ${czechlight} && load mmc 0:${rauc_part} ${fdt_addr_r} /boot/${czechlight}-clearfog.dtb; then
Jan Kundrát5220d622018-02-13 15:50:59 +010014 echo "DTS: ${czechlight}-clearfog"
15else
16 load mmc 0:${rauc_part} ${fdt_addr_r} /boot/czechlight-clearfog.dtb || reset
17fi
Jan Kundrát6fa87502018-01-12 15:09:58 +010018load mmc 0:${rauc_part} ${kernel_addr_r} /boot/zImage || reset
19bootz ${kernel_addr_r} - ${fdt_addr_r} || reset