2024.10 U-Boot Kirkwood - TBS MOI+ November 13, 2024 02:04PM |
Admin Registered: 14 years ago Posts: 19,231 |
sha256: bb1b7ad85d2282b48e4d8199bb9b882b135dc550670f4f338d34b237c305cf1b uboot.2024.10-tld-1.moi_plus.bodhi.tar
uboot.2024.10-tld-1.moi_plus.kwb uboot.2024.10-tld-1.moi_plus.environment uboot.2024.10-tld-1.moi_plus.environment.img
# MTD device name Device offset Env. size Flash sector size Number of sectors /dev/mtd0 0xc0000 0x20000 0x20000
echo "/dev/mtd0 0xc0000 0x20000 0x20000" > /etc/fw_env.config
dev: size erasesize name mtd0: 00100000 00020000 "uboot" . . .If your mtd0 is size 1MB or greater then it's OK.
nanddump --noecc --omitoob -l 0x80000 -f mtd0.moi_plus /dev/mtd0
fw_printenv > current_envs.txtFor most stock OS, there is no fw_printenv. So it's OK if this step fails. Howver, it's important to list the current envs (eg. in serial console) and copy them to a note file (current_envs.txt). This will be used in Step 7.
dmesg | grep -i 'bad' [ 2.413231] Scanning device for bad blocks [ 2.417731] Bad eraseblock 3 at 0x000000060000
cd /tmp tar xf uboot.2024.10-tld-1.moi_plus.bodhi.tar
flash_erase /dev/mtd0 0 4Expected output:
Erase Total 4 Units Performing Flash Erase of length 131072 at offset 0x60000 done
nandwrite /dev/mtd0 uboot.2024.10-tld-1.moi_plus.kwb
Writing data to block 0 at offset 0x0 Writing data to block 1 at offset 0x20000 Writing data to block 2 at offset 0x40000 Writing data to block 3 at offset 0x60000
flash_erase /dev/mtd0 0xc0000 1Expected output:
Erase Total 1 Units Performing Flash Erase of length 131072 at offset 0xc0000 done
nandwrite -s 786432 /dev/mtd0 /tmp/uboot.2024.10-tld-1.moi_plus.environment.imgExpected output:
Writing data to block 6 at offset 0xc0000
fw_setenv ethaddr 'xx:xx:xx:xx:xx:xx'For sanity check, list you envs again
fw_printenv
U-Boot 2024.10-tld-1 (Nov 11 2024 - . . .) TBS2903 MOI Plus DVB to IP Gateway Box
Re: 2024.10 U-Boot Kirkwood - TBS MOI+ December 14, 2024 11:18PM |
Registered: 12 years ago Posts: 28 |
Re: 2024.10 U-Boot Kirkwood - TBS MOI+ December 16, 2024 09:32AM |
Admin Registered: 14 years ago Posts: 19,231 |
Re: 2024.10 U-Boot Kirkwood - TBS MOI+ December 16, 2024 08:46PM |
Registered: 12 years ago Posts: 28 |