Other Parts Discussed in Thread: UNIFLASH
Tool/software: Linux
Hello everybody ,
in my system we have a MMC soldered on the board . everything is working fine than I do a SW update ( hereunder all infos ) and in some cases ( about 1% of sw update ) system is no more capable to boot ( you see CCCC on the serial , so even MLO is not loaded properly ) . we found this issue since for quality heavy testing is done to be sure SW upgrade is bulletproof . when system is not working ( not booting ) , I booted using NFS and all files are there with proper MD5 checksum.
one extra info : If I change only uEnv.txt druing the update the system update will always work ( so not touching MLO and uboot.img system will always work) .
here is my partition table and my sequence:
P1 boot (MLO u-boot.img, uEnv.txt) FAT32 about 64MB
P2 RootFS1 ext4 about 256MB
P3 RootFS2 ext4 about 256MB
P4 Data ext4 3500mb
system is up and running on P2 , I do an update using a script like this :
1) copy a new MLO & u-boot.img, in P1
2) untar a tar.gz rootFS in P3
3) mark uEnv.txt to enable P3 as rootfs
4) reboot ( both HW or SW same results ) .
all the previous is working about 99% of the time ...
please any suggestion is welcome
thank you
regards
Carlo