Am 2018-08-24 14:17, schrieb Vince Geze:
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Friday, August 24, 2018 1:39 PM
To: Vince Geze <[email protected]>
Cc: [email protected]
Subject: Re: [fedora-arm] Re: F28 on odroid XU4

Am 2018-08-24 12:09, schrieb Vince Geze:
--snip--
>
> Well, after countless reboots it seems to be even more simple.
> - USB3: preloading xhci-plat-hcd, which already is in the initramfs,
> is sufficient to get proper USB3 operation and the r8152 at full speed
> as well
> - CPU HMP: this one I already knew was linked to the
> CONFIG_BL_SWITCHER. On [1] it is mentioned there are both sysfs and
> kernel boot options to control this behavior. The sysfs path exists
> and with lscpu you can see all 8 cores being put online. The kernel
> boot command however turned out to be incorrect, but after some
> digging I found you only need "no_bL_switcher" as boot option.
>
> Since the board will be used headless, I also enabled the blinking led
> by preloading ledtrig-heartbeat, but this needs to be included in a
> /etc/dracut.conf.d/ conf file with 'add_drivers+=" ledtrig-heartbeat
> "'. The blinking frequency also gives an indication of the load.
>
> The final boot line now looks like this:
> append ro rd.driver.pre=ledtrig-heartbeat,xhci-plat-hcd
> root=UUID=your_UUID cpuidle.off=1 no_bL_switcher console=tty1
> console=ttySAC2,115200n8
>
> Result:
> - systematically correct detection of USB3
> - performance improvement by enabling all cpus
> - indication whether the system is alive or not
> - no need for recompiling kernels, only boot time options and an
> optional dracut inclusion
>
> Best regards,
>
> Vince
>
> [1]
> https://wiki.linaro.org/projects/big.LITTLE.MP/Big.Little.Switcher/Doc
> s/porting-guide
_______________________________________________
> arm mailing list -- [email protected] To unsubscribe send an
> email to [email protected] Fedora Code of Conduct:
> https://getfedora.org/code-of-conduct.html
> List Guidelines:
> https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/[email protected].
> org/message/Y7EMT5B5HYSV3SX533YZZHOOEOMRHNFZ/

Hello Vince,

I must say thank you !

With your work I can enable all 8 CPUs on my Odroid HC1.

lscpu before:
[root@odroidh1 ~]# lscpu
Architektur:                   armv7l
Byte-Reihenfolge:              Little Endian
CPU(s):                        8
Liste der Online-CPU(s):       0-3
Liste der Offline-CPU(s):      4-7
Thread(s) pro Kern:            1
Kern(e) pro Socket:            4
Sockel:                        1

lscpu after:
Architektur:                   armv7l
Byte-Reihenfolge:              Little Endian
CPU(s):                        8
Liste der Online-CPU(s):       0-7
Thread(s) pro Kern:            1
Kern(e) pro Socket:            4
Sockel:                        2

Greetings
Andreas

Hi Andreas,

Glad to hear it's working on your side as well. Could you also check the number at the end of the r8152 line in lsusb -t with the default boot line
without preloads? Is it 480M or 5000M?

Best regards,

Vince

System without your modifikation:

[root@odroidh1 ~]# lsusb -t
/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=r8152, 480M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=uas, 5000M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
[root@odroidh1 ~]#

System with your modifikation:

[root@odroidh2 ~]# lsusb -t
/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=r8152, 480M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=uas, 5000M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
[root@odroidh2 ~]#

Systems are identical: Odroid HC1 with update Fedora 28

Andreas
_______________________________________________
arm mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]/message/75FYHT4M7VFAD66JHUIZK5C3QSTV2DXQ/

Reply via email to