13 13
Brad

Bring up for Odroid N2 (Meson G12B)

Recommended Posts

1 hour ago, m][sko said:

good source of kernel patches are here


Where do you think they came from and why are not yet in the mainline? :)

 

1 hour ago, m][sko said:

multimedia like HDMI audio or video decoding or what?


It seems nothing out of advanced functions really works atm.

But at least we are now attached to the mainline + patches.Which needs maintenance attention if we want to move on faster..

Share this post


Link to post
Share on other sites
Want Armbian t-shirt or a cup?

8 hours ago, Igor said:


Where do you think they came from and why are not yet in the mainline? :)

 


It seems nothing out of advanced functions really works atm.

But at least we are now attached to the mainline + patches.Which needs maintenance attention if we want to move on faster..

 

mainline rules :thumbup: All amlogic boards are also on mainline

mainline u-boot will be also fine. it should work I think

 

so some users can try lima drivers on odroid c2

and if anybody want arm opengl es drivers on odroid n2 

And as always mainline kernel has better stability. 

 

Btw what about passing coherent_pool=4M to kernel. Any plan to add it? I saw your post 

Share this post


Link to post
Share on other sites

Just an FYI. if you're wanting to drive higher resolutions on N2 stick with legacy kernel for now,     Mainline was ignoring my boot.ini flag 

setenv hdmimode "2560x1440p60hz"

 

Share this post


Link to post
Share on other sites

I boot my Odroid-N2 with "Armbian Buster mainline kernel 5.4.y" from armbian download site. Now there is Linux droid 5.4.28-meson64 #20.02.8 SMP PREEMPT Mon Mar 30 09:12:52 CEST 2020 aarch64 GNU/Linux kernel

 

I see no /dev/watchdog device. What's wrong? Should I tune something?

armbianmonitor -u report: http://ix.io/2g2A

Share this post


Link to post
Share on other sites

Hello,

it's me again :). After having my board set up and in use as previously described I wanted to have a look at the temperature, but nowhere it is displayed. Example:

root@OdroidN2:~# armbianmonitor -z
Preparing benchmark. Be patient please...

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=de_DE@euro,Utf16=on,HugeFiles=on,64 bits,6 CPUs LE)

LE
CPU Freq:  1701  1701  1702  1701  1699  1701  1702  1701  1701

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:       5435   499   1059   5287  |     109229   514   1811   9315
23:       5061   479   1076   5158  |     103965   502   1792   8996
24:       4582   453   1089   4927  |     101166   499   1780   8880
25:       4797   494   1109   5478  |     101562   517   1747   9039
----------------------------------  | ------------------------------
Avr:             481   1083   5212  |              508   1782   9057
Tot:             495   1433   7135

Monitoring output recorded while running the benchmark:

Time       big.LITTLE   load %cpu %sys %usr %nice %io %irq   CPU  C.St.
15:24:11: 1704/1896MHz  2.18  11%   1%   6%   0%   2%   0%     °C  0/10
15:24:16: 1704/1896MHz  2.17  10%   1%   6%   0%   0%   0%     °C  0/10
15:24:21: 1704/1896MHz  1.99  10%   2%   7%   0%   0%   0%     °C  0/10
15:24:28: 1704/1896MHz  2.16  63%   2%  59%   0%   0%   0%     °C  0/10
15:24:34: 1704/1896MHz  2.46  88%   2%  85%   0%   0%   0%     °C  0/10
15:24:44: 1704/1896MHz  2.83  91%   3%  86%   0%   0%   0%     °C  0/10
15:24:50: 1704/1896MHz  3.78  98%   4%  92%   0%   0%   1%     °C  0/10
15:24:55: 1704/1896MHz  3.87  97%   3%  92%   0%   0%   1%     °C  0/10
15:25:00: 1704/1896MHz  3.72  74%   3%  69%   0%   0%   0%     °C  0/10
15:25:06: 1704/1896MHz  4.39  97%   5%  90%   0%   0%   1%     °C  0/10
15:25:12: 1704/1896MHz  5.47  98%   5%  91%   0%   0%   1%     °C  0/10
15:25:21: 1704/1896MHz  6.08  98%   3%  90%   0%   3%   0%     °C  0/10

The same is true for top or htop, no display of temperature.

 

What to do?

 

edit:

Attached armbianmonitor -u // and noticed that it produces an error:

root@OdroidN2:~# armbianmonitor -u
System diagnosis information will now be uploaded to /usr/bin/armbianmonitor: line 388: read: read error: 0: Invalid argument
/usr/bin/armbianmonitor: line 389: [: -ge: unary operator expected
/usr/bin/armbianmonitor: line 388: read: read error: 0: Invalid argument
/usr/bin/armbianmonitor: line 389: [: -ge: unary operator expected
/usr/bin/armbianmonitor: line 388: read: read error: 0: Invalid argument
/usr/bin/armbianmonitor: line 389: [: -ge: unary operator expected
/usr/bin/armbianmonitor: line 388: read: read error: 0: Invalid argument
/usr/bin/armbianmonitor: line 389: [: -ge: unary operator expected
/usr/bin/armbianmonitor: line 388: read: read error: 0: Invalid argument
/usr/bin/armbianmonitor: line 389: [: -ge: unary operator expected
/usr/bin/armbianmonitor: line 388: read: read error: 0: Invalid argument
/usr/bin/armbianmonitor: line 389: [: -ge: unary operator expected
/usr/bin/armbianmonitor: line 388: read: read error: 0: Invalid argument
/usr/bin/armbianmonitor: line 389: [: -ge: unary operator expected
/usr/bin/armbianmonitor: line 388: read: read error: 0: Invalid argument
/usr/bin/armbianmonitor: line 389: [: -ge: unary operator expected
/usr/bin/armbianmonitor: line 388: read: read error: 0: Invalid argument
/usr/bin/armbianmonitor: line 389: [: -ge: unary operator expected
/usr/bin/armbianmonitor: line 388: read: read error: 0: Invalid argument
/usr/bin/armbianmonitor: line 389: [: -ge: unary operator expected
http://ix.io/2iWa
Please post the URL in the forum where you've been asked for.

Further information:

 

root@OdroidN2:/sys/class/hwmon# cat /sys/devices/virtual/thermal/thermal_zone0/temp
cat: /sys/devices/virtual/thermal/thermal_zone0/temp: Invalid argument

 

Thanks for helping.

 

 

Share this post


Link to post
Share on other sites

Hello,

 

I have exactly the same problem, would anyone have a solution ?

Armbian buster with Linux 5.4.28-meson64
 

Thanks

Share this post


Link to post
Share on other sites
On 4/21/2020 at 3:29 PM, Burschi500 said:

Attached armbianmonitor -u // and noticed that it produces an error:


root@OdroidN2:~# armbianmonitor -u
System diagnosis information will now be uploaded to /usr/bin/armbianmonitor: line 388: read: read error: 0: Invalid argument
/usr/bin/armbianmonitor: line 389: [: -ge: unary operator expected
/usr/bin/armbianmonitor: line 388: read: read error: 0: Invalid argument
/usr/bin/armbianmonitor: line 389: [: -ge: unary operator expected
/usr/bin/armbianmonitor: line 388: read: read error: 0: Invalid argument
/usr/bin/armbianmonitor: line 389: [: -ge: unary operator expected
/usr/bin/armbianmonitor: line 388: read: read error: 0: Invalid argument
/usr/bin/armbianmonitor: line 389: [: -ge: unary operator expected
/usr/bin/armbianmonitor: line 388: read: read error: 0: Invalid argument
/usr/bin/armbianmonitor: line 389: [: -ge: unary operator expected
/usr/bin/armbianmonitor: line 388: read: read error: 0: Invalid argument
/usr/bin/armbianmonitor: line 389: [: -ge: unary operator expected
/usr/bin/armbianmonitor: line 388: read: read error: 0: Invalid argument
/usr/bin/armbianmonitor: line 389: [: -ge: unary operator expected
/usr/bin/armbianmonitor: line 388: read: read error: 0: Invalid argument
/usr/bin/armbianmonitor: line 389: [: -ge: unary operator expected
/usr/bin/armbianmonitor: line 388: read: read error: 0: Invalid argument
/usr/bin/armbianmonitor: line 389: [: -ge: unary operator expected
/usr/bin/armbianmonitor: line 388: read: read error: 0: Invalid argument
/usr/bin/armbianmonitor: line 389: [: -ge: unary operator expected
http://ix.io/2iWa
Please post the URL in the forum where you've been asked for.

 

 

 

Can you try executing as bash -x armbianmonitor -u to get more defails?

If the output gets very long you can use a paste servce like https://paste.debian.net/

Check the output before uploading and if necessary censor ip addresses.

Share this post


Link to post
Share on other sites

@Burschi500

 

AFAIK temperature readings are not yet supported (or just broken) in modern kernel which is why script is throwing out errors. (we can only fix armbianmonitor to not show errors at this point, but not really critical) 

 

Modern kernel is still very much a development area and one should be happy that you don't need to use stock outdated 4.9.y

 

On 3/30/2020 at 10:28 PM, iav said:

I see no /dev/watchdog device. What's wrong? Should I tune something?


You can join and do something about. Anything.

 

Modern kernel is in development and it will stay this way for several more months, before we could say its support is matured. Until then, many things will simply not be working or working bad. But kernel is in usable shape.

Share this post


Link to post
Share on other sites

Hmm. Now I checked for N2 (ArmbianTV) , the temperature and the rest shows correctly with the core 5.7-rc2.

 

root@arm-64:~# armbianmonitor -m
Stop monitoring using [ctrl]-[c]
Time       big.LITTLE   load %cpu %sys %usr %nice %io %irq   CPU  C.St.

12:52:01: 1908/1992MHz  6.13  73%  10%  62%   0%   0%   0% 56.5°C  0/11
12:52:06: 1908/1992MHz  6.12  99%  10%  88%   0%   0%   0% 56.5°C  0/11
12:52:11: 1908/1992MHz  6.11  99%  15%  83%   0%   0%   0% 56.0°C  0/11
12:52:17: 1908/1992MHz  6.10  98%  19%  78%   0%   0%   1% 56.6°C  0/11
12:52:22: 1908/1992MHz  6.10  99%  15%  82%   0%   0%   0% 56.0°C  0/11^C

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
13 13