Raspberry Pi Zero improvements
While trying to install postmarketOS to my Raspberry Pi Zero W (v1.1), I discovered some issues:
device-raspberry-pipackage were created, it has been decided to not configure the ethernet and disable the
dhcpdon the initramfs mainly because someone would just connect his rpi to the ethernet with the cable.
The Raspberry Pi Zero W doesn't have an ethernet port (photo), so this makes it quite complicated (impossible?) to connect to the device from a fresh install, because wifi/bluetooth/serial/... are not configured.
After playing around with the raspberry boot config, dt overlays, cables, plunger clips, usb to serial adapter and changing postmarketOS inittab, I've managed to get access to the console
Only later I've discovered that is possible to configure the second micro usb port with the USB/ethernet gadget (tutorial for raspbian)
So my suggestion is to configure it as default for the Raspberry Pi Zero, what do you think?
- Create a specific
- Reuse the same package but prompt for
2 & 3separately? (like if it's a different kernel)
- deviceinfo will need
deviceinfo_disable_dhcpd="false", maybe works with devicepkg-dev and the multiple options based on selected kernel
- Add in the
/boot/config.txtfile to add the dt overlay
- Include the required modules in the initramfs (
- Configure network (probably already works with the code in initramfs's init_functions.sh script)