Goflex Home bricked after installing Uboot November 09, 2016 09:42PM |
Registered: 7 years ago Posts: 7 |
Re: Goflex Home bricked after installing Uboot November 10, 2016 01:29AM |
Admin Registered: 13 years ago Posts: 18,570 |
Quote
4. Create uImage with embedded DTB for booting with older u-boots (2012 or earlier). Skip this step if you have installed the latest U-Boot for Kirkwood (or are installing this u-boot at the same time).
Please replace kirkwood-goflexnet.dtb below with the correct DTB name for your box (see the folder /media/sdb1/boot/dts).
Generate the uImage with DTB embedded inside:
cd /media/sdb1/boot
cp -a zImage-4.4.0-kirkwood-tld-1 zImage.fdt
cat dts/kirkwood-goflexnet.dtb >> zImage.fdt
mv uImage uImage.orig
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-4.4.0-kirkwood-tld-1 -d zImage.fdt uImage
sync
ping debian.local
Re: Goflex Home bricked after installing Uboot November 10, 2016 02:08AM |
Registered: 7 years ago Posts: 7 |
Re: Goflex Home bricked after installing Uboot November 10, 2016 07:30AM |
Registered: 7 years ago Posts: 7 |
root@ouch-VirtualBox:/# umount /media/root/rootfs root@ouch-VirtualBox:/# mkfs.ext3 /dev/sdb1 mke2fs 1.42.13 (17-May-2015) /dev/sdb1 contains a ext3 file system labelled 'rootfs' last mounted on /media/root/rootfs on Thu Nov 10 20:43:01 2016 无论如何也要继续? (y,n) y Creating filesystem with 1966080 4k blocks and 492480 inodes Filesystem UUID: 367ce25f-21ac-48de-9c45-c46777b1dd62 Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632 Allocating group tables: 完成 正在写入inode表: 完成 Creating journal (32768 blocks): 完成 Writing superblocks and filesystem accounting information: 完成 root@ouch-VirtualBox:/# e2label /dev/sdb1 rootfs root@ouch-VirtualBox:/# cd /media/root/rootfs root@ouch-VirtualBox:/media/root/rootfs# tar -xjf Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2 root@ouch-VirtualBox:/media/root/rootfs# cd boot root@ouch-VirtualBox:/media/root/rootfs/boot# cp -a zImage-4.4.0-kirkwood-tld-1 zImage.fdt root@ouch-VirtualBox:/media/root/rootfs/boot# cat dts/kirkwood-goflexhome.dtb >> zImage.fdt root@ouch-VirtualBox:/media/root/rootfs/boot# mv uImage uImage.orig root@ouch-VirtualBox:/media/root/rootfs/boot# mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-4.4.0-kirkwood-tld-1 -d zImage.fdt uImage Image Name: Linux-4.4.0-kirkwood-tld-1 Created: Thu Nov 10 21:19:08 2016 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3165437 Bytes = 3091.25 kB = 3.02 MB Load Address: 00008000 Entry Point: 00008000 root@ouch-VirtualBox:/media/root/rootfs/boot# sync
Re: Goflex Home bricked after installing Uboot November 10, 2016 01:19PM |
Admin Registered: 13 years ago Posts: 18,570 |
Re: Goflex Home bricked after installing Uboot November 13, 2016 08:15PM |
Registered: 7 years ago Posts: 7 |
Re: Goflex Home bricked after installing Uboot November 13, 2016 09:07PM |
Admin Registered: 13 years ago Posts: 18,570 |
Re: Goflex Home bricked after installing Uboot November 13, 2016 09:41PM |
Registered: 7 years ago Posts: 7 |
Re: Goflex Home bricked after installing Uboot November 14, 2016 12:07AM |
Registered: 7 years ago Posts: 310 |
Re: Goflex Home bricked after installing Uboot November 14, 2016 01:08AM |
Registered: 7 years ago Posts: 7 |
Re: Goflex Home bricked after installing Uboot November 14, 2016 07:07AM |
Registered: 7 years ago Posts: 310 |
Re: Goflex Home bricked after installing Uboot November 14, 2016 07:32PM |
Registered: 7 years ago Posts: 7 |