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 » Thu May 14, 2020 6:24 am

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 » Thu May 14, 2020 11:39 pm

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 » Mon Jun 01, 2020 6:53 pm

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

User avatar
meveric
Posts: 11080
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: 42 times
Been thanked: 383 times
Contact:

Re: Playing with upstream (Exynos4412)

Post by meveric » Tue Jun 02, 2020 12:35 am

the login is on the github page..
user: linux
password: changeme
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 » Tue Jun 02, 2020 6:14 am

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: 11080
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: 42 times
Been thanked: 383 times
Contact:

Re: Playing with upstream (Exynos4412)

Post by meveric » Tue Jun 02, 2020 3:15 pm

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 » Wed Jun 03, 2020 2:48 am

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: Odroid-U3
Location: Bulgaria
Has thanked: 3 times
Been thanked: 0
Contact:

Re: Playing with upstream (Exynos4412)

Post by 3dfx » Sat Jun 13, 2020 5:10 pm

@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 » 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).

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 15 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 » Sun Jun 21, 2020 3:43 am

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);


Post Reply

Return to “The Ideas”

Who is online

Users browsing this forum: No registered users and 1 guest