Armbian for Odroid N2

igorpec
Posts: 705
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 35 times
Been thanked: 99 times
Contact:

Re: Armbian for Odroid N2

Post by igorpec »

- added minimal image (≈ 500Mb) Debian Buster image.
- tested AC wireless +BT drivers for RTL 88x2BU
- added direct download mirrors (scroll down)

https://www.armbian.com/odroid-n2/
These users thanked the author igorpec for the post (total 4):
CI6N0Z (Thu Aug 22, 2019 6:01 pm) • elatllat (Fri Aug 23, 2019 10:34 am) • pask876 (Mon Aug 26, 2019 5:50 pm) • Moan (Mon Aug 26, 2019 11:48 pm)
ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

pask876
Posts: 6
Joined: Thu Jun 06, 2019 4:37 am
languages_spoken: english, italiano
ODROIDs: N2
Has thanked: 6 times
Been thanked: 0
Contact:

Re: Armbian for Odroid N2

Post by pask876 »

I have been using armbian buster image for almost a week: it's working well, although I see some errors in the dmesg in particular relating to zram0. For example:

Code: Select all

  EXT4-fs warning (device zram0): ext4_dirent_csum_verify:353: inode #11: comm find: No space for directory leaf checksum. Please run e2fsck -D.
[44771.938370] EXT4-fs error (device zram0): ext4_readdir:196: inode #11: comm find: path /var/log/lost+found: directory fails checksum at offset 4096 

system version is:

Code: Select all

pask@droid:~$  uname -a
Linux droid 4.9.185-odroidn2 #41 SMP PREEMPT Sat Jul 20 14:09:25 CEST 2019 aarch64 GNU/Linux

igorpec
Posts: 705
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 35 times
Been thanked: 99 times
Contact:

Re: Armbian for Odroid N2

Post by igorpec »

> although I see some errors in the dmesg in particular relating to zram0

On some older kernels zram had troubles but I think this error is safe to ignore. Worst case disable zram enhancement in /etc/defaults/armbian-zram
These users thanked the author igorpec for the post:
pask876 (Wed Aug 28, 2019 3:06 pm)
ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

Moan
Posts: 62
Joined: Fri Feb 01, 2019 11:51 pm
languages_spoken: english
ODROIDs: N2, XU4
Has thanked: 6 times
Been thanked: 0
Contact:

Re: Armbian for Odroid N2

Post by Moan »

Hi. Does file "boot.ini" gets updated with armbian updates?

I'm asking because my /boot/boot.ini file doesn't have changes from:
viewtopic.php?p=264047#p264047
usb-xhci.tablesize=2
An I looking at the right file? Should I put this change manually?

I'm keep experiencing USB3.0 Hard Drive errors during rsync jobs :/ Pretty annoying as this device was supposed to be my NAS replacement.

igorpec
Posts: 705
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 35 times
Been thanked: 99 times
Contact:

Re: Armbian for Odroid N2

Post by igorpec »

> Hi. Does file "boot.ini" gets updated with armbian updates?

By default no. We can force updating but package has to be build with a special option.

We keep a copy of ini here:

https://github.com/armbian/build/blob/m ... oid-n2.ini (add this value right now)

> An I looking at the right file? Should I put this change manually?

Yes, just change /boot/boot.ini and reboot. Don't know if we have to adjust default IRQs as well ... ?
ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

Moan
Posts: 62
Joined: Fri Feb 01, 2019 11:51 pm
languages_spoken: english
ODROIDs: N2, XU4
Has thanked: 6 times
Been thanked: 0
Contact:

Re: Armbian for Odroid N2

Post by Moan »

Thank you for your detailed answers, igorpec.

I posted about this issue in a separated topic, and @elatllat proposed to try switching to kernel 5.3 using the following method:
viewtopic.php?p=267058#p267058

Code: Select all

#install the best archive tool
apt install -y p7zip-full

# backup
mkdir -p ~/backup/boot
mv /media/boot/* ~/backup/boot/

# switch
7z x ~/boot.7z -o/media/boot/
7z x ~/modules.7z -o/lib/modules/

# if using a sdcard
#perl -pi -e 's/blk0/blk01/g' /media/boot/boot.ini

# apply 
sync
shutdown -r now
I have some questions you might know answers to:
1. If I decide to try it (of course after full backup of the OS image), should I replace "/media/boot/boot.ini" to "/boot/boot.ini" for compatibility with armbian?
2. Do you think it would boot fine after switching to 5.3 kernel, or are you maybe aware of some issues reported?
3. Would "apt upgrade" switch back to kernel 4.19 if I had 5.3 working?

igorpec
Posts: 705
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 35 times
Been thanked: 99 times
Contact:

Re: Armbian for Odroid N2

Post by igorpec »

1. If I decide to try it (of course after full backup of the OS image), should I replace "/media/boot/boot.ini" to "/boot/boot.ini" for compatibility with armbian?
2. Do you think it would boot fine after switching to 5.3 kernel, or are you maybe aware of some issues reported?
3. Would "apt upgrade" switch back to kernel 4.19 if I had 5.3 working?
1. I don't know.
2. No warranty. It might, but it also might fully break. 5.3.y is not near end usage.
3. No.

Once development kernel landed to Armbian (not yet at this point - I tried once but it didn't work), then at least switching is on the end-user level - from a menu. But if your new testing kernel doesn't boot, you are on your own to get it back to live.
These users thanked the author igorpec for the post:
Moan (Wed Sep 04, 2019 4:46 am)
ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

Moan
Posts: 62
Joined: Fri Feb 01, 2019 11:51 pm
languages_spoken: english
ODROIDs: N2, XU4
Has thanked: 6 times
Been thanked: 0
Contact:

Re: Armbian for Odroid N2

Post by Moan »

Hello.
I'd like to ask if a kernel with USB fixes for Odroid N2 is already available in the Nightly Armbian build?
It's supposed to be: 4.9.190-62
For me it shows:
root@odroidn2:~# uname -a
Linux odroidn2 4.9.190-odroidn2 #10 SMP PREEMPT Mon Sep 9 02:25:29 CEST 2019 aarch64 GNU/Linux
I'm asking, because Odroid also updated boot.ini again (removing usb-xhci.tablesize=2), but it seems to not be updated in https://github.com/armbian/build/blob/m ... oid-n2.ini yet. That's why I'm also not sure about the kernel, however the build date suggest it would already have fixes included.

Greetings.

gandalf33
Posts: 4
Joined: Wed Oct 23, 2019 6:42 pm
languages_spoken: english
ODROIDs: N2-2GB
Has thanked: 0
Been thanked: 0
Contact:

Re: Armbian for Odroid N2

Post by gandalf33 »

tobetter wrote:
Wed Jul 17, 2019 2:18 am
ralph_DE wrote:
Wed Jul 17, 2019 1:28 am
Hi,
I installed the Armbian OS on my N2 and can boot from SD. Then I used armbian-config to copy bootloader and system to an EMMC. But it does not boot from the EMMC with the SD removed. The copy/update the bootloader command does not help either.
Is it possible to flash the OS image directly to the EMMC and will it boot then?
What can I do?

Ralph
You can download the Armbian OS image *.img to your SD card, boot from uSD as Armbian installed and eMMC memory card is attached.
From the command line, this command will flash the OS image to your eMMC.

Code: Select all

$ sudo dd if=<Armbian/OS/image/file/in/uSD> of=/dev/mmclbk0 conv=fsync
$ sync
Once everything is done, you can remove uSD and try to boot from eMMC.

If this way does not work, Petitboot also can help you to boot from eMMC no matter eMMC has the bootloader or not.
viewtopic.php?f=182&t=33873#p260670
I'm trying that, buut I'm having an issue. If I boot with only armbian SDcard, I have access to armbian, but if I plug the eMMC after boot, I do not seem to get it, /dev/mmclbk0 is not there
If I put both, then it boots automaticaly on eMMC, I can see both, but is "sudo dd if=<Armbian/OS/image/file/in/uSD> of=/dev/mmclbk0 conv=fsync" supposed to be lauched from running ubuintu ?

Just to give some background, my goal is to boot the eMMC in Armbian, because my home automation only runs on debian, and also does lots of disk io, and is notorious to kill sdcard prematurely

User avatar
tobetter
Posts: 5897
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 250 times
Been thanked: 724 times
Contact:

Re: Armbian for Odroid N2

Post by tobetter »

gandalf33 wrote:
Wed Oct 23, 2019 6:50 pm
tobetter wrote:
Wed Jul 17, 2019 2:18 am
ralph_DE wrote:
Wed Jul 17, 2019 1:28 am
Hi,
I installed the Armbian OS on my N2 and can boot from SD. Then I used armbian-config to copy bootloader and system to an EMMC. But it does not boot from the EMMC with the SD removed. The copy/update the bootloader command does not help either.
Is it possible to flash the OS image directly to the EMMC and will it boot then?
What can I do?

Ralph
You can download the Armbian OS image *.img to your SD card, boot from uSD as Armbian installed and eMMC memory card is attached.
From the command line, this command will flash the OS image to your eMMC.

Code: Select all

$ sudo dd if=<Armbian/OS/image/file/in/uSD> of=/dev/mmclbk0 conv=fsync
$ sync
Once everything is done, you can remove uSD and try to boot from eMMC.

If this way does not work, Petitboot also can help you to boot from eMMC no matter eMMC has the bootloader or not.
viewtopic.php?f=182&t=33873#p260670
I'm trying that, buut I'm having an issue. If I boot with only armbian SDcard, I have access to armbian, but if I plug the eMMC after boot, I do not seem to get it, /dev/mmclbk0 is not there
If I put both, then it boots automaticaly on eMMC, I can see both, but is "sudo dd if=<Armbian/OS/image/file/in/uSD> of=/dev/mmclbk0 conv=fsync" supposed to be lauched from running ubuintu ?
You should not attach eMMC after power on. Two reasons, 1) your eMMC or N2 can be damaged and 2) eMMC is not removable so it won't be detected. For the command 'dd' to flash the image, you should run Ubuntu or other Linux distro.
In order to prevent the boot from eMMC for your case, 1) using Petitboot but you would not need it once Armbian is installed and 2) you can try to run dd if=/dev/zero of=/dev/mmcblk0 bs=1M count=1. This will remove the bootloader from eMMC so next N2 will fetch the bootloader from uSD and you can flash an image to eMMC.

gandalf33
Posts: 4
Joined: Wed Oct 23, 2019 6:42 pm
languages_spoken: english
ODROIDs: N2-2GB
Has thanked: 0
Been thanked: 0
Contact:

Re: Armbian for Odroid N2

Post by gandalf33 »

Ooops with everything been hotplug these days, I wrongly assumed eMMC would too. Fortunatly, it seems ok;. Use you 2) trick to wipe bootloader from eMMC and yes, I was able to boot on sdCard with boot installed !

Gettingt ready to flash eMMC ! Will update (hopefully shortly !)

gandalf33
Posts: 4
Joined: Wed Oct 23, 2019 6:42 pm
languages_spoken: english
ODROIDs: N2-2GB
Has thanked: 0
Been thanked: 0
Contact:

Re: Armbian for Odroid N2

Post by gandalf33 »

I can now boot with both sd and emmc from sdard, that worked.

- tried sudo dd if=<Armbian/OS/image/file/in/uSD> of=/dev/mmclbk0 conv=fsync, that commands work rebooting however screen stays blank

- tried nand-sata-install, I can get it do install stuff on eMMC, but I get erros been displayed. The first ones happen too fast, but a second wave I have been able to capture :

sed: can't read /mnt/nand-sata-install.lf4BQP/bootfs/boot/boot.com: no such file and directory
Error while creating U-Boot loader image with mkimage

gandalf33
Posts: 4
Joined: Wed Oct 23, 2019 6:42 pm
languages_spoken: english
ODROIDs: N2-2GB
Has thanked: 0
Been thanked: 0
Contact:

Re: Armbian for Odroid N2

Post by gandalf33 »

Go myself an USB - eMMC adapter, flashed the image onto eMMC, workiing absolutely great !

elatllat
Posts: 1791
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1, N2, C4, N2+
Has thanked: 50 times
Been thanked: 115 times
Contact:

Re: Armbian for Odroid N2

Post by elatllat »

tobetter wrote:
Wed Oct 23, 2019 7:22 pm
...You should not attach eMMC after power on. ...
Sometimes I boot from sdcard, and plug in the eMMC during uboot before the kernel so I can use both when my adapter is missing :lol: reckless.

grapenose
Posts: 17
Joined: Mon Sep 23, 2019 8:54 am
languages_spoken: english
ODROIDs: N2
Has thanked: 2 times
Been thanked: 0
Contact:

Re: Armbian for Odroid N2

Post by grapenose »

sensei73 wrote:
Wed Aug 07, 2019 4:07 am
It will be awesome if Kodi was available for Armbian n2!!!
+1

NOBL
Posts: 1
Joined: Thu Oct 31, 2019 11:42 pm
languages_spoken: english
ODROIDs: N2 (was a mistake)
Has thanked: 0
Been thanked: 0
Contact:

Re: Armbian for Odroid N2 (does not boot from SD)

Post by NOBL »

Hi

I can't get the N2 to boot with anything from the SD card.
Neither Armbian Buster default nor Armbian Buster minimal nor Armbian Stretch nor ArchLinux for Odroid N2.
It simply won't boot. The red light is continuously on and that's it.
The only OS that works is the Ubuntu 18.04 Mate edition on eMMC which came from ameridroid.
In that case the blue LED is blinking indicating an OS was booted and runs.

I am about to send this to the bin or back to them because it does not boot from SD card, at all.
Booting SPI (PetitBoot) works fine and the output is on the TV screen but I can't change any
of the settings, at all. The version seems to be from April 2019 (20190416 or so).

Yes, I flashed the SD card with etcher and the validation was OK.

It is hard to get an eMMC in Switzerland except if you want several hundreds of those chips at once.
I got an eMMC writer but don't want to overwrite the Ubuntu Mate OS.
That is the only idea I have left in my brain.
I don't have a UART or serial console bought or connected.

Perhaps somebody has more and other ideas than me, please share those!
Thank you

User avatar
tobetter
Posts: 5897
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 250 times
Been thanked: 724 times
Contact:

Re: Armbian for Odroid N2 (does not boot from SD)

Post by tobetter »

NOBL wrote:
Thu Oct 31, 2019 11:52 pm
Hi

I can't get the N2 to boot with anything from the SD card.
Neither Armbian Buster default nor Armbian Buster minimal nor Armbian Stretch nor ArchLinux for Odroid N2.
It simply won't boot. The red light is continuously on and that's it.
The only OS that works is the Ubuntu 18.04 Mate edition on eMMC which came from ameridroid.
In that case the blue LED is blinking indicating an OS was booted and runs.

I am about to send this to the bin or back to them because it does not boot from SD card, at all.
Booting SPI (PetitBoot) works fine and the output is on the TV screen but I can't change any
of the settings, at all. The version seems to be from April 2019 (20190416 or so).

Yes, I flashed the SD card with etcher and the validation was OK.

It is hard to get an eMMC in Switzerland except if you want several hundreds of those chips at once.
I got an eMMC writer but don't want to overwrite the Ubuntu Mate OS.
That is the only idea I have left in my brain.
I don't have a UART or serial console bought or connected.

Perhaps somebody has more and other ideas than me, please share those!
Thank you
What's the vendor/model of your SD card?

If your ODROID-N2 does not have a hardware issue for SD card slot, you would be able to run and see if you have /dev/mmcblk1* in the shell of Petitboot.

Code: Select all

# ls -l /dev/mmcblk0*
If you have Petitboot (20190416), you can try the latest version 20191020-rc1.
viewtopic.php?f=182&t=33873&hilit=petit ... 50#p270894

congo
Posts: 14
Joined: Fri Oct 11, 2019 5:04 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: Armbian for Odroid N2

Post by congo »

Maybe "stupid" info to repeat but please keep in mind one thing as written in https://wiki.odroid.com/odroid-n2/softw ... t_sequence

The boot selector switch on ODROID-N2 which can select the boot media between SPI flash memory and eMMC/SD card is only affected on power cycle

So changing from SPI to eMMC/SD you have to take power cord out and in N2.

Congo

ResdexR6
Posts: 15
Joined: Thu Oct 24, 2019 4:27 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Armbian for Odroid N2

Post by ResdexR6 »

Hi,
I am currently running mevericks Debian Buster on my N2.
I was wondering, if switching to Armbian Buster would give me any benefits in performance.
The N2 is used for nextcloud.
Does somebody have advice for me?

bumbum
Posts: 6
Joined: Wed Jan 09, 2019 6:41 pm
languages_spoken: English,Samoan,Norsk
ODROIDs: Odroid XU4
Odroid N2
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Armbian for Odroid N2

Post by bumbum »

I have found the Armbian version to be more stable then any other os (including the HK's stock image) ive used on my N2 (to date)
Ive run it at 100% (overclocked to 1.992 GHz ) or almost 48 hours now and it has no tripped, stalled or crashed and its remained stable at 40C under full load as the server cabinet is exposed to the Norwegian cold for cooling :-)
Furthermore i highly recommend using Monitorix to keep track of ur device its good if u use it as a headless server as i do xP

big thumbs up to the Armbian crew :-D
These users thanked the author bumbum for the post:
igorpec (Fri Nov 01, 2019 8:18 pm)

ResdexR6
Posts: 15
Joined: Thu Oct 24, 2019 4:27 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Armbian for Odroid N2

Post by ResdexR6 »

I am running the armbian buster headless image.
I have connected 2 SSDs via USB adapter but they are not recognized.
Any advice would be great.

igorpec
Posts: 705
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 35 times
Been thanked: 99 times
Contact:

Re: Armbian for Odroid N2

Post by igorpec »

ResdexR6 wrote:
Mon Nov 04, 2019 3:13 am
I am running the armbian buster headless image.
I have connected 2 SSDs via USB adapter but they are not recognized.
Any advice would be great.
If this is not a power problem (power disks separately), then proceed here.

viewtopic.php?f=181&t=36681

This problem is shared:
ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

ResdexR6
Posts: 15
Joined: Thu Oct 24, 2019 4:27 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Armbian for Odroid N2

Post by ResdexR6 »

Thanks for the fast reply,
It works now. It was User-Error sorry...
If I try to install via Armbian-Config -> Software -> Softy ,
It says loading install cloud and returns to the Softy menu.
e.g. NextcloudPi, PiHole.
Do I have to install the complete firmware package before I can install them?

igorpec
Posts: 705
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 35 times
Been thanked: 99 times
Contact:

Re: Armbian for Odroid N2

Post by igorpec »

ResdexR6 wrote:
Tue Nov 05, 2019 6:59 am
Thanks for the fast reply,
It works now. It was User-Error sorry...
If I try to install via Armbian-Config -> Software -> Softy ,
It says loading install cloud and returns to the Softy menu.
e.g. NextcloudPi, PiHole.
Do I have to install the complete firmware package before I can install them?
We use official installer in both cases
https://github.com/armbian/config/blob/ ... #L538-L544
https://github.com/armbian/config/blob/ ... ware#L1825

Perhaps you have some unfinished installation, try running

apt -f install before
ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

Moan
Posts: 62
Joined: Fri Feb 01, 2019 11:51 pm
languages_spoken: english
ODROIDs: N2, XU4
Has thanked: 6 times
Been thanked: 0
Contact:

Re: Armbian for Odroid N2

Post by Moan »

@igorpec, are there any news regarding OMV5 BETA on Armbian Buster? I remember it fails to install after some OMV update, but no news about it for the past 2 months :(

EDIT:
Yay! It worked following the tutorial from: https://forum.openmediavault.org/index. ... ted-SBC-s/

I don't know why it failed by armbian-config, but now I have it all running.

ResdexR6
Posts: 15
Joined: Thu Oct 24, 2019 4:27 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Armbian for Odroid N2

Post by ResdexR6 »

igorpec wrote:
Tue Nov 05, 2019 7:41 am
We use official installer in both cases
https://github.com/armbian/config/blob/ ... #L538-L544
https://github.com/armbian/config/blob/ ... ware#L1825

Perhaps you have some unfinished installation, try running

apt -f install before
After I ran apt -f install before I got something like couldn´t resolve last installation.

I installed NCP via the curl installer and everything worked.

Maybe if somebody has time to look at this buster-image, he can investigate the armbian-config menu.
I also can not change the keyboard layout and locale via armbian-config.
Not a big problem and all other features I tested, except software installation via Softy, worked.
I did not find the right place for bug reports on the armbian-forum.
Runs great so far. Thanks

igorpec
Posts: 705
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 35 times
Been thanked: 99 times
Contact:

Re: Armbian for Odroid N2

Post by igorpec »

> I did not find the right place for bug reports on the armbian-forum.

Just write down the exacts steps that lead you to this problem.
ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

ResdexR6
Posts: 15
Joined: Thu Oct 24, 2019 4:27 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Armbian for Odroid N2

Post by ResdexR6 »

After a new clean flash, I can reproduce only this:
sudo armbian-config -> personal -> change keyboard layout stays at us.

At the moment I have a problem with my 2 SSD I am trying to run as a btrfs raid 1.
I can format sda1 as ext4 or btrfs single. Then I edit /etc/fstab and after reboot it is mounted.
Same works with sdb1.
When I do the following:
mkfs.btrfs -d raid1 -m raid1 /dev/sda1 /dev/sdb1

Formatting works and I can get details about it when running btrfs filesystem show.
I can mount /dev/sda1.
But when I edit /etc/fstab and reboot. (With the UUID I get from blkid)
I can´t ssh and the odroid is not shown in my network with arp-scan -l.
I guess it is stuck at boot process.
I have to manually edit the sd card on my laptop to clean the /etc/fstab.
Unplug the 2 SSD and boot.
Then sfdisk --delete both devices.

I also noticed, that when I try to umount dev/sda1 (which is btrfs array1)
I get Kernel Errors:
e.g:
Message from syslogd@localhost at Nov 10 02:08:50 ...
kernel:[ 99.336849@1] Internal error: Oops: 96000005 [#1] PREEMPT SMP

Message from syslogd@localhost at Nov 10 02:08:50 ...
kernel:[ 99.872134@1] Process btrfs-transacti (pid: 2259, stack limit = 0xffffffc0c760c000)

Message from syslogd@localhost at Nov 10 02:08:50 ...
kernel:[ 99.877113@1] Stack: (0xffffffc0c760f530 to 0xffffffc0c7610000)

Message from syslogd@localhost at Nov 10 02:08:50 ...
kernel:[ 99.883006@1] f520: ffffffc0c760f600 ffffff80091cc818

Message from syslogd@localhost at Nov 10 02:08:50 ...
kernel:[ 99.890979@1] f540: ffffffc0ba222180 0000000000000000 ffffffc0c9691008 0000000000000000

Should I give up and try to make a mdadm Array using ext4?
I have tried it a few times now.
I tried:
UUID=... /media/mnt btrfs defaults 0 0
and
UUID=... /media/mnt btrfs device=/dev/sda1,device=/dev/sdb1 00

I am not sure If I have the correct line in /etc/fstab or what exactly I am doing wrong.
I´d be grateful for help.

igorpec
Posts: 705
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 35 times
Been thanked: 99 times
Contact:

Re: Armbian for Odroid N2

Post by igorpec »

ResdexR6 wrote:
Mon Nov 11, 2019 6:26 am
sudo armbian-config -> personal -> change keyboard layout stays at us.
Try typing: setupcon after you change it.

This is indeed broken. Not sure if there is a problem in our wrapper or upstream. It will be fixed asap. Until then you can follow any Debian/Ubuntu guide how to change this.
ResdexR6 wrote:
Mon Nov 11, 2019 6:26 am
btrfs raid 1.
Armbian is not maintaining BTRFS driver. They do: https://btrfs.wiki.kernel.org/index.php/Main_Page

But it could be possible that you will need to wait for a modern kernel support (5.5.y ->) to use this feature properly.
ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

elatllat
Posts: 1791
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1, N2, C4, N2+
Has thanked: 50 times
Been thanked: 115 times
Contact:

Re: Armbian for Odroid N2

Post by elatllat »

ResdexR6 wrote:
Mon Nov 11, 2019 6:26 am
...armbian...btrfs...
I'm guessing the kernel in Armbian is branched from the Odroid branch of the Amlogic branch of 4.9 which has known btrfs bugs, and is so far from mainline it may not be worth fixing.
5.3.10 is usable now for server applications (lacks VPU support).

igorpec
Posts: 705
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 35 times
Been thanked: 99 times
Contact:

Re: Armbian for Odroid N2

Post by igorpec »

elatllat wrote:
Mon Nov 11, 2019 11:31 am
ResdexR6 wrote:
Mon Nov 11, 2019 6:26 am
...armbian...btrfs...
I'm guessing the kernel in Armbian is branched from the Odroid branch of the Amlogic branch of 4.9 which has known btrfs bugs
Yes, there is no full blown alternative than 4.9.y for now ... 5.3.y is getting usable. We will provide instant (test) upgrade soon.
ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

igorpec
Posts: 705
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 35 times
Been thanked: 99 times
Contact:

Re: Armbian for Odroid N2

Post by igorpec »

Major Armbian update: https://forum.armbian.com/topic/12210-a ... ease-notes

Odroid N2 was upgreaded to latest kernel and merged with meson64 family. Added kernel 5.3.y (experimental. It boots, hdmi is up ... but many things are not done yet, accessible from armbian-config -> system -> other kernels).
ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

Sav
Posts: 212
Joined: Mon Sep 02, 2019 2:33 am
languages_spoken: english
ODROIDs: odroid-n2
Has thanked: 51 times
Been thanked: 20 times
Contact:

Re: Armbian for Odroid N2

Post by Sav »

igorpec wrote:
Fri Nov 22, 2019 5:12 am
Major Armbian update: https://forum.armbian.com/topic/12210-a ... ease-notes

Odroid N2 was upgreaded to latest kernel and merged with meson64 family. Added kernel 5.3.y (experimental. It boots, hdmi is up ... but many things are not done yet, accessible from armbian-config -> system -> other kernels).
Hi Igor,
I tried the latest mainline kernel, but it doesn't work.
I have no HDMI output, nor ethernet connection (so no ssh to return to the stable kernel).
The blue led pulses, so something starts.
I think I have to reflash the image.

igorpec
Posts: 705
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 35 times
Been thanked: 99 times
Contact:

Re: Armbian for Odroid N2

Post by igorpec »

Sav wrote:
Mon Nov 25, 2019 12:38 am
igorpec wrote:
Fri Nov 22, 2019 5:12 am
Major Armbian update: https://forum.armbian.com/topic/12210-a ... ease-notes

Odroid N2 was upgreaded to latest kernel and merged with meson64 family. Added kernel 5.3.y (experimental. It boots, hdmi is up ... but many things are not done yet, accessible from armbian-config -> system -> other kernels).
Hi Igor,
I tried the latest mainline kernel, but it doesn't work.
I have no HDMI output, nor ethernet connection (so no ssh to return to the stable kernel).
The blue led pulses, so something starts.
I think I have to reflash the image.
Well, its experimental :) But still its strange ... I made few boots and it always came up.
ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

User avatar
istanbulls
Posts: 263
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID-N2, ODROID C4
Location: Istanbul-Turkey
Has thanked: 155 times
Been thanked: 34 times
Contact:

Re: Armbian for Odroid N2

Post by istanbulls »

https://forum.armbian.com/topic/11334-b ... -panfrost/

Last night I agreed to be a little sleepless and I tried.

No HDMI audio.
No Blue LEDs
The videos didn't improve, just like before.
Chromium is the same as before, no improvement.

igorpec
Posts: 705
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 35 times
Been thanked: 99 times
Contact:

Re: Armbian for Odroid N2

Post by igorpec »

istanbulls wrote:
Sun Dec 15, 2019 8:45 pm
https://forum.armbian.com/topic/11334-b ... -panfrost/

Last night I agreed to be a little sleepless and I tried.

No HDMI audio.
No Blue LEDs
The videos didn't improve, just like before.
Chromium is the same as before, no improvement.
Panfrost has absolutely nothing to do with video acceleration nor Chromium. Google and read what that functionality brings. It doesn't improve everything, just one functionality.

And you should talk with the author of this script.
ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

BadPritt
Posts: 177
Joined: Wed Jan 17, 2018 4:08 am
languages_spoken: english dutch french spanish german
ODROIDs: Odroid C2
Odroid XU4Q
Has thanked: 28 times
Been thanked: 27 times
Contact:

Re: Armbian for Odroid N2

Post by BadPritt »

istanbulls wrote:
Sun Dec 15, 2019 8:45 pm
https://forum.armbian.com/topic/11334-b ... -panfrost/

Last night I agreed to be a little sleepless and I tried.

No HDMI audio.
No Blue LEDs
The videos didn't improve, just like before.
Chromium is the same as before, no improvement.
Hi. Panfrost is a GPU driver. Not a VPU driver. It does give GPU acceleration to Chromium, but not VPU(video) acceleration.
The latest mainline kernels are not yet well supported for every board/SoC. This is bleeding edge software, so expect things not to work.
I have not tried Panfrost on the N2(Bitfrost GPU). Only on RK3399's(Midgard).
I don't expect it to work well since there's other things missing for the N2.

You could try installing supertuxkart. Start it with the terminal by typing "supertuxkart". And look at what's shown in the terminal. If panfrost is working it should show OpenGL 2.1 with Panfrost Driver.
Please let me know if it does work. Would be amazing.

This is just a first step towards better images. VPU acceleration in mainline will be a next step, and many issues will need to be worked out.
Greetings, NicoD

User avatar
istanbulls
Posts: 263
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID-N2, ODROID C4
Location: Istanbul-Turkey
Has thanked: 155 times
Been thanked: 34 times
Contact:

Re: Armbian for Odroid N2

Post by istanbulls »

BadPritt wrote:
Mon Dec 16, 2019 2:51 am
istanbulls wrote:
Sun Dec 15, 2019 8:45 pm
https://forum.armbian.com/topic/11334-b ... -panfrost/

Last night I agreed to be a little sleepless and I tried.

No HDMI audio.
No Blue LEDs
The videos didn't improve, just like before.
Chromium is the same as before, no improvement.
Hi. Panfrost is a GPU driver. Not a VPU driver. It does give GPU acceleration to Chromium, but not VPU(video) acceleration.
The latest mainline kernels are not yet well supported for every board/SoC. This is bleeding edge software, so expect things not to work.
I have not tried Panfrost on the N2(Bitfrost GPU). Only on RK3399's(Midgard).
I don't expect it to work well since there's other things missing for the N2.

You could try installing supertuxkart. Start it with the terminal by typing "supertuxkart". And look at what's shown in the terminal. If panfrost is working it should show OpenGL 2.1 with Panfrost Driver.
Please let me know if it does work. Would be amazing.

This is just a first step towards better images. VPU acceleration in mainline will be a next step, and many issues will need to be worked out.
Greetings, NicoD
I am very novice and ignorant Linux user, I am very likely to misunderstand many things.

I appreciate your video. It guides people who don't know English like me, who are unfamiliar with Linux and software.
Such videos are very useful to curious people.
Thank you.

edit.
If you show a car or plane to a person who has never seen a car or airplane and say that we have another vehicle that goes to Mars in 15 minutes, he will believe it. :))

Panfrost is a spacecraft for me.
I hope I can express myself.

BadPritt
Posts: 177
Joined: Wed Jan 17, 2018 4:08 am
languages_spoken: english dutch french spanish german
ODROIDs: Odroid C2
Odroid XU4Q
Has thanked: 28 times
Been thanked: 27 times
Contact:

Re: Armbian for Odroid N2

Post by BadPritt »

istanbulls wrote:
Mon Dec 16, 2019 4:18 am
I appreciate your video. It guides people who don't know English like me, who are unfamiliar with Linux and software.
You are welcome. Thank you for watching.
istanbulls wrote:
Mon Dec 16, 2019 4:18 am
Panfrost is a spacecraft for me.
Panfrost is just a driver for Mali Midgard GPU's. It was intended to also include the N2 its GPU, but there hasn't been any progress there.
The progress made is mostly for RK3399 boards, and maybe Allwinner H6.
So pitty Odroid didn't sell the Odroid N1 which had the RK3399.
Greetings.

User avatar
istanbulls
Posts: 263
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID-N2, ODROID C4
Location: Istanbul-Turkey
Has thanked: 155 times
Been thanked: 34 times
Contact:

Re: Armbian for Odroid N2

Post by istanbulls »

BadPritt wrote:
Mon Dec 16, 2019 5:52 am
Panfrost is just a driver for Mali Midgard GPU's. It was intended to also include the N2 its GPU, but there hasn't been any progress there.
The progress made is mostly for RK3399 boards, and maybe Allwinner H6.
So pitty Odroid didn't sell the Odroid N1 which had the RK3399.
Greetings.
First of all I thank you,

I understood this after experiencing Panfrost ... :)

@ igorpec and after your annotated narrative, I understood better.

ilwan
Posts: 2
Joined: Mon Dec 23, 2019 1:05 am
languages_spoken: english
ODROIDs: N2
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Armbian for Odroid N2

Post by ilwan »

Hi. I cannot get Wake on Lan to work. Is there any special configuration to enable it? Thanks

igorpec
Posts: 705
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 35 times
Been thanked: 99 times
Contact:

Re: Armbian for Odroid N2

Post by igorpec »

ilwan wrote:
Mon Dec 23, 2019 1:07 am
Hi. I cannot get Wake on Lan to work. Is there any special configuration to enable it? Thanks
On legacy (4.9.y) kernel it should work the same way as on stock:
https://wiki.odroid.com/odroid-n2/appli ... ake-on-lan

On 5.4.y is most likely not supported yet.
ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

igorpec
Posts: 705
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 35 times
Been thanked: 99 times
Contact:

Re: Armbian for Odroid N2

Post by igorpec »

Added images for 5.4.y and updated for 4.9.y
ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

Moan
Posts: 62
Joined: Fri Feb 01, 2019 11:51 pm
languages_spoken: english
ODROIDs: N2, XU4
Has thanked: 6 times
Been thanked: 0
Contact:

Re: Armbian for Odroid N2

Post by Moan »

Thanks for your work! I just flashed the newest image with kernel 5.4 and most of things seem to work fine.

I have only 1 issue setting up the Weather Board. It worked fine before switching.
Following the guide: https://wiki.odroid.com/odroid-n2/appli ... ther_board
root@odroidn2:/dev# sudo i2cdetect -y -r 2
Error: Could not open file `/dev/i2c-2' or `/dev/i2c/2': No such file or directory
Then: https://wiki.odroid.com/odroid-n2/appli ... /i2c#i2c-2
root@odroidn2:/dev# fdtget /boot/dtb-5.4.6-meson64/amlogic/meson-g12b-odroid-n2.dtb /soc/cbus@ffd00000/i2c@1d000 status
Error at '/soc/cbus@ffd00000/i2c@1d000': FDT_ERR_NOTFOUND
root@odroidn2:/dev# fdtget /boot/dtb-5.4.6-meson64/amlogic/meson-g12b-odroid-n2.dtb /soc/cbus@ffd00000/i2c@1c000 status
Error at '/soc/cbus@ffd00000/i2c@1c000': FDT_ERR_NOTFOUND
And then...
root@odroidn2:/dev# modprobe i2c_meson_master
modprobe: FATAL: Module i2c_meson_master not found in directory /lib/modules/5.4.6-meson64
Do you know if it's currently possible to use it?

igorpec
Posts: 705
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 35 times
Been thanked: 99 times
Contact:

Re: Armbian for Odroid N2

Post by igorpec »

> Do you know if it's currently possible to use it?

No, I don't. This kernel was tested for boot, HDMI, USB and stressing. Nothing else. I would expect that I2C just works if you enable it. But out of the errors you pasted, that might not be that simple. Guides for old stock kernels are usually useless in mainline kernels.

This kernel is more or less for experimenting and some simple usage. I don't expect full functions or maturity of legacy kernel anytime soon. Perhaps in a few months, later this year, ... Hard to say.
These users thanked the author igorpec for the post:
Moan (Wed Jan 08, 2020 5:06 am)
ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

Sav
Posts: 212
Joined: Mon Sep 02, 2019 2:33 am
languages_spoken: english
ODROIDs: odroid-n2
Has thanked: 51 times
Been thanked: 20 times
Contact:

Re: Armbian for Odroid N2

Post by Sav »

igorpec wrote:
Fri Dec 27, 2019 6:31 am
Added images for 5.4.y and updated for 4.9.y
Hi, I tried the latest minimal image based on 5.4.6 kernel.
I can't set the CPU freq and the performance governor.
Here a simple 7zip test:

Code: Select all

root@odroidn2:~# echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
root@odroidn2:~# 7z b -mmt 1

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,6 CPUs LE)

LE
CPU Freq:   996   998   998   998   998   998   997   998

RAM size:    3698 MB,  # CPU hardware threads:   6
RAM usage:   1323 MB,  # Benchmark threads:      6

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:       4344   461    916   4226  |      78931   527   1277   6731
23:       4332   467    946   4414  |      77751   527   1276   6728
24:       4283   464    992   4606  |      75958   523   1274   6667
25:       4276   462   1058   4883  |      75705   529   1274   6737
----------------------------------  | ------------------------------
Avr:             463    978   4532  |              527   1275   6716
Tot:             495   1127   5624
root@odroidn2:~# uname -r
5.4.6-meson64
Tried to use armbian-config with the same results

igorpec
Posts: 705
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 35 times
Been thanked: 99 times
Contact:

Re: Armbian for Odroid N2

Post by igorpec »

> I can't set the CPU freq and the performance governor.

This kernel is more or less for experimenting and some simple usage. I don't expect full functions or maturity of legacy kernel anytime soon. Perhaps in a few months, later this year, ... Hard to say.
ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

elatllat
Posts: 1791
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1, N2, C4, N2+
Has thanked: 50 times
Been thanked: 115 times
Contact:

Re: Armbian for Odroid N2

Post by elatllat »

Sav wrote:
Wed Jan 08, 2020 11:27 pm
...

Code: Select all

echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
...

Code: Select all

cd /sys/devices/system/cpu/cpufreq
for P in policy* ; do
        echo performance > $P/scaling_governor
done

Sav
Posts: 212
Joined: Mon Sep 02, 2019 2:33 am
languages_spoken: english
ODROIDs: odroid-n2
Has thanked: 51 times
Been thanked: 20 times
Contact:

Re: Armbian for Odroid N2

Post by Sav »

elatllat wrote:
Sav wrote:
Wed Jan 08, 2020 11:27 pm
...

Code: Select all

echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
...

Code: Select all

cd /sys/devices/system/cpu/cpufreq
for P in policy* ; do
        echo performance > $P/scaling_governor
done
I tried but all cores still are stuck at 998 MHz.

Inviato dal mio GM1913 utilizzando Tapatalk


elatllat
Posts: 1791
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1, N2, C4, N2+
Has thanked: 50 times
Been thanked: 115 times
Contact:

Re: Armbian for Odroid N2

Post by elatllat »

Sav wrote:
Sat Jan 11, 2020 5:21 am
...cores still are stuck at 998 MHz [on 5.4.6 kernel]...
@igorpec are you planning on applying this patch to 5.4.10?

Post Reply

Return to “Other OS”

Who is online

Users browsing this forum: No registered users and 1 guest