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

Debian on Zyxel NSA310 - another example (13 replies)

$
0
0
vcheche,

Thank you for answer, indeed 4.4 exist, I've just quick follow up, I was able to generate uInitrd like this:
in /mnt/sdh2 I've extracted
Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2
and did chroot:
apt-get install qemu-user-static
cp /usr/bin/qemu-arm-static /mnt/sdh2/usr/bin/
chroot /mnt/sdh2/ qemu-arm-static /bin/bash
Qemu-arm-static is needed to do chroot for diffrent architecture.
Then I've extracted to /mnt/sdh2/boot:
linux-4.4.0-kirkwood-tld-1-bodhi.tar.bz2
Then I've installed two debs from tar:
linux-headers-4.4.0-kirkwood-tld-1_1.0_armel.deb 
linux-image-4.4.0-kirkwood-tld-1_1.0_armel.deb
This operation generated initramfs. Then I've converted uImage and uInitrd. I've modified uboot to support systemd.
Debian booted successfully, but this kernel:
- NSA310 lacks support of LEDs, there's no: /sys/class/leds/nsa310
- fw_printenv is broken, lack of partitions in /proc/mtd, no info in dmsg.
- power button is not working, there's no: `gpio-keys as /devices/platform/gpio-keys/input/input0`
- WOL works.
- device start/reboots without any noise in boot/shutdown logs.

Does this kernel miss something? Is it not compiled or not patched?

-----
Moderator edit: these questions are more general so made it its own topic.

Viewing all articles
Browse latest Browse all 3178

Trending Articles