Any plan for basic mainline linux support?

RussianNeuroMancer
Posts: 5
Joined: Sat Mar 30, 2019 1:43 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Any plan for basic mainline linux support?

Unread post by RussianNeuroMancer » Sat Mar 30, 2019 6:11 pm

memeka wrote:
Sat Mar 30, 2019 3:47 pm
I am running 3.32 on the xu4
But on some other distribution, not Ubuntu, right?

User avatar
memeka
Posts: 4321
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART
Has thanked: 1 time
Been thanked: 13 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by memeka » Sat Mar 30, 2019 8:17 pm

Ubuntu of course

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

Re: Any plan for basic mainline linux support?

Unread post by miskol » Sat Mar 30, 2019 8:30 pm

@memeka
I did update to ubuntu 19.04
And I started just mutter
mutter --display-server --wayland --sm-disable
it started just fine
but when I want to start some application(glmark wayland for example) it always crash mutter
Did you play with mutter as standalone window manager?

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

Re: Any plan for basic mainline linux support?

Unread post by miskol » Sat Mar 30, 2019 8:33 pm

My patchet for gnome 3.32
https://pastebin.com/raw/BcPKARU0
latest gles fullscreen fix from gitlab :)
https://pastebin.com/raw/jtP8jQry
Last edited by miskol on Sun Mar 31, 2019 3:50 am, edited 4 times in total.

User avatar
memeka
Posts: 4321
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART
Has thanked: 1 time
Been thanked: 13 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by memeka » Sat Mar 30, 2019 8:34 pm


brad
Posts: 957
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 H2 (64 bit ftw)
Location: Australia
Has thanked: 14 times
Been thanked: 30 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by brad » Sat Mar 30, 2019 10:19 pm

miskol wrote:
Sat Mar 30, 2019 8:30 pm
@memeka
I did update to ubuntu 19.04
And I started just mutter
mutter --display-server --wayland --sm-disable
it started just fine
but when I want to start some application(glmark wayland for example) it always crash mutter
Did you play with mutter as standalone window manager?
You probably have it covered but making sure you reinstalled mali userspace drivers after the upgrade?

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

Re: Any plan for basic mainline linux support?

Unread post by miskol » Sat Mar 30, 2019 10:35 pm

@brad
same crash on x64 so it isn't related to arm :)
I did benchmarks weston vs mutter like this on C2

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

Re: Any plan for basic mainline linux support?

Unread post by miskol » Sat Mar 30, 2019 10:46 pm

so I found that I am able to run pure mutter only on 18.04 mutter 3.28 :(
so no weston vs mutter benchmark for now :(

User avatar
memeka
Posts: 4321
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART
Has thanked: 1 time
Been thanked: 13 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by memeka » Sat Mar 30, 2019 11:52 pm

I could run pure mutter on 3.32...

RussianNeuroMancer
Posts: 5
Joined: Sat Mar 30, 2019 1:43 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Any plan for basic mainline linux support?

Unread post by RussianNeuroMancer » Sun Mar 31, 2019 12:02 am

memeka wrote:
Sat Mar 30, 2019 8:17 pm
Ubuntu of course
Which one? Did you upgrade from 18.04 to 19.04 or somehow installed Gnome 3.32 on top of Ubuntu 18.04?

User avatar
memeka
Posts: 4321
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART
Has thanked: 1 time
Been thanked: 13 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by memeka » Sun Mar 31, 2019 12:03 am

18.04, it’s LTS

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

Re: Any plan for basic mainline linux support?

Unread post by miskol » Sun Mar 31, 2019 2:15 am

@memeka
do you build whole gnome or just mutter ?
So you must have some script to automate it :)

User avatar
memeka
Posts: 4321
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART
Has thanked: 1 time
Been thanked: 13 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by memeka » Sun Mar 31, 2019 3:28 am

Whole gnome, no script :)

User avatar
mad_ady
Posts: 6377
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 146 times
Been thanked: 106 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by mad_ady » Sun Mar 31, 2019 3:46 am

@memeka is a man of few words :D
Perhaps he's cooking a recepie...

User avatar
memeka
Posts: 4321
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART
Has thanked: 1 time
Been thanked: 13 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by memeka » Sun Mar 31, 2019 3:56 am

Or trying to get a baby to sleep :)

User avatar
mad_ady
Posts: 6377
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 146 times
Been thanked: 106 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by mad_ady » Sun Mar 31, 2019 4:39 am

Oh, congratulations! Didn't know you were expecting :)
We'll be quiet now...

brad
Posts: 957
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 H2 (64 bit ftw)
Location: Australia
Has thanked: 14 times
Been thanked: 30 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by brad » Sun Mar 31, 2019 8:20 am

RussianNeuroMancer wrote:
Sun Mar 31, 2019 12:02 am
Which one? Did you upgrade from 18.04 to 19.04 or somehow installed Gnome 3.32 on top of Ubuntu 18.04?
I was successfully in upgrade from 18.04 to 18.10 but I had failures during upgrade from 18.10 to 19.04.

- Weston not running
- Mutter not running (but needs patches still)

Surprisingly kde_wayland is starting further than it has in previous Ubuntu releases, It show me my mouse pointer and I can start some basic wayland apps from another terminal but no acceleration.

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

Re: Any plan for basic mainline linux support?

Unread post by miskol » Sun Mar 31, 2019 8:40 pm

@brad
I use this to debug which library is loading
LD_DEBUG=libs weston &> log

phaseshifter
Posts: 3458
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 37 times
Been thanked: 42 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by phaseshifter » Thu Apr 04, 2019 5:21 am

my 20 cents worth....i think that mainline kernel is a necessary need for a production board in the likes of the N-2 ...component supply willing... i think the sales of this board will go for quite some time..it has the c-series boy`s running out to buy one..
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

kalon33
Posts: 1
Joined: Fri Apr 05, 2019 2:03 am
languages_spoken: english, french
Has thanked: 0
Been thanked: 0
Contact:

Re: Any plan for basic mainline linux support?

Unread post by kalon33 » Fri Apr 05, 2019 2:05 am

Dear all,

Did you tested hardware accelerated encoding/decoding/transcoding using this board? Do you know its capabilities regarding to this point? Better than the C2? Which codecs are accelerated?


Thanks for your help.

brad
Posts: 957
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 H2 (64 bit ftw)
Location: Australia
Has thanked: 14 times
Been thanked: 30 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by brad » Fri Apr 05, 2019 10:27 am

kalon33 wrote:
Fri Apr 05, 2019 2:05 am
Dear all,

Did you tested hardware accelerated encoding/decoding/transcoding using this board? Do you know its capabilities regarding to this point? Better than the C2? Which codecs are accelerated?


Thanks for your help.
Not as yet (only GPU has been tested working with various software). vdec glx is being actively worked apon , g12a should follow and then g12b (The N2). It one of the most complex features to add (both kernel and userspace) from what I understand. Audio support is also missing from mainline kernel but Baylibre appear to be working hard to get clocks more accurate to support audio correctly.

BTW official patchset for N2 has now been submitted to kernel maintainers for review - https://lkml.org/lkml/2019/4/4/1244

So things are moving at a very nice pace (considering N2 has just been officially released) but we need to have a little patience :)

elatllat
Posts: 1436
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1, N2
Has thanked: 10 times
Been thanked: 28 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by elatllat » Sat Apr 06, 2019 12:14 pm

brad wrote:
Fri Apr 05, 2019 10:27 am
...
BTW official patchset for N2 has now been submitted to kernel maintainers for review - https://lkml.org/lkml/2019/4/4/1244...
Only 4 / 12 of those patches apply cleanly so use "git apply -3"... even then 4 files conflict... replacing them and the broken g12a.c with the g12b branch results in boot halting at "unable to open rtc device".
Last edited by elatllat on Sat Apr 06, 2019 10:35 pm, edited 1 time in total.

brad
Posts: 957
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 H2 (64 bit ftw)
Location: Australia
Has thanked: 14 times
Been thanked: 30 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by brad » Sat Apr 06, 2019 10:00 pm

brad wrote:
Sat Mar 30, 2019 2:35 pm
RussianNeuroMancer wrote:
Sat Mar 30, 2019 1:52 pm
brad wrote:
Sat Mar 30, 2019 12:17 pm
memeka wrote:
Wed Mar 27, 2019 2:22 pm
@tobetter - for gnome3, these are the changes in mutter: https://pastebin.com/iZDwk1yZ
apply then rebuild mutter debs ;)
Great work, its nice having accelerated gnome. Tested and working well :)
Did you manager to get it working with Ubuntu 19.04? Asking because Mutter 3.32 reported to be much, much faster than 3.28.
I have only tried 3.28.3 for the moment. I have also tried kde_wayland but it was failing to start correctly.

It looks like it might be time to upgrade and do some testing on Ubuntu 19.04.

Starting with update to cosmic
Gnome and kde are running in 19.04 but without wayland acceleration but latest updates to 19.04 had to be applied (apt-get dist-upgrade).

weston will not start (well weston-launch) and mutter will not start from the command line in wayland mode, it segfaults. I will try to add in memeka's patches listed above. For the moment I have only been trying memeka's gdm_compat module.

gnome runs poorly in software mode (ie does X11 mode) but kde actually ran quiet well with no mali, cannot wait to get it working in wayland modes.

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

Re: Any plan for basic mainline linux support?

Unread post by miskol » Sat Apr 06, 2019 11:25 pm

I am starting armbian support
viewtopic.php?f=176&t=34441
so anybody can build ubuntu 19.04 :)

brad
Posts: 957
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 H2 (64 bit ftw)
Location: Australia
Has thanked: 14 times
Been thanked: 30 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by brad » Mon Apr 08, 2019 3:42 pm

elatllat wrote:
Sat Apr 06, 2019 12:14 pm
brad wrote:
Fri Apr 05, 2019 10:27 am
...
BTW official patchset for N2 has now been submitted to kernel maintainers for review - https://lkml.org/lkml/2019/4/4/1244...
Only 4 / 12 of those patches apply cleanly so use "git apply -3"... even then 4 files conflict... replacing them and the broken g12a.c with the g12b branch results in boot halting at "unable to open rtc device".
There are some missing dependencies, I think we will need a 5.2 branch to start with before applying these patches. Particularly the following dependencies which have been pulled for 5.2

https://patchwork.kernel.org/patch/10879753/
https://patchwork.kernel.org/patch/10879751/

I triied to apply these first to 5.1-rc3 & linux-next but still not quiet applying cleanly. I see gpu updates for meson8b are also needed on top for a start.

VoxUnius
Posts: 3
Joined: Wed Apr 10, 2019 8:58 pm
languages_spoken: English, Russian
ODROIDs: N2, XU4
Location: Australia
Has thanked: 0
Been thanked: 0
Contact:

Re: Any plan for basic mainline linux support?

Unread post by VoxUnius » Wed Apr 10, 2019 9:04 pm

Hi Everyone,

I've set up N2 with Gentoo. Everything is good so far, however, kernel 5.1 does not boot up, it only shows 6 penguins and stops there. I think it could be related to GCC version. I tried using 8.2.0-r6. Am I the only one who used it?

Cheers.

brad
Posts: 957
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 H2 (64 bit ftw)
Location: Australia
Has thanked: 14 times
Been thanked: 30 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by brad » Wed Apr 10, 2019 9:13 pm

VoxUnius wrote:
Wed Apr 10, 2019 9:04 pm
Hi Everyone,

I've set up N2 with Gentoo. Everything is good so far, however, kernel 5.1 does not boot up, it only shows 6 penguins and stops there. I think it could be related to GCC version. I tried using 8.2.0-r6. Am I the only one who used it?

Cheers.
Not all patches for N2 have been pushed into 5.1 as yet and many are aimed at 5.2 release or later and awaiting review / merge. Niel's integration branch here is a good stating point if you are interested in testing upcoming mainline integration https://gitlab.com/superna9999/linux/co ... d-n2-integ

I have built using both gcc 7 and 8 so both should be working ok to compile. Memeka shared a working confg for the N2 as there are a couple of required changes to get Ethernet functioning. viewtopic.php?f=176&t=33993&start=50#p250456

VoxUnius
Posts: 3
Joined: Wed Apr 10, 2019 8:58 pm
languages_spoken: English, Russian
ODROIDs: N2, XU4
Location: Australia
Has thanked: 0
Been thanked: 0
Contact:

Re: Any plan for basic mainline linux support?

Unread post by VoxUnius » Wed Apr 10, 2019 9:48 pm

Yeah, I was following memeka's guide and did use the repository you mentioned. Strange it didn't work.

brad
Posts: 957
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 H2 (64 bit ftw)
Location: Australia
Has thanked: 14 times
Been thanked: 30 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by brad » Thu Apr 11, 2019 4:50 pm

VoxUnius wrote:
Wed Apr 10, 2019 9:48 pm
Yeah, I was following memeka's guide and did use the repository you mentioned. Strange it didn't work.
If you have the boot logs we can try to assist you to find the problem

VoxUnius
Posts: 3
Joined: Wed Apr 10, 2019 8:58 pm
languages_spoken: English, Russian
ODROIDs: N2, XU4
Location: Australia
Has thanked: 0
Been thanked: 0
Contact:

Re: Any plan for basic mainline linux support?

Unread post by VoxUnius » Thu Apr 11, 2019 9:41 pm

brad wrote:
Thu Apr 11, 2019 4:50 pm
If you have the boot logs we can try to assist you to find the problem
Thanks, guys. I wish I had them. The process doesn't seem to reach the stage where it can log anything.

I suspect, it could be something related to initramfs compression or address. Still playing with it. What's strange is that the same procedure did work for 4.9.

Could anyone clarify these points:
1. Do we have to call mkimage on the kernel gz file?
2. Does the original initramfs file have to be compressed? By default, genkernel uses xz. I tried both gz and uncompressed with no luck.
3. Do addresses in boot.ini have to correlate with those we pass to mkimage (-a -e)?

elatllat
Posts: 1436
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1, N2
Has thanked: 10 times
Been thanked: 28 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by elatllat » Wed Apr 17, 2019 9:46 pm

Last edited by elatllat on Wed May 01, 2019 11:54 am, edited 1 time in total.
These users thanked the author elatllat for the post (total 2):
DanDroid (Thu Apr 18, 2019 1:29 am) • xabolcs (Thu Apr 18, 2019 8:12 am)

brad
Posts: 957
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 H2 (64 bit ftw)
Location: Australia
Has thanked: 14 times
Been thanked: 30 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by brad » Thu Apr 18, 2019 12:25 am

elatllat wrote:
Wed Apr 17, 2019 9:46 pm
Progress;
Jerome Brunet (Baylibre) is working on Audio in ASOC tree for g12a which will hopefully land in 5.2 once complete..

https://git.kernel.org/pub/scm/linux/ke ... ?h=for-5.2
These users thanked the author brad for the post:
DanDroid (Thu Apr 18, 2019 1:29 am)

mfouad
Posts: 11
Joined: Sun Mar 23, 2014 8:30 pm
languages_spoken: english
ODROIDs: 2 X Odroid-U3, Odroid-XU3 , Odroid-N2
Has thanked: 0
Been thanked: 0
Contact:

Re: Any plan for basic mainline linux support?

Unread post by mfouad » Mon Apr 29, 2019 4:42 pm

memeka wrote:
Fri Mar 29, 2019 8:59 pm
I'll share mine as well :)

Starting from the HK N2 mate/minimal image, and assuming build-essential, bc, flex, bison packages are installed:
.....
1. get linux kernel code:

Code: Select all

odroid@odroid:~$ git clone --depth 1 https://gitlab.com/superna9999/linux -b amlogic/v5.1/g12b-odroid-n2-integ
.......
@memeka and @brad
Thanks for your great efforts and sharing.

I followed the above steps on an ssd card and the six penguins are displayed and then blank screen.

Using the serial console here is the captured log:

Code: Select all

INFO : End of 2D read delay Voltage center optimization
INFO : End of 2D write delay Voltage center optimization
INFO : Training has run successfully!

R0_RxClkDly_Margin==94 ps 8
R0_TxDqDly_Margi==106 ps 9


R1_RxClkDly_Margin==0 ps 0
R1_TxDqDly_Margi==0 ps 0

 dwc_ddrphy_apb_wr((0<<20)|(2<<16)|(0<<12)|(0xb0):0001

 ddr scramble enable
2D training succeed
auto size-- 65535DDR cs0 size: 2048MB
DDR cs1 size: 2048MB
DMC_DDR_CTRL: 00600024DDR size: 3928MB
cs0 DataBus test pass
cs1 DataBus test pass
cs0 AddrBus test pass
cs1 AddrBus test pass
 pre test  bdlr_100_average==485 bdlr_100_min==485 bdlr_100_max==485 bdlr_100_cur==485
 aft test  bdlr_100_average==485 bdlr_100_min==485 bdlr_100_max==485 bdlr_100_cur==485
100bdlr_step_size ps== 491
result report
boot times 0Enable ddr reg access
Load FIP HDR from SD, src: 0x00010200, des: 0x01700000, size: 0x00004000, part: 0
Load BL3X from SD, src: 0x0003c200, des: 0x0172c000, size: 0x00094000, part: 0
0.0;M3 CHK:0;cm4_sp_mode 0
E30HDR
MVN_1=0x00000000
MVN_2=0x00000000
[Image: g12b_v1.1.3375-8f9c8a7 2019-01-24 10:44:46 guotai.shen@droid11-sz]
OPS=0x40
ring efuse init
chipver efuse init
29 0a 40 00 01 15 18 00 00 02 30 32 54 52 4d 50
[0.019924 Inits done]
secure task start!
high task start!
low task start!
run into bl31
NOTICE:  BL31: v1.3(release):ab8811b
NOTICE:  BL31: Built : 15:03:31, Feb 12 2019
NOTICE:  BL31: G12A normal boot!
NOTICE:  BL31: BL33 decompress pass
ERROR:   Error initializing runtime service opteed_fast


U-Boot 2015.01 (Mar 21 2019 - 07:18:14)

DRAM:  3.5 GiB
Relocation Offset is: d6ef5000
spi_post_bind(spifc): req_seq = 0
register usb cfg[0][1] = 00000000d7f85e48
MMC:   aml_priv->desc_buf = 0x00000000d3ee57c0
aml_priv->desc_buf = 0x00000000d3ee7b00
SDIO Port C: 0, SDIO Port B: 1
card in
co-phase 0x2, tx-dly 0, clock 400000
co-phase 0x2, tx-dly 0, clock 400000
co-phase 0x2, tx-dly 0, clock 400000
co-phase 0x2, tx-dly 0, clock 400000
co-phase 0x2, tx-dly 0, clock 40000000
aml_sd_retry_refix[983]:delay = 0x0,gadjust =0x12000
[mmc_startup] mmc refix success
[mmc_init] mmc init success
In:    serial
Out:   serial
Err:   serial
vpu: error: vpu: check dts: FDT_ERR_BADMAGIC, load default parameters
vpu: clk_level = 7
vpu: set clk: 666667000Hz, readback: 666666667Hz(0x100)
vpu: vpu_clk_gate_init_off finish
vpp: vpp_init
vpp: g12a/b osd1 matrix rgb2yuv ..............
vpp: g12a/b osd2 matrix rgb2yuv..............
vpp: g12a/b osd3 matrix rgb2yuv..............
cvbs_config_hdmipll_g12a
cvbs_set_vid2_clk
reading boot-logo.bmp.gz
** Unable to read file boot-logo.bmp.gz **
reading boot-logo.bmp
** Unable to read file boot-logo.bmp **
movi: not registered partition name, logo
movi - Read/write command from/to SD/MMC for ODROID board

Usage:
movi <read|write> <partition|sector> <offset> <address> [<length>]
    - <read|write>  the command to access the storage
    - <offset>  the offset from the start of given partiton in lba
    - <address>  the memory address to load/store from/to the storage device
    - [<length>]  the size of the block to read/write in bytes
    - all parameters must be hexa-decimal only

[OSD]check dts: FDT_ERR_BADMAGIC, load default fb_addr parameters
[OSD]set initrd_high: 0x3d800000
[OSD]fb_addr for logo: 0x3d800000
[OSD]check dts: FDT_ERR_BADMAGIC, load default fb_addr parameters
[OSD]fb_addr for logo: 0x3d800000
[OSD]VPP_OFIFO_SIZE:0xfff01fff
[CANVAS]canvas init
[CANVAS]addr=0x3d800000 width=5760, height=2160
[OSD]wait_vsync_wakeup exit
cvbs: outputmode[1080p60hz] is invalid
vpp: vpp_matrix_update: 2
set hdmitx VIC = 16
config HPLL = 5940000 frac_rate = 1
HPLL: 0x3b3a04f7
HPLL: 0x1b3a04f7
HPLLv1: 0xdb3a04f7
config HPLL done
j = 6  vid_clk_div = 1
hdmitx phy setting done
hdmitx: set enc for VIC: 16
enc_vpu_bridge_reset[1302]
rx version is 1.4 or below  div=10
Net:   dwmac.ff3f0000
[OSD]check dts: FDT_ERR_BADMAGIC, load default fb_addr parameters
[OSD]fb_addr for logo: 0x3d800000
[OSD]check dts: FDT_ERR_BADMAGIC, load default fb_addr parameters
[OSD]fb_addr for logo: 0x3d800000
[OSD]VPP_OFIFO_SIZE:0xfff01000
reading logo.bmp.gz
** Unable to read file logo.bmp.gz **
reading logo.bmp
** Unable to read file logo.bmp **
co-phase 0x3, tx-dly 0, clock 400000
co-phase 0x3, tx-dly 0, clock 400000
co-phase 0x3, tx-dly 0, clock 400000
emmc/sd response timeout, cmd8, status=0x1ff2800
emmc/sd response timeout, cmd55, status=0x1ff2800
emmc/sd response timeout, cmd1, status=0x1ff2800
** Bad device mmc 0 **
co-phase 0x3, tx-dly 0, clock 400000
co-phase 0x3, tx-dly 0, clock 400000
co-phase 0x3, tx-dly 0, clock 400000
emmc/sd response timeout, cmd8, status=0x1ff2800
emmc/sd response timeout, cmd55, status=0x1ff2800
emmc/sd response timeout, cmd1, status=0x1ff2800
** Bad device mmc 0 **
cvbs: outputmode[1080p60hz] is invalid
vpp: vpp_matrix_update: 2
set hdmitx VIC = 16
config HPLL = 5940000 frac_rate = 1
HPLL: 0x3b3a04f7
HPLL: 0x1b3a04f7
HPLLv1: 0xdb3a04f7
config HPLL done
j = 6  vid_clk_div = 1
hdmitx phy setting done
hdmitx: set enc for VIC: 16
enc_vpu_bridge_reset[1302]
rx version is 1.4 or below  div=10
Hit Enter or space or Ctrl+C key to stop autoboot -- :  0
reading boot.ini
4504 bytes read in 3 ms (1.4 MiB/s)
## Executing script at 01000000
reading Image.gz
7093144 bytes read in 385 ms (17.6 MiB/s)
reading meson-g12b-odroid-n2.dtb
21563 bytes read in 5 ms (4.1 MiB/s)
reading uInitrd
20752684 bytes read in 1118 ms (17.7 MiB/s)
Uncompressed size: 15331840 = 0xE9F200
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
[rsvmem] fdt get prop fail.
## Loading init Ramdisk from Legacy Image at 03700000 ...
   Image Name:   initrd.img-5.1.0-rc1
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    20752620 Bytes = 19.8 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
load dtb from 0x1000000 ......
## Flattened Device Tree blob at 01000000
   Booting using the fdt blob at 0x1000000
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
[rsvmem] fdt get prop fail.
   Loading Ramdisk to 3c435000, end 3d7ff8ec ... OK
   Loading Device Tree to 000000001fff7000, end 000000001ffff43a ... OK

Starting kernel ...

uboot time: 10166156 us
Any idea what is wrong with this boot sequence?
Thanks.

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

Re: Any plan for basic mainline linux support?

Unread post by miskol » Fri May 03, 2019 3:30 am

mfouad wrote:
Mon Apr 29, 2019 4:42 pm
try this
https://github.com/150balbes/Build-Armbian
sudo EXPERT=yes BETA=yes ./compile.sh

dtx
Posts: 1
Joined: Thu May 09, 2019 9:52 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Any plan for basic mainline linux support?

Unread post by dtx » Thu May 09, 2019 9:53 pm

Looks like the new Mali Drivers are mainline

https://www.phoronix.com/scan.php?page= ... DRM-Update

anyone want to try the dev kernel and report back?

elatllat
Posts: 1436
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1, N2
Has thanked: 10 times
Been thanked: 28 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by elatllat » Fri May 10, 2019 12:01 am

dtx wrote:
Thu May 09, 2019 9:53 pm
...mainline...
For me It's stuck at

Code: Select all

[    1.439840] Waiting for root device /dev/mmcblk1p2...
but it's hard to fix because of other issues; it halts randomly or produces garbage, like on the 4.9 I got

Code: Select all

[    5.745��r�������] meson_uart ff803000.serial: ttyS0 use xtal(24M) 24000000 change 115200 to 115200
I think my screen-uart connection is busted.

himi
Posts: 5
Joined: Fri May 10, 2019 12:43 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Any plan for basic mainline linux support?

Unread post by himi » Fri May 10, 2019 12:59 am

Hello,

Recently I bought an Odroid N2 and CPU performance as well as Hardware-Quality seem very very good.
I want to run a chromium kiosk on it with GPU support, which currently is not available.
What I understood so far is, that the panfrost driver for mali gpu will be included into linux kernel 5.2

Can anyone estimate when alls this will be available for the odroid n2 (installable for semi-amateur linux users ;) ...)?
Days? Weeks? Months?

Does this mean media capabilities will improve drastically on most mali boards (Rock64, ...)?

Many Greetings,
himi

elatllat
Posts: 1436
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1, N2
Has thanked: 10 times
Been thanked: 28 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by elatllat » Fri May 10, 2019 1:10 am

himi wrote:
Fri May 10, 2019 12:59 am
...installable for semi-amateur linux users ;) ...)?
Days? Weeks? Months?...
It's hard to say, maybe someone will
1) get the N2 to boot mainline with a minimal patch-set
2) have the user space configuration work
3) make a img for easy use
all today, maybe next year.

At least we can say 5.2 is going to be buggy for more than a month.

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

Re: Any plan for basic mainline linux support?

Unread post by miskol » Fri May 10, 2019 2:57 am

arm mali drivers are fine in wayland mode
But they don't support big OpenGL only OpenGL ES
but panfrost drivers should support big Opengl

elatllat
Posts: 1436
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1, N2
Has thanked: 10 times
Been thanked: 28 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by elatllat » Fri May 10, 2019 3:08 am

gl4es was working well on the N1, so chromium kiosk might be usable that way.

RussianNeuroMancer
Posts: 5
Joined: Sat Mar 30, 2019 1:43 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Any plan for basic mainline linux support?

Unread post by RussianNeuroMancer » Fri May 10, 2019 4:32 pm

Isn't Chromium support gles with " --use-gl=egl --gles" ?

brad
Posts: 957
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 H2 (64 bit ftw)
Location: Australia
Has thanked: 14 times
Been thanked: 30 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by brad » Fri May 10, 2019 6:00 pm

elatllat wrote:
Fri May 10, 2019 1:10 am
himi wrote:
Fri May 10, 2019 12:59 am
...installable for semi-amateur linux users ;) ...)?
Days? Weeks? Months?...
It's hard to say, maybe someone will
1) get the N2 to boot mainline with a minimal patch-set
2) have the user space configuration work
3) make a img for easy use
all today, maybe next year.

At least we can say 5.2 is going to be buggy for more than a month.
I will try a solution for 1 + 3 as soon as 5.2-rc is merged up and available. I will be trying with minimal patches and this should happen *soon*

skeetre
Posts: 66
Joined: Mon Apr 29, 2019 11:27 am
languages_spoken: english
ODROIDs: Odroid-N2
Location: FL, USA
Has thanked: 15 times
Been thanked: 11 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by skeetre » Sat May 11, 2019 3:40 am

5.2rc1 should be Sunday right?
Friends don't let friends use Spectre/Meltdown/Zombieload mitigations.

mxmilkb
Posts: 10
Joined: Fri Apr 26, 2019 9:28 am
languages_spoken: English
ODROIDs: N2
Has thanked: 5 times
Been thanked: 3 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by mxmilkb » Wed May 15, 2019 5:43 am

the history of the Linux kernel release cycle can be seen on https://kernelnewbies.org/LinuxVersions . apparently 5.2 is big and Linus' kid is graduating, though others have control over the workflow these days. estimate: Sunday July 14th (5th May (5.1) + 70 days), though it could be a full week later (or potentially earlier)

brad
Posts: 957
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 H2 (64 bit ftw)
Location: Australia
Has thanked: 14 times
Been thanked: 30 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by brad » Thu May 16, 2019 7:07 pm

skeetre wrote:
Sat May 11, 2019 3:40 am
5.2rc1 should be Sunday right?
-rc should not be too far away, -next has most of the good stuff merged now. Hopefully only some minimal patches needed for booting board. Not sure about the vdec as yet.
These users thanked the author brad for the post (total 2):
DanDroid (Fri May 17, 2019 3:18 am) • mxmilkb (Sat May 18, 2019 8:49 pm)

juanjo1024
Posts: 12
Joined: Sat Sep 02, 2017 10:07 pm
languages_spoken: english, spanish
ODROIDs: C2 N2
Has thanked: 0
Been thanked: 0
Contact:

Re: Any plan for basic mainline linux support?

Unread post by juanjo1024 » Mon May 20, 2019 7:26 am

N2 is booting with 5.1 .. has basic support.. but it boots.. look for balbes150 armbian build https://yadi.sk/d/srrtn6kpnsKz2/Linux/ARMBIAN

Summerguy
Posts: 7
Joined: Tue Jun 05, 2018 12:03 pm
languages_spoken: French
ODROIDs: Xu4
Has thanked: 0
Been thanked: 0
Contact:

Re: Any plan for basic mainline linux support?

Unread post by Summerguy » Mon May 20, 2019 10:34 am

linux 5.2rc1 is out !

elatllat
Posts: 1436
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1, N2
Has thanked: 10 times
Been thanked: 28 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by elatllat » Tue May 21, 2019 11:54 pm

I tried blindly applying Neal's old minimal patch but the result gets stuck on "Waiting for root device"...
Last edited by elatllat on Tue Jun 04, 2019 12:03 pm, edited 3 times in total.

sbi
Posts: 14
Joined: Wed May 01, 2019 8:07 pm
languages_spoken: german, english
ODROIDs: xu4, n2
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Any plan for basic mainline linux support?

Unread post by sbi » Wed May 22, 2019 5:55 am

elatllat wrote:
Tue May 21, 2019 11:54 pm
I tried blindly applying Neal's old minimal patch but the result (attached) gets stuck on "Waiting for root device"...
I would be happy to get that far... Can you give a hint how you build the Kernel? Any extra steps?

Basically I follow these steps but use current mainline kernel 5.2-rc1 and your patch. When I copy the resulting kernel from arch/arm64/boot/Image to my boot partition and edit boot.ini accordingly just nothing happens.

If I follow the exact same steps with official 4.9 branch everything works as expected... :shock:

brad
Posts: 957
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 H2 (64 bit ftw)
Location: Australia
Has thanked: 14 times
Been thanked: 30 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by brad » Wed May 22, 2019 7:10 am

elatllat wrote:
Tue May 21, 2019 11:54 pm
I tried blindly applying Neal's old minimal patch but the result (attached) gets stuck on "Waiting for root device"...
I've been busy with some things since 5.2-rc release but starting to get there should not be too far, we will also need some mmc patches from jerome, eg: https://patchwork.kernel.org/cover/10942565/

Post Reply

Return to “General Topics”

Who is online

Users browsing this forum: No registered users and 2 guests