Re: F28 on odroid XU4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> -----Original Message-----
> From: Andreas Reschke [mailto:arm_ml@xxxxxxxxxxx]
> Sent: Saturday, August 25, 2018 11:50 AM
> To: Vince Geze <vincegeze@xxxxxxxxx>
> Cc: arm@xxxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [fedora-arm] Re: F28 on odroid XU4
> 
> 
> 
> Am 24.08.2018 um 15:15 schrieb Vince Geze:
> >
> >> -----Original Message-----
> >> From: arm_ml@xxxxxxxxxxx [mailto:arm_ml@xxxxxxxxxxx]
> >> Sent: Friday, August 24, 2018 2:45 PM
> >> To: Vince Geze <vincegeze@xxxxxxxxx>
> >> Cc: arm@xxxxxxxxxxxxxxxxxxxxxxx
> >> Subject: Re: [fedora-arm] Re: F28 on odroid XU4
> >>
> >> Am 2018-08-24 14:37, schrieb Vince Geze:
> >>>> -----Original Message-----
> >>>> From: arm_ml@xxxxxxxxxxx [mailto:arm_ml@xxxxxxxxxxx]
> >>>> Sent: Friday, August 24, 2018 2:27 PM
> >>>> To: Vince Geze <vincegeze@xxxxxxxxx>
> >>>> Cc: arm@xxxxxxxxxxxxxxxxxxxxxxx
> >>>> Subject: Re: [fedora-arm] Re: F28 on odroid XU4
> >>>>
> >>>> Am 2018-08-24 14:17, schrieb Vince Geze:
> >>>>>> -----Original Message-----
> >>>>>> From: arm_ml@xxxxxxxxxxx [mailto:arm_ml@xxxxxxxxxxx]
> >>>>>> Sent: Friday, August 24, 2018 1:39 PM
> >>>>>> To: Vince Geze <vincegeze@xxxxxxxxx>
> >>>>>> Cc: arm@xxxxxxxxxxxxxxxxxxxxxxx
> >>>>>> 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.Switch
> >>>>>>> er/
> >>>>>>> Doc
> >>>>>>> s/porting-guide
> >>>>>> _______________________________________________
> >>>>>>> arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe
> >>>>>>> send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx 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
> >>>>> 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
> >>> Hi Andreas,
> >>>
> >>> Looks like the storage is working at USB3 speed, but the Ethernet at
> >>> USB2.
> >>> Have you included the xhci preload at the modified boot line?
> >>>
> >>> Best regards,
> >>>
> >>> Vince
> >> Yes of course:
> >> [root@odroidh2 ~]# cat /boot/extlinux/extlinux.conf # extlinux.conf
> >> generated by appliance-creator ui menu.c32 menu autoboot Welcome to
> >> Fedora-Minimal-armhfp-28-1.1. Automatic boot in # second{,s}. Press a
> >> key for options.
> >> menu title Fedora-Minimal-armhfp-28-1.1 Boot Options.
> >> menu hidden
> >> timeout 20
> >> totaltimeout 600
> >>
> >> default=Fedora (4.17.14-202.fc28.armv7hl) 28 (Twenty Eight) label
> >> Fedora
> >> (4.17.14-202.fc28.armv7hl) 28 (Twenty Eight)
> >>           kernel /vmlinuz-4.17.14-202.fc28.armv7hl
> >>           append ro rd.driver.pre=ledtrig-heartbeat,xhci-plat-hcd
> >> root=UUID=cf0c90a1-25e4-429b-a77e-b9b4f3802258 cpuidle.off=1
> >> LANG=de_DE.UTF-8 no_bL_switcher console=tty1 console=ttySAC2,1152
> >> 00n8
> >>           fdtdir /dtb-4.17.14-202.fc28.armv7hl/
> >>           initrd /initramfs-4.17.14-202.fc28.armv7hl.img
> >>
> >> [root@odroidh2 ~]#
> >>
> >> I've edit this line with the older kernel before I updated the system
> >> this kernel.
> >>
> >> Andreas
> > Hi Andreas,
> >
> > Have you removed power completely between reboots, meaning
> physically
> > unplug power at board side for 5-10 seconds such that all leds are
> > dimmed? I have the impression not every component is fully or
> > correctly reset if you just do an init 6. It would be quite
> > interesting to know if that could be the issue with the r8152 driver,
> > since, except for the heartbeat, adding those options to the original
> > 4.16 kernel of the F28 image without any dracut initramfs regeneration was
> sufficient on my device.
> >
> > Best regards,
> >
> > Vince
> >
> 
> Hello Vince,
> after newest kernel update and poweroff for 1 minute:
> 
> [root@odroidh2 ~]# lsusb -t
> /:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
>      |__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M
> /:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 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 ~]# uname -a
> Linux odroidh2.reschke.lan 4.17.17-200.fc28.armv7hl #1 SMP Mon Aug 20
> 17:31:32 UTC 2018 armv7l armv7l armv7l GNU/Linux
> [root@odroidh2 ~]#
> 
> Greetings
> Andreas

Hi Andreas,

Thanks for the feedback, looks like both storage and Ethernet are connected as USB3 now.
Out of curiosity, are you running from SD or eMMC? I'm still using SD for testing, but once I got everything covered I'd like to switch to eMMC.

Best regards,

Vince
_______________________________________________
arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM (Vger)]     [Linux ARM]     [ARM Kernel]     [Fedora User Discussion]     [Older Fedora Users Discussion]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

Powered by Linux