You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 13, 2022. It is now read-only.
Hi pepe2k,
I do have a D-link DIR-505 A1 device
and did hear about your project on another project based on openwrt
and they did create the following package to modify the u-boot on D-link 505 A1 http://ofmodemsandmen.com/download/uboot/dir505a1.zip
I did reach until the point where I did backup my u-boot via their openwrt image,
but got stuck on the point where the new u-boot is created as my original u-boot is only 64kb
and not 128kb, so if I overwrite it with the modified one it will theoretically overwrite all my custom settings if any present in the 64kb chunk.
root@OpenWrt:~# cat /proc/mtd
dev: size erasesize name
mtd0: 00010000 00010000 "u-boot"
mtd1: 00010000 00010000 "art"
mtd2: 00010000 00010000 "mac"
mtd3: 00010000 00010000 "nvram"
mtd4: 00040000 00010000 "language"
mtd5: 00780000 00010000 "firmware"
mtd6: 000f99aa 00010000 "kernel"
mtd7: 00686656 00010000 "rootfs"
mtd8: 00470000 00010000 "rootfs_data"
root@OpenWrt:/tmp# dd if=/dev/mtd0 of=/tmp/u-boot.bin
128+0 records in
128+0 records out
Just for testing purpose I did try to write my original backup to the md0 back to see if this step works
root@OpenWrt:/tmp# mtd write /tmp/u-boot.bin "u-boot"
Could not open mtd device: u-boot
Can't open device for writing!
Would it be possible for you to have a look and tell me what am I doing wrong?
Thanks a lot
The text was updated successfully, but these errors were encountered:
Hi pepe2k,
I do have a D-link DIR-505 A1 device
and did hear about your project on another project based on openwrt
and they did create the following package to modify the u-boot on D-link 505 A1
http://ofmodemsandmen.com/download/uboot/dir505a1.zip
I did reach until the point where I did backup my u-boot via their openwrt image,
but got stuck on the point where the new u-boot is created as my original u-boot is only 64kb
and not 128kb, so if I overwrite it with the modified one it will theoretically overwrite all my custom settings if any present in the 64kb chunk.
root@OpenWrt:~# cat /proc/mtd
dev: size erasesize name
mtd0: 00010000 00010000 "u-boot"
mtd1: 00010000 00010000 "art"
mtd2: 00010000 00010000 "mac"
mtd3: 00010000 00010000 "nvram"
mtd4: 00040000 00010000 "language"
mtd5: 00780000 00010000 "firmware"
mtd6: 000f99aa 00010000 "kernel"
mtd7: 00686656 00010000 "rootfs"
mtd8: 00470000 00010000 "rootfs_data"
root@OpenWrt:/tmp# dd if=/dev/mtd0 of=/tmp/u-boot.bin
128+0 records in
128+0 records out
Just for testing purpose I did try to write my original backup to the md0 back to see if this step works
root@OpenWrt:/tmp# mtd write /tmp/u-boot.bin "u-boot"
Could not open mtd device: u-boot
Can't open device for writing!
Would it be possible for you to have a look and tell me what am I doing wrong?
Thanks a lot
The text was updated successfully, but these errors were encountered: