Playing with upstream (Exynos4412)

Share here your ideas for new projects
Post Reply
Obloczkus
Posts: 3
Joined: Thu Mar 13, 2014 6:42 pm
languages_spoken: english, polish
ODROIDs: U3
Has thanked: 0
Been thanked: 0
Contact:

Re: Playing with upstream (Exynos4412)

Post by Obloczkus »

If You can, please share with emmc-recovery image with the latest u-boot.
Cheers

jonB
Posts: 2
Joined: Sat Mar 23, 2019 5:53 am
languages_spoken: english, italian, brazilian portuguese
ODROIDs: U3
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Playing with upstream (Exynos4412)

Post by jonB »

This is great news! Have had my good old U3 on jessie for way too long. Hoping to find some documentation as this is as first for me on this board. I appreciate if you have any links to point me to to get started. Thanks.

X-MAN
Posts: 2
Joined: Mon Jun 01, 2020 6:50 pm
languages_spoken: english, german
ODROIDs: U3+
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Playing with upstream (Exynos4412)

Post by X-MAN »

Did someone have the login for the hexdump images? I want to login via SSH, thanks.

User avatar
meveric
Posts: 11124
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4
Has thanked: 44 times
Been thanked: 390 times
Contact:

Re: Playing with upstream (Exynos4412)

Post by meveric »

the login is on the github page..
user: linux
password: changeme
These users thanked the author meveric for the post:
anatife (Wed Jul 22, 2020 5:15 am)
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

X-MAN
Posts: 2
Joined: Mon Jun 01, 2020 6:50 pm
languages_spoken: english, german
ODROIDs: U3+
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Playing with upstream (Exynos4412)

Post by X-MAN »

Thanks. Found it myself about an hour ago. It's a little bit hidden =) I also upgraded it to 20.04 LTS. Works like a charm :D Boinc running very good. Nearly half the computing time as on 14.04
Image
These users thanked the author X-MAN for the post:
odroid (Tue Jun 02, 2020 9:26 am)

User avatar
meveric
Posts: 11124
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4
Has thanked: 44 times
Been thanked: 390 times
Contact:

Re: Playing with upstream (Exynos4412)

Post by meveric »

yeah I used the image as well, removed the XUbuntu desktop and installed MATE as well as updated to Ubuntu 20.04.
I also installed a freshly build Kernel 5.7 without any alteration, just straight from upstream no changes whatsoever.
Worked right out of the box.
3D was working via LIMA opensource driver, which does even support OpenGL 2.1.

It was "ok-ish" but performance is really not that great only about 30~33 FPS in glmark2-es2 and glmark2.
But hey it means you can run from default Kernels with no patches :)
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

EWIuser
Posts: 21
Joined: Sat Dec 27, 2014 11:25 pm
languages_spoken: French and English
ODROIDs: U3
Location: Montreal, Quebec Canada
Has thanked: 0
Been thanked: 0
Contact:

Re: Playing with upstream (Exynos4412)

Post by EWIuser »

Hey guys is this update to 20.04 also valid for the U3 ? I thought it was only available in 64bit and the U3 is 32bit.
Also is there a procedure written somewhere on how to transfer this image to EMMC on a U3 ?

3dfx
Posts: 12
Joined: Thu Aug 07, 2014 12:48 am
languages_spoken: English
ODROIDs: H2+, U3
Location: Bulgaria
Has thanked: 3 times
Been thanked: 0
Contact:

Re: Playing with upstream (Exynos4412)

Post by 3dfx »

@meveric, would you please provide a little bit more info on the kernel installation?
Did you compile it yourself, or it was precompiled?
Can you provide any short tutorial?
Thank you in advance!

ScottE
Posts: 4
Joined: Thu Nov 20, 2014 1:47 am
languages_spoken: english
ODROIDs: ODROID-U2
Has thanked: 0
Been thanked: 0
Contact:

Re: Playing with upstream (Exynos4412)

Post by ScottE »

I have 5.7.x (current 5.7.2, ala vanilla-sources on Gentoo) working on my odroid-u2, but am struggling with USB. EHCI works enough for the NIC to work if I disable DWC2, but the external USB ports don't work (and looks like OHCI doesn't probe properly).

Code: Select all

    0.953903] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.960442] ehci-exynos: EHCI Exynos driver
[    0.965182] exynos-ehci 12580000.ehci: EHCI Host Controller
[    0.970169] exynos-ehci 12580000.ehci: new USB bus registered, assigned bus number 1
[    0.978065] exynos-ehci 12580000.ehci: irq 46, io mem 0x12580000
[    1.005241] exynos-ehci 12580000.ehci: USB 2.0 started, EHCI 1.00
[    1.005816] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.07
[    1.013933] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.021157] usb usb1: Product: EHCI Host Controller
[    1.026013] usb usb1: Manufacturer: Linux 5.7.2-scotte ehci_hcd
[    1.031900] usb usb1: SerialNumber: 12580000.ehci
[    1.036989] hub 1-0:1.0: USB hub found
[    1.040342] hub 1-0:1.0: 3 ports detected
[    1.044869] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.050495] ohci-exynos: OHCI Exynos driver
[    1.054830] usbcore: registered new interface driver usb-storage
[    1.348662] hid: raw HID events driver (C) Jiri Kosina
[    1.405220] usb 1-2: new high-speed USB device number 2 using exynos-ehci
[    1.606577] usb 1-2: New USB device found, idVendor=0424, idProduct=9730, bcdDevice= 1.00
[    1.612585] usb 1-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.623027] smsc95xx v1.0.6
[    1.721591] smsc95xx 1-2:1.0 eth0: register 'smsc95xx' at usb-12580000.ehci-2, smsc95xx USB 2.0 Ethernet, ce:6a:2d:3a:a2:da
If I enable DWC2 (which is the right thing to do), then USB doesn't seem to probe at all, and I see errors related to dwc. :-/

Anyone have a working "modern" config I can compare against? (or have some clues about my current config that's attached? Note that it's headless/multimedia-less.)
Attachments
572_scotte-config.txt
(80.16 KiB) Downloaded 25 times

ScottE
Posts: 4
Joined: Thu Nov 20, 2014 1:47 am
languages_spoken: english
ODROIDs: ODROID-U2
Has thanked: 0
Been thanked: 0
Contact:

Re: Playing with upstream (Exynos4412)

Post by ScottE »

ScottE wrote:
Wed Jun 17, 2020 4:34 am
I have 5.7.x (current 5.7.2, ala vanilla-sources on Gentoo) working on my odroid-u2, but am struggling with USB. EHCI works enough for the NIC to work if I disable DWC2, but the external USB ports don't work (and looks like OHCI doesn't probe properly).
Looks like this patch at least fixes external USB up enough that I can use EHCI based umass and rtk network adapters:

Code: Select all

--- a/drivers/usb/core/message.c
+++ b/drivers/usb/core/message.c
@@ -2018,6 +2018,9 @@
                struct usb_interface *intf = cp->interface[i];

                if (intf->dev.of_node &&
+                   /* Fix odroud-u2/u3 USB
+                   From https://lore.kernel.org/lkml/26ff3deb-4b8d-7dd2-2418-d56f6dcea313@samsung.com/ */
+                   of_device_is_compatible(intf->dev.of_node, NULL) &&
                    !of_device_is_available(intf->dev.of_node)) {
                        dev_info(&dev->dev, "skipping disabled interface %d\n",
                                 intf->cur_altsetting->desc.bInterfaceNumber);


anatife
Posts: 18
Joined: Wed May 14, 2014 10:52 am
languages_spoken: english french spanish c c++ java perl python
ODROIDs: U3 , C1
Has thanked: 3 times
Been thanked: 0
Contact:

Re: Playing with upstream (Exynos4412)

Post by anatife »

I have a couple of problems and I hope someone can assist.

After the log-in screen, I get a blank screen. How to diagnose this? I am able to get a terminal (e.g. ctrl-alt-F2) if I don't log in. I have apt-get updated/upgraded.

Second problem, is it possible to resize the SD card to use the full space? I wrote hexdump's image to a 16 GB SD card.

It is *awesome* to have Debian Buster for my U3. Thank you, friends!

hexdump
Posts: 16
Joined: Sat Jan 26, 2019 12:37 am
languages_spoken: english, german
ODROIDs: odroid u3
Has thanked: 0
Been thanked: 11 times
Contact:

Re: Playing with upstream (Exynos4412)

Post by hexdump »

@anatife there is a script to extend the root fs to the full space of the sd card in /root - just run it and / should use all remaining space afterwards ...

btw. i have built new odroid images, which have a new u-boot (v2020.07) with /boot/uEnv.txt support and a separat dtb for the u3 (without the plus - called u3noplus) ... you can find them here: https://github.com/hexdump0815/imagebui ... /200719-01

i'm not reading this forum here regularly, so maybe consider opening an issue on the above git repo in case of problems or ideas, but please do not expect professional grade response times :)

more info: some notes about building mainline u-boot for the u3 and how to write it to sd or emmc: https://github.com/hexdump0815/u-boot-m ... readme.exy

best wishes - hexdump

anatife
Posts: 18
Joined: Wed May 14, 2014 10:52 am
languages_spoken: english french spanish c c++ java perl python
ODROIDs: U3 , C1
Has thanked: 3 times
Been thanked: 0
Contact:

Re: Playing with upstream (Exynos4412)

Post by anatife »

Hello hexdump, it's kind of you to reply! I know that you do this for fun and not for the riches. (o;

I did the resize commands manually and it worked well. Video is still not working but having Debian Buster with ssh is good enough for my needs.

I'll join your project on github. Thank you for the new images!

Post Reply

Return to “The Ideas”

Who is online

Users browsing this forum: No registered users and 1 guest