Dafang-Hacks / uboot

Other
23 stars 16 forks source link

after flashing boot-loader md5sum is still shows the old one #5

Open balance82 opened 5 years ago

balance82 commented 5 years ago

I followed the instructions flashed new u-boot bootloader everything seams to be fine - I have a blue light after reboot, but md5sum of the bootloader dosent changed in Status -> overview I even used your flash.sh script. Here is the output:


aab52eefe246dc1e15e56b253df3d64f  dafang_128mb_v2.bin
Erasing 32 Kibyte @ 40000 - 100% complete.
461+1 records in
461+1 records out
236172 bytes (230.6KB) copied, 0.419952 seconds, 549.2KB/s
2846e9e8fab8ee42c40738ae04c7f576  -```
xk4l23 commented 5 years ago

I experienced just the same, but I think, the md5sum displayed in the UI is calculated for /dev/mtd0 which is larger than the binary bootloader.

[root@dafang11:sdcard]# md5sum dafang_128mb_v2.bin 
aab52eefe246dc1e15e56b253df3d64f  dafang_128mb_v2.bin
[root@dafang11:sdcard]# dd if=/dev/mtd0 | md5sum
512+0 records in
512+0 records out
262144 bytes (256.0KB) copied, 0.077744 seconds, 3.2MB/s
2846e9e8fab8ee42c40738ae04c7f576  -