Friday, August 24, 2018

[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/Docs/porting-guide
> _______________________________________________
> arm mailing list -- arm@lists.fedoraproject.org
> To unsubscribe send an email to arm-leave@lists.fedoraproject.org
> 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/arm@lists.fedoraproject.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
_______________________________________________
arm mailing list -- arm@lists.fedoraproject.org
To unsubscribe send an email to arm-leave@lists.fedoraproject.org
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/arm@lists.fedoraproject.org/message/CWFLIDYED7CYWSTIZ54MU2FYNWCHOS3N/

No comments:

Post a Comment