| Summary: | Mageia kernel does not boot on a Banan Pro ARM; enable serial option? | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Jybz <j.biernacki+mga> |
| Component: | RPM Packages | Assignee: | Kernel and Drivers maintainers <kernel> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | tmb |
| Version: | 7 | ||
| Target Milestone: | --- | ||
| Hardware: | armv7hl | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | kernel-desktop | CVE: | |
| Status comment: | |||
| Attachments: |
Log uboot, boot, root login, rpm -qa --last, poweroff
log : boot, root, ifconfig -a, poweroff |
||
|
Description
Jybz
2019-10-26 23:48:22 CEST
https://linux-sunxi.org/LeMaker_Banana_Pro http://www.banana-pi.org/ Assigning to kernel team. Assignee:
bugsquad =>
kernel Well, I think I have a workaround, instead of integrate it into the kernel, I will load it the initrd. But it has to be at least compiled as a module, at least. Is it possible to build only one driver without recompiling all the modules ? Sorry, I missed this report. I will update the configs for next build CC:
(none) =>
tmb Oh ! Thank you ! I set initrd to embedded this driver (that I'm currently trying to build automatically in the iso creation). And I met that CONFIG_MMC_SUNXI is built as a module and need also to be either built in the kernel, or in the initrd. TMB, do you have any suggestion ? Built in or as a module and embedded in initrd ? having it builtin makes it possible to boot from mmc without initrd Ok good, so please: can you add: CONFIG_SERIAL_8250_DW=y and change from module to kernel: CONFIG_MMC_SUNXI=y There are other drivers that the default configuration for banana Pro have and isn't even as module for Mageia : CONFIG_ROOT_NFS=y CONFIG_CPU_FREQ=y CONFIG_CPUFREQ_DT=y CONFIG_IP_PNP=y CONFIG_IP_PNP_DHCP=y CONFIG_IP_PNP_BOOTP=y CONFIG_CAN=y CONFIG_CAN_SUN4I=y CONFIG_STMMAC_ETH=y CONFIG_INPUT_AXP20X_PEK=y CONFIG_SERIAL_8250_DW=y CONFIG_SERIAL_OF_PLATFORM=y CONFIG_I2C_MV64XXX=y CONFIG_CHARGER_AXP20X=y CONFIG_BATTERY_AXP20X=y CONFIG_AXP20X_POWER=y CONFIG_CPU_THERMAL=y CONFIG_SUNXI_WATCHDOG=y CONFIG_MFD_AC100=y CONFIG_MFD_AXP20X_I2C=y CONFIG_MFD_AXP20X_RSB=y CONFIG_REGULATOR_AXP20X=y CONFIG_REGULATOR_GPIO=y CONFIG_RC_CORE=y CONFIG_RC_DEVICES=y CONFIG_DRM_DUMB_VGA_DAC=y CONFIG_USB_EHCI_HCD_PLATFORM=y CONFIG_USB_OHCI_HCD_PLATFORM=y CONFIG_USB_GADGET=y CONFIG_LEDS_GPIO=y CONFIG_RTC_DRV_AC100=y CONFIG_AXP20X_ADC=y It boots without, but I don't know if they are important. Does it worth to build them as module ? I will review them Will it only be on mga8/cauldron or also on mga7 ? I see, you already did the modification on cauldron. It will come to mga7 too, but I make all changes Cauldron first... The new thing for Mga7 is that kernels stays in sync with Cauldron kernel-5.3.10-1 is now building for both Cauldron and Mga7 (In reply to Thomas Backlund from comment #3) > Sorry, I missed this report. Glad to see you on this one! Thanks. CC:
lewyssmith =>
(none) Created attachment 11352 [details]
Log uboot, boot, root login, rpm -qa --last, poweroff
Hello!
Find in attachment the last log.
I build the image using the kernel in update_testing,
it boots correctly (I guess), I could log and shutdown.
Before closing that bug report, is there something I have to check ?
Should I write to the QA list and ask if there is any process to check if it works well (or not) ?
Thank you all for everything!
What should I do with this Mageia image? Is someone willing to write a blog article?
Jybz
First bad point, no ethernet connection. Prio this specification : http://www.lemaker.org/product-bananapro-specification.html Ethernet Port : 10/100/1000Mbps ethernet (Realtek RTL8211E/D) I didn't find any Realtek RTL8211E/D driver in Mageia repo yet. (In reply to Jybz from comment #13) > First bad point, no ethernet connection. > > Prio this specification : > http://www.lemaker.org/product-bananapro-specification.html > Ethernet Port : 10/100/1000Mbps ethernet (Realtek RTL8211E/D) > > I didn't find any Realtek RTL8211E/D driver in Mageia repo yet. Can you provide output of lspcidrake -v and lsusb Actually, that is a RGMII PHY that should be supported by current kernels, I will look if we still miss something [root@bananaPro ~]# lsusb Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub [root@bananaPro ~]# lspcidrake -v hub : Linux 5.3.10-desktop-1.mga7 ehci_hcd|EHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0002) hub : Linux 5.3.10-desktop-1.mga7 ohci_hcd|Generic Platform OHCI controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001) hub : Linux 5.3.10-desktop-1.mga7 ehci_hcd|EHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0002) hub : Linux 5.3.10-desktop-1.mga7 ohci_hcd|Generic Platform OHCI controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001) [root@bananaPro ~]# ok, we are missing vendor_stmicro and the stmmac driver to link up the phy Oh do you mean : CONFIG_NET_VENDOR_STMICRO CONFIG_STMMAC_ETH CONFIG_STMMAC_PLATFORM CONFIG_DWMAC_GENERIC CONFIG_DWMAC_SUNXI <- this one ? (By the way, I saw few user trying usb-wifi dongles, with rtl, does this option be interresting ? CONFIG_RTL8XXXU_UNTESTED ) A kernel-5.3.10-2.mga7 is now building that should fix the missing network Created attachment 11354 [details]
log : boot, root, ifconfig -a, poweroff
Hi tmb !
I boot and could see that the ethernet interface was there. Unfortunately, I can not check if it correctly works (with a plugged cable) for few day, hopefully this weekend.
I saw your log message ( 1459324 - ARM: sunxi: Fix CPU powerdown on A83T )
is it related to the "bad message" at the end after power down ?
If yes, it didn't affect the behaviour (also in attachment).
cheers
Confirmation ! The ethernet connexion works well. Status:
NEW =>
RESOLVED |