Power & Source of Big Ideas

Minimal debian and vlan tagging support

Moderators: chensy, FATechsupport

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 :)
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)
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

Who is online

In total there are 12 users online :: 0 registered, 0 hidden and 12 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 12 guests