Any plan for basic mainline linux support?

gneville
Posts: 12
Joined: Sun Jun 09, 2019 5:24 am
languages_spoken: english
ODROIDs: n2
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Any plan for basic mainline linux support?

Unread post by gneville » Fri Jun 14, 2019 10:35 pm

miskol wrote:
Fri Jun 14, 2019 4:06 pm
gneville wrote:
Fri Jun 14, 2019 2:26 pm
So I built from miskol's Armbian fork but it resulted in the device not being able to boot, nothing appeared on the screen via HDMI.

Code: Select all

git clone https://github.com/xlazom00/build.git -b odroidn2-linux-5-13
git branch
./compile.sh
sudo BETA=yes EXPERT=yes ./compile.sh
Which gave me:

Code: Select all

Armbian_5.88.190614_Odroidn2_Ubuntu_bionic_dev_5.1.0.img
sudo BETA=yes EXPERT=yes BOARD=odroidn2 BRANCH=dev RELEASE=bionic BUILD_DESKTOP=no KERNEL_ONLY=no KERNEL_CONFIGURE=no ./compile.sh
booting fine
you should build development kernel
https://github.com/xlazom00/build/blob/ ... 2.conf#L32

That's pretty much what the summary out showed my build options were for doing a repeat build. I ran ./compile and I wanted to change the kernel config as I needed some modules for kubernetes. If I wanted to run your CLI command which .config file should I edit to manually add the modules I want to build first (ie. What's the location of the .config file that the script uses to build from for an odroid n2?) It looks like it's https://github.com/xlazom00/build/blob/ ... dev.config

Thanks

gneville
Posts: 12
Joined: Sun Jun 09, 2019 5:24 am
languages_spoken: english
ODROIDs: n2
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Any plan for basic mainline linux support?

Unread post by gneville » Sat Jun 15, 2019 5:26 am

Still can't get miskol armbian build to boot. Did a complete fresh rebuild changing no setting what so ever and then burn the image using Etcher.

Code: Select all

sudo rm -rf build/
git clone https://github.com/xlazom00/build.git -b odroidn2-linux-5-13
cd build
sudo BETA=yes EXPERT=yes BOARD=odroidn2 BRANCH=dev RELEASE=bionic BUILD_DESKTOP=no KERNEL_ONLY=no KERNEL_CONFIGURE=no ./compile.sh


[ o.k. ] Writing U-boot bootloader [ /dev/loop2 ]
[ o.k. ] Done building [ /home/gneville/build/output/images/Armbian_5.88.190615_Odroidn2_Ubuntu_bionic_dev_5.1.0.img ]
[ o.k. ] Runtime [ 29 min ]
[ o.k. ] Repeat Build Options [ BOARD=odroidn2 BRANCH=dev RELEASE=bionic BUILD_DESKTOP=no KERNEL_ONLY=no KERNEL_CONFIGURE=no ]

I even tried another build using elatllat's .config file he posted overwriting config/kernel/linux-odroidn2-dev.config

Code: Select all

cat > config/kernel/linux-odroidn2-dev.config
git add -A
git commit -m 'update odroid .config'
sudo BETA=yes EXPERT=yes BOARD=odroidn2 BRANCH=dev RELEASE=bionic BUILD_DESKTOP=no KERNEL_ONLY=no KERNEL_CONFIGURE=no ./compile.sh

miskol
Posts: 219
Joined: Wed Jan 15, 2014 2:58 am
languages_spoken: english,slovak
Has thanked: 0
Been thanked: 5 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by miskol » Sat Jun 15, 2019 5:39 am

gneville wrote:
Sat Jun 15, 2019 5:26 am
Still can't get miskol armbian build to boot. Did a complete fresh rebuild changing no setting what so ever and then burn the image using Etcher.

Code: Select all

sudo rm -rf build/
git clone https://github.com/xlazom00/build.git -b odroidn2-linux-5-13
cd build
sudo BETA=yes EXPERT=yes BOARD=odroidn2 BRANCH=dev RELEASE=bionic BUILD_DESKTOP=no KERNEL_ONLY=no KERNEL_CONFIGURE=no ./compile.sh


[ o.k. ] Writing U-boot bootloader [ /dev/loop2 ]
[ o.k. ] Done building [ /home/gneville/build/output/images/Armbian_5.88.190615_Odroidn2_Ubuntu_bionic_dev_5.1.0.img ]
[ o.k. ] Runtime [ 29 min ]
[ o.k. ] Repeat Build Options [ BOARD=odroidn2 BRANCH=dev RELEASE=bionic BUILD_DESKTOP=no KERNEL_ONLY=no KERNEL_CONFIGURE=no ]

I even tried another build using elatllat's .config file he posted overwriting config/kernel/linux-odroidn2-dev.config

Code: Select all

cat > config/kernel/linux-odroidn2-dev.config
git add -A
git commit -m 'update odroid .config'
sudo BETA=yes EXPERT=yes BOARD=odroidn2 BRANCH=dev RELEASE=bionic BUILD_DESKTOP=no KERNEL_ONLY=no KERNEL_CONFIGURE=no ./compile.sh
ouuuu
sorry I got it :)
git clone https://github.com/xlazom00/build.git -b odroidn2-linux-5-13
cd build
git checkout odroidn2-linux-5-13
touch .ignore_changes # this is important!!!
sudo BETA=yes EXPERT=yes BOARD=odroidn2 BRANCH=dev RELEASE=bionic BUILD_DESKTOP=no KERNEL_ONLY=no KERNEL_CONFIGURE=no ./compile.sh



armbian will switch to git master :)
but when you create file .ignore_changes, it will ignore all changes/branches
soooooooorrrrrrrryyyyy :)

gneville
Posts: 12
Joined: Sun Jun 09, 2019 5:24 am
languages_spoken: english
ODROIDs: n2
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Any plan for basic mainline linux support?

Unread post by gneville » Sat Jun 15, 2019 7:31 am

Thanks miskol, Creating the .ignore_changes file now produces an image name of Armbian_5.88.190615_Odroidn2_Ubuntu_bionic_dev_5.2.0-rc2.img

This now successfully boots! However I've still got the same network issues as before where the NIC isn't picking up a DHCP address. It still doesn't work with a static IP.

Build steps:

Code: Select all

git clone https://github.com/xlazom00/build.git -b odroidn2-linux-5-13
cd build
git branch
touch .ignore_changes
git checkout odroidn2-linux-5-13
sudo BETA=yes EXPERT=yes BOARD=odroidn2 BRANCH=dev RELEASE=bionic BUILD_DESKTOP=no KERNEL_ONLY=no KERNEL_CONFIGURE=no ./compile.sh
Select "Full OS image for flashing"
Select "Show a kernel configuration menu before compilation"

Set the following options for kubernetes:

Code: Select all

General Setup > Control Group Support > PIDs controller - Should have a star already
Networking support > Networking Options > Network packet filtering framework (Netfilter) > IP set support - Set to star 
Networking support > Networking Options > Network packet filtering framework (Netfilter) > Core Netfilter Configuration > Netfilter Xtables support (required for ip_tables) - set to star
Networking support > Networking Options > Network packet filtering framework (Netfilter) > Core Netfilter Configuration > set target and match support - Set to star
Save as .config and exit

miskol
Posts: 219
Joined: Wed Jan 15, 2014 2:58 am
languages_spoken: english,slovak
Has thanked: 0
Been thanked: 5 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by miskol » Sat Jun 15, 2019 9:02 pm

gneville wrote:
Sat Jun 15, 2019 7:31 am
Thanks miskol, Creating the .ignore_changes file now produces an image name of Armbian_5.88.190615_Odroidn2_Ubuntu_bionic_dev_5.2.0-rc2.img

This now successfully boots! However I've still got the same network issues as before where the NIC isn't picking up a DHCP address. It still doesn't work with a static IP.
I don't have any problem with NIC
but I didn't change anything in kernel config. kernel config is same as for Ondroid C2 with N2 hw enabled

gneville
Posts: 12
Joined: Sun Jun 09, 2019 5:24 am
languages_spoken: english
ODROIDs: n2
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Any plan for basic mainline linux support?

Unread post by gneville » Sat Jun 15, 2019 10:39 pm

I did try a build with no modifications but still networking doesn't work. :(

Post Reply

Return to “General Topics”

Who is online

Users browsing this forum: No registered users and 0 guests