Page 1 of 1

Minimal debian and vlan tagging support

Posted: Sat Aug 25, 2018 10:50 am
by sebt3
Hello there, 1st post :)

I want to build a minimal debian rootfs. I was expecting the rootfs to be an ext4 FS in a file, but it seems squashed. Would building a rootfs in a file then "img2simg" the file would work ? Or could I flash a non-squashed FS ?

Beside, I need vlan tagging support (8021q kernel module), where may I find the kernel source a build documentation (since the kernel seems to lack module support) and a way to install this new kernel ?

Thanks :)

Re: Minimal debian and vlan tagging support

Posted: Mon Aug 27, 2018 8:13 am
by sebt3
Since there's been 2 days between my question and its publication. I found the solution for both myself.

Building a kernel is part of the documentation wiki : http://wiki.friendlyarm.com/wiki/index. ... ntu_Kernel . It's easy enough as the end product is the kernel.img file to flash, I added 8021q support and flashed. vlan tagging works as expected.

To build your own rootfs, use the make_ext4fs (in the android-tools-fsutils debian package). The file doesnt even need to be squashed to be flashable. I used my script (https://github.com/sebt3/debian_images_maker) to build a rootfs matching my needs (warning the goal is to use the board as a server, there's no hardware acceleration included)

Re: Minimal debian and vlan tagging support

Posted: Mon Aug 27, 2018 3:52 pm
by igorp
sebt3 wrote:
Since there's been 2 days between my question and its publication. I found the solution for both myself.

Building a kernel is part of the documentation wiki : http://wiki.friendlyarm.com/wiki/index. ... ntu_Kernel . It's easy enough as the end product is the kernel.img file to flash, I added 8021q support and flashed. vlan tagging works as expected.

To build your own rootfs, use the make_ext4fs (in the android-tools-fsutils debian package). The file doesnt even need to be squashed to be flashable. I used my script (https://github.com/sebt3/debian_images_maker) to build a rootfs matching my needs (warning the goal is to use the board as a server, there's no hardware acceleration included)


Take a look at Armbian project:
https://github.com/armbian/build