Skip to content
This repository has been archived by the owner on Oct 13, 2022. It is now read-only.

U-boot on DIR-505 #60

Closed
FelixLeo opened this issue Apr 28, 2015 · 1 comment
Closed

U-boot on DIR-505 #60

FelixLeo opened this issue Apr 28, 2015 · 1 comment

Comments

@FelixLeo
Copy link

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

@pepe2k
Copy link
Owner

pepe2k commented Apr 28, 2015

Hello @FelixLeo,

Please, use last release: https://github.com/pepe2k/u-boot_mod/releases/tag/2014-11-19. There are ready OpenWrt BB images with U-Boot mod image and upgrade tool.

Cheers,
Piotr

@pepe2k pepe2k closed this as completed Apr 28, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants