Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

Update ZyXEL 326 from 6.6.2 to 6.7.5, failed to boot (1 reply)

$
0
0
Hi! I tried as I used to do:
su -
cd /boot
mkdir ./backup/2024-03-30/
cp -a uImage uInitrd ./backup/2024-03-30/
cp -a initrd.img-6.6.2-mvebu-tld-1 backup/2024-03-30/
cp -a System.map-6.6.2-mvebu-tld-1 backup/2024-03-30/
cp -a vmlinuz-6.6.2-mvebu-tld-1 backup/2024-03-30/
cp -a config-6.6.2-mvebu-tld-1 backup/2024-03-30/
cp -ra dts/ backup/2024-03-30/dts
wget https://bit.ly/3SI4bRv
mv 3SI4bRv linux-6.7.5-mvebu-tld-1-bodhi.tar.bz2
tar -vxjf linux-6.7.5-mvebu-tld-1-bodhi.tar.bz2
tar -xf  linux-dtb-6.7.5-mvebu-tld-1.tar
apt-get remove flash-kernel 
dpkg -i linux-image-6.7.5-mvebu-tld-1_1_armhf.deb
cp -a zImage-6.7.5-mvebu-tld-1 zImage.fdt
cat dts/armada-380-zyxel-nas326.dtb >> zImage.fdt
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-6.7.5-mvebu-tld-1 -d zImage.fdt uImage
mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-6.7.5-mvebu-tld-1 -d initrd.img-6.7.5-mvebu-tld-1 uInitrd
sync 
sync
mount /dev/sdc1 /mnt/bootusb/
mkdir /mnt/bootusb/boot/backup/2024-03-30/
cp -a /mnt/bootusb/boot/uI* /mnt/bootusb/boot/backup/2024-03-30/
cp -a uImage uInitrd /mnt/bootusb/boot/
sync
sync
umount /mnt/bootusb
sync
shutdown -r now
It boots with a USB and continue with the rest on HD. But it never booted up. Wife want me out for dinner, so I did not have much time to check why. Then I read https://forum.doozan.com/read.php?2,32146 "Updated 16 Dec 2023: Rootfs Debian-6.6.2-mvebu-tld-1-rootfs-bodhi.tar.bz2 has been uploaded. ". Is this something I need to do? Can I just overwrite what the rootfs I have now to keep all other settings? Or is it something else, if you can see it in your crystal ball? ;-)

Viewing all articles
Browse latest Browse all 3247

Trending Articles