Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

Update uboot from 2016.05 (no replies)

$
0
0
A list of only 6 checked items, that is what I need to do:

☐ Check /etc/fw_env.config and /proc/mtd
☐ Set ethaddr
☑ Dump NAND mtd0 and Save envs
☑ No bad block
────────────
☑ Extract the archive
☑ Erase mtd0
☑ Write image to NAND
────────────
☐ Flashing default u-boot envs image
────────────
☑ Double check uBoot envs 
☐ Set up netconsole

I think I can skip the task of flashing default envs image, below is a diff of my current envs and the uboot.2016.05-tld-1.environment
1d0
< arcNumber=2097
11d9
< ethaddr=52:3b:20:9c:11:51
13d10
< ipaddr=192.168.0.231
17d13
< dtb_file=/boot/dts/kirkwood-pogo_e02.dtb
24d19
< machid=0x831
27d21
< mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
29d22
< preboot_nc=run if_netconsole start_netconsole
31d23
< serverip=192.168.0.220
43a36,44
> arcNumber=3960
> machid=f78
> mtdparts=mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)
> ethaddr=**:**:**:**:**:**
> dtb_file=/boot/dts/kirkwood-pogoplug_v4.dtb
> preboot_nc=setenv nc_ready 0; for pingstat in 1 2 3 4 5; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then run start_netconsole; fi
> preboot=run preboot_nc
> ipaddr=172.16.16.117
> serverip=172.16.16.118

Viewing all articles
Browse latest Browse all 3247

Trending Articles