Connexion

Forum

Système et matériels » Autres matériels et périphériques port sur banana-pi/pro Cherche de l'aide

Jybz Membre non connecté

Rang

Avatar

Modérateur

Inscrit le : 10/10/2018 à 10h26

Messages: 1852

Le 19/10/2019 à 12h48

Reprise du message précédent

Mieux encore, j'avais oublié de préciser bootargs !

Code BASH :
U-Boot SPL 2019.10-rc4-00037-gdac51e9aaf (Oct 13 2019 - 12:47:46 +0200)
DRAM: 1024 MiB
CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
Trying to boot from MMC1
 
 
U-Boot 2019.10-rc4-00037-gdac51e9aaf (Oct 13 2019 - 12:47:46 +0200) Allwinner Technology For Mageia
 
CPU:   Allwinner A20 (SUN7I)
Model: LeMaker Banana Pro
I2C:   ready
DRAM:  1 GiB
MMC:   mmc@1c0f000: 0, mmc@1c12000: 1
Loading Environment from EXT4... ** File not found /boot/uboot.env **
 
** Unable to read "/boot/uboot.env" from mmc0:1 **
In:    serial
Out:   serial
Err:   serial
Net:   eth0: ethernet@1c50000
starting USB...
No working controllers found
Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
$ setenv bootargs console=ttyS0,115200 disp.screen0_output_mode=EDID:1024x768p50 hdmi.audio=EDID:0 root=/dev/mmcblk0p1 rootfstype=ext4 elevator=deadline rootwait
$ ext4load mmc 0:1 0x40008000 /boot/vmlinuz
3175896 bytes read in 176 ms (17.2 MiB/s)
$ ext4load mmc 0:1 0x48000000 /boot/sun7i-a20-bananapro.dtb
25166 bytes read in 4 ms (6 MiB/s)
$ bootz 0x40008000 - 0x48000000
## Flattened Device Tree blob at 48000000
   Booting using the fdt blob at 0x48000000
   Loading Device Tree to 49ff6000, end 49fff24d ... OK
 
Starting kernel ...
 
�    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.0-rc3 (jibz@jabztop) (gcc version 8.2.1 20181105 (Red Hat Cross 8.2.1-2) (GCC)) #1 SMP Fri Oct 18 19:47:18 CEST 2019
[    0.000000] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: LeMaker Banana Pro
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created CMA memory pool at 0x4a000000, size 96 MiB
[    0.000000] OF: reserved mem: initialized node default-pool, compatible id shared-dma-pool
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: Using PSCI v0.1 Function IDs from DT
[    0.000000] percpu: Embedded 15 pages/cpu s30604 r8192 d22644 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 260608
[    0.000000] Kernel command line: console=ttyS0,115200 disp.screen0_output_mode=EDID:1024x768p50 hdmi.audio=EDID:0 root=/dev/mmcblk0p1 rootfstype=ext4 elevator=deadline rootwait
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 930964K/1048576K available (6144K kernel code, 436K rwdata, 1696K rodata, 1024K init, 242K bss, 19308K reserved, 98304K cma-reserved, 262144K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] random: get_random_bytes called from start_kernel+0x2ac/0x43c with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000020] Switching to timer-based delay loop, resolution 41ns
[    0.000429] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000736] clocksource: hstimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370868154 ns
[    0.000995] Console: colour dummy device 80x30
[    0.001053] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.001068] pid_max: default: 32768 minimum: 301
[    0.001227] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.001245] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.002056] CPU: Testing write buffer coherency: ok
[    0.002495] /cpus/cpu@0 missing clock-frequency property
[    0.002517] /cpus/cpu@1 missing clock-frequency property
[    0.002533] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.003130] Setting up static identity map for 0x40100000 - 0x40100060
[    0.003282] rcu: Hierarchical SRCU implementation.
[    0.003843] smp: Bringing up secondary CPUs ...
[    0.014622] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.014786] smp: Brought up 1 node, 2 CPUs
[    0.014804] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[    0.014810] CPU: All CPU(s) started in HYP mode.
[    0.014815] CPU: Virtualization extensions available.
[    0.015518] devtmpfs: initialized
[    0.021685] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 4
[    0.021993] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.022023] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.025632] pinctrl core: initialized pinctrl subsystem
[    0.026798] NET: Registered protocol family 16
[    0.028273] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.029532] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.029547] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.048295] SCSI subsystem initialized
[    0.048844] usbcore: registered new interface driver usbfs
[    0.048921] usbcore: registered new interface driver hub
[    0.048989] usbcore: registered new device driver usb
[    0.049259] pps_core: LinuxPPS API ver. 1 registered
[    0.049267] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.049289] PTP clock support registered
[    0.049559] Advanced Linux Sound Architecture Driver Initialized.
[    0.050648] clocksource: Switched to clocksource arch_sys_counter
[    0.058826] thermal_sys: Registered thermal governor 'step_wise'
[    0.059312] NET: Registered protocol family 2
[    0.059908] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.059942] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.060032] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.060169] TCP: Hash tables configured (established 8192 bind 8192)
[    0.060303] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.060372] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.060607] NET: Registered protocol family 1
[    0.061418] RPC: Registered named UNIX socket transport module.
[    0.061435] RPC: Registered udp transport module.
[    0.061441] RPC: Registered tcp transport module.
[    0.061446] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.062128] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[    0.062408] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    0.064025] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    0.071939] NFS: Registering the id_resolver key type
[    0.071986] Key type id_resolver registered
[    0.071995] Key type id_legacy registered
[    0.072099] bounce: pool size: 64 pages
[    0.072149] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.072160] io scheduler mq-deadline registered
[    0.072167] io scheduler kyber registered
[    0.073565] sun4i-usb-phy 1c13400.phy: Couldn't get regulator usb1_vbus... Deferring probe
[    0.077276] sun4i-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.138105] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.140133] sun4i-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pb not found, using dummy regulator
[    0.141251] printk: console [ttyS0] disabled
[    0.161464] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 48, base_baud = 1500000) is a U6_16550A
[    0.783496] printk: console [ttyS0] enabled
[    0.788165] sun4i-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-ph not found, using dummy regulator
[    0.818781] 1c29000.serial: ttyS1 at MMIO 0x1c29000 (irq = 49, base_baud = 1500000) is a U6_16550A
[    0.828217] sun4i-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pi not found, using dummy regulator
[    0.858783] 1c29c00.serial: ttyS2 at MMIO 0x1c29c00 (irq = 50, base_baud = 1500000) is a U6_16550A
[    0.980695] ahci-sunxi 1c18000.sata: controller can't do PMP, turning off CAP_PMP
[    0.988185] ahci-sunxi 1c18000.sata: forcing PORTS_IMPL to 0x1
[    0.994099] ahci-sunxi 1c18000.sata: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
[    1.003073] ahci-sunxi 1c18000.sata: flags: ncq sntf pm led clo only pio slum part ccc 
[    1.012132] scsi host0: ahci-sunxi
[    1.015997] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 36
[    1.025865] libphy: Fixed MDIO Bus: probed
[    1.029970] CAN device driver interface
[    1.034442] sun4i-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pa not found, using dummy regulator
[    1.044269] sun7i-dwmac 1c50000.ethernet: IRQ eth_wake_irq not found
[    1.050673] sun7i-dwmac 1c50000.ethernet: IRQ eth_lpi not found
[    1.056696] sun7i-dwmac 1c50000.ethernet: PTP uses main clock
[    1.062469] sun7i-dwmac 1c50000.ethernet: no reset control found
[    1.069289] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.075873] ehci-platform: EHCI generic platform driver
[    1.081552] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.087753] ohci-platform: OHCI generic platform driver
[    1.095225] sunxi-rtc 1c20d00.rtc: registered as rtc0
[    1.100417] i2c /dev entries driver
[    1.104979] axp20x-i2c 0-0034: AXP20x variant AXP209 found
[    1.125388] input: axp20x-pek as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0034/axp20x-pek/input/input0
[    1.135329] axp20x-regulator axp20x-regulator: regulators node not found
[    1.142092] ldo1: supplied by regulator-dummy
[    1.146707] ldo2: supplied by regulator-dummy
[    1.151781] ldo3: supplied by regulator-dummy
[    1.156774] ldo4: supplied by regulator-dummy
[    1.161351] ldo5: supplied by regulator-dummy
[    1.166359] dcdc2: supplied by regulator-dummy
[    1.171460] dcdc3: supplied by regulator-dummy
[    1.177057] axp20x-i2c 0-0034: AXP20X driver loaded
[    1.183490] Registered IR keymap rc-empty
[    1.187609] rc rc0: sunxi-ir as /devices/platform/soc/1c21800.ir/rc/rc0
[    1.194455] input: sunxi-ir as /devices/platform/soc/1c21800.ir/rc/rc0/input1
[    1.202092] sunxi-ir 1c21800.ir: initialized sunXi IR driver
[    1.209020] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.219831] sun4i-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[    1.230380] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[    1.260486] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    1.268627] sunxi-mmc 1c12000.mmc: allocated mmc-pwrseq
[    1.299266] sunxi-mmc 1c12000.mmc: initialized, max. request size: 16384 KB
[    1.302384] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.306875] sun4i-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pg not found, using dummy regulator
[    1.317295] mmc0: new high speed SDHC card at address 5048
[    1.324536] sun4i-ss 1c15000.crypto-engine: Die ID 0
[    1.330189] mmcblk0: mmc0:5048 SD32G 29.0 GiB 
[    1.338024] usbcore: registered new interface driver usbhid
[    1.344457] usbhid: USB HID core driver
[    1.346982]  mmcblk0: p1
[    1.351023] ata1: SATA link down (SStatus 0 SControl 300)
[    1.356923] random: fast init done
[    1.363557] debugfs: Directory '1c22c00.codec' with parent 'sun4i-codec' already present!
[    1.373414] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    1.381689] NET: Registered protocol family 17
[    1.386164] can: controller area network core (rev 20170425 abi 9)
[    1.392487] NET: Registered protocol family 29
[    1.396933] can: raw protocol (rev 20170425)
[    1.401216] can: broadcast manager protocol (rev 20170425 t)
[    1.406876] can: netlink gateway (rev 20190810) max_hops=1
[    1.412641] Key type dns_resolver registered
[    1.417082] Registering SWP/SWPB emulation handler
[    1.437244] sun4i-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pa not found, using dummy regulator
[    1.447099] sun7i-dwmac 1c50000.ethernet: IRQ eth_wake_irq not found
[    1.453482] sun7i-dwmac 1c50000.ethernet: IRQ eth_lpi not found
[    1.459514] sun7i-dwmac 1c50000.ethernet: PTP uses main clock
[    1.465289] sun7i-dwmac 1c50000.ethernet: no reset control found
[    1.477162] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    1.484190] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.491166] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.499341] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    1.520262] mmc1: new high speed SDIO card at address 0001
[    1.590914] sun7i-dwmac 1c50000.ethernet: Version ID not available
[    1.597106] sun7i-dwmac 1c50000.ethernet:    DWMAC1000
[    1.602110] sun7i-dwmac 1c50000.ethernet: DMA HW capability register supported
[    1.609325] sun7i-dwmac 1c50000.ethernet: Normal descriptors
[    1.614996] sun7i-dwmac 1c50000.ethernet: Ring mode enabled
[    1.620811] libphy: stmmac: probed
[    1.626170] ehci-platform 1c14000.usb: EHCI Host Controller
[    1.631828] ehci-platform 1c14000.usb: new USB bus registered, assigned bus number 1
[    1.639891] ehci-platform 1c14000.usb: irq 33, io mem 0x01c14000
[    1.680648] ehci-platform 1c14000.usb: USB 2.0 started, EHCI 1.00
[    1.687680] hub 1-0:1.0: USB hub found
[    1.691508] hub 1-0:1.0: 1 port detected
[    1.696375] ehci-platform 1c1c000.usb: EHCI Host Controller
[    1.702022] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 2
[    1.710086] ehci-platform 1c1c000.usb: irq 37, io mem 0x01c1c000
[    1.740663] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[    1.747614] hub 2-0:1.0: USB hub found
[    1.751447] hub 2-0:1.0: 1 port detected
[    1.756318] ohci-platform 1c14400.usb: Generic Platform OHCI controller
[    1.762994] ohci-platform 1c14400.usb: new USB bus registered, assigned bus number 3
[    1.771038] ohci-platform 1c14400.usb: irq 34, io mem 0x01c14400
[    1.845520] hub 3-0:1.0: USB hub found
[    1.849319] hub 3-0:1.0: 1 port detected
[    1.854228] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[    1.860920] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 4
[    1.869354] ohci-platform 1c1c400.usb: irq 38, io mem 0x01c1c400
[    1.945524] hub 4-0:1.0: USB hub found
[    1.949320] hub 4-0:1.0: 1 port detected
[    1.953791] sunxi-rtc 1c20d00.rtc: setting system clock to 1970-01-01T00:00:25 UTC (25)
[    1.962210] ALSA device list:
[    1.965184]   #0: sun4i-codec
[    1.981438] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[    1.989608] VFS: Mounted root (ext4 filesystem) readonly on device 179:1.
[    1.998536] devtmpfs: mounted
[    2.002716] Freeing unused kernel memory: 1024K
[    2.010811] Run /sbin/init as init process
[    2.496357] systemd[1]: System time before build time, advancing clock.
[    2.533898] systemd[1]: Failed to lookup module alias 'autofs4': Function not implemented
[    2.580292] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN -PCRE2 default-hierarchy=)
[    2.602558] systemd[1]: Detected architecture arm.
 
Welcome to Mageia 7!
 
[    2.646977] systemd[1]: Set hostname to <pi.raspberry>.
[    2.972819] systemd[1]: File /usr/lib/systemd/system/systemd-journald.service:12 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[    2.990295] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[    3.445516] random: systemd: uninitialized urandom read (16 bytes read)
[    3.454870] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[  OK  ] Listening on Device-mapper event daemon FIFOs.
[    3.490947] random: systemd: uninitialized urandom read (16 bytes read)
[    3.497678] systemd[1]: Reached target RPC Port Mapper.
[  OK  ] Reached target RPC Port Mapper.
[    3.554664] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
[    3.562884] random: systemd: uninitialized urandom read (16 bytes read)
[    3.569596] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[    3.602380] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Reached target Slices.
[  OK  ] Listening on Process Core Dump Socket.
[  OK  ] Started Forward Password R��…uests to Wall Directory Watch.
[  OK  ] Listening on Journal Socket.
         Mounting Kernel Debug File System...
         Starting udev Coldplug all Devices...
         Starting Load legacy module configuration...
         Starting Load Kernel Modules...
         Starting Journal Service...
         Starting Remount Root and Kernel File Systems...
         Mounting Temporary Directory (/tmp)...
         Starting Setup Virtual Console...
[  OK  ] Reached target Remote File Systems.
[  OK  ] Mounted Kernel Debug File System.
[    4.350876] EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
[  OK  ] Started Load legacy module configuration.
[  OK  ] Started Journal Service.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Mounted Temporary Directory (/tmp).
[  OK  ] Started Setup Virtual Console.
         Starting Rebuild Hardware Database...
         Starting Configure read-only root support...
         Starting Create System Users...
         Starting Apply Kernel Variables...
         Starting Flush Journal to Persistent Storage...
[  OK  ] Started Create System Users.
         Starting Create Static Device Nodes in /dev...
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Configure read-only root support.
         Starting Load/Save Random Seed...
[    4.954111] systemd-journald[98]: Received request to flush runtime journal from PID 1
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Started udev Coldplug all Devices.
         Starting udev Wait for Complete Device Initialization...
[  OK  ] Started Rebuild Hardware Database.
         Starting udev Kernel Device Manager...
[  OK  ] Started udev Kernel Device Manager.
         Starting Show Plymouth Boot Screen...
[  OK  ] Started Show Plymouth Boot Screen.
[  OK  ] Started Forward Password R��…s to Plymouth Directory Watch.
[  OK  ] Reached target Paths.
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Reached target Sound Card.
[  OK  ] Started udev Wait for Complete Device Initialization.
         Starting Activation of LVM2 logical volumes...
[  OK  ] Started Activation of LVM2 logical volumes.
[  OK  ] Reached target Local Encrypted Volumes.
         Starting Activation of LVM2 logical volumes...
[  OK  ] Started Activation of LVM2 logical volumes.
         Starting Monitoring of LVM�…meventd or progress polling...
[  OK  ] Started Monitoring of LVM2�… dmeventd or progress polling.
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Reached target Local File Systems.
         Starting Tell Plymouth To Write Out Runtime Data...
         Starting Restore /run/initramfs on shutdown...
         Starting Create Volatile Files and Directories...
         Starting Rebuild Dynamic Linker Cache...
         Starting Reconfigure the s��…em on administrator request...
[  OK  ] Started Tell Plymouth To Write Out Runtime Data.
[  OK  ] Started Restore /run/initramfs on shutdown.
[  OK  ] Started Create Volatile Files and Directories.
         Starting Rebuild Journal Catalog...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started Rebuild Journal Catalog.
[  OK  ] Started Reconfigure the system on administrator request.
[  OK  ] Started Rebuild Dynamic Linker Cache.
         Starting Update is Completed...
[  OK  ] Started Update is Completed.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
         Starting OpenSSH Server Key Generation...
         Starting NTP client/server...
         Starting LSB: Nameserver information manager...
         Starting LSB: Checks if a ��…rtition is close to full up...
         Starting D-Bus System Message Bus...
         Starting Login Service...
         Starting LSB: Wait for the hotplugged network to be up...
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Started Login Service.
[  OK  ] Started NTP client/server.
[   16.896405] sun7i-dwmac 1c50000.ethernet eth0: PHY [stmmac-0:01] driver [Generic PHY]
[   16.921041] sun7i-dwmac 1c50000.ethernet eth0: No Safety Features support found
[   16.928393] sun7i-dwmac 1c50000.ethernet eth0: RX IPC Checksum Offload disabled
[   16.935797] sun7i-dwmac 1c50000.ethernet eth0: No MAC Management Counters available
[   16.943516] sun7i-dwmac 1c50000.ethernet eth0: PTP not supported by HW
[   16.950059] sun7i-dwmac 1c50000.ethernet eth0: configuring for phy/rgmii link mode
[  OK  ] Started LSB: Nameserver information manager.
         Starting LSB: Bring up/down networking...
[  OK  ] Started LSB: Checks if a partition is close to full up.
[  OK  ] Started LSB: Bring up/down networking.
[  OK  ] Started OpenSSH Server Key Generation.
[  OK  ] Started LSB: Wait for the hotplugged network to be up.
[  OK  ] Reached target Network.
         Starting OpenSSH server daemon...
         Starting Permit User Sessions...
[  OK  ] Reached target Host and Network Name Lookups.
[  OK  ] Reached target Network is Online.
[  OK  ] Started Permit User Sessions.
         Starting Hold until boot process finishes up...
[  OK  ] Started Command Scheduler.
         Starting Terminate Plymouth Boot Screen...
 
Mageia release 7 (Official) for armv7hl
Kernel 5.4.0-rc3 on a Dual-processor armv7l / ttyS0
pi login: bananapro
Password: [   32.490684] vcc3v0: disabling
[   32.493673] vcc5v0: disabling
 
Login incorrect
 
pi login: banana
Password: 
Login incorrect
 
pi login: banana
Password: 
Login incorrect
 
pi login: [   69.864339] random: crng init done
[   69.867760] random: 7 urandom warning(s) missed due to ratelimiting
banana
Password: 
Login incorrect
 
pi login: banana
Password: 
login: timed 
Mageia release 7 (Official) for armv7hl
Kernel 5.4.0-rc3 on a Dual-processor armv7l / ttyS0
pi login: banana
Password: 
Login incorrect
 
pi login: root
Password: 
Login incorrect
 
pi login: login: timed o
Mageia release 7 (Official) for armv7hl
Kernel 5.4.0-rc3 on a Dual-processor armv7l / ttyS0
pi login: 
 


Mais ne rigolez pas, les logins et mots de passes ne marchent pas...
   
Jybz Membre non connecté

Rang

Avatar

Modérateur

Inscrit le : 10/10/2018 à 10h26

Messages: 1852

Le 19/10/2019 à 13h08
Code BASH :
Mageia release 7 (Official) for armv7hl
Kernel 5.4.0-rc3 on a Dual-processor armv7l / ttyS0
pi login: bananaPro
Password: 
[  774.253303] systemd-journald[149]: Failed to set ACL on /var/log/journal/968f86691e66406c971e0269623fd2be/user-1000.journal, ignoring: Operation not supported
[bananaPro@pi ~]$ uname -a
Linux pi.raspberry 5.4.0-rc3 #1 SMP Fri Oct 18 19:47:18 CEST 2019 armv7l armv7l armv7l GNU/Linux
[bananaPro@pi ~]$ cat /etc/product.id
vendor=Mageia.Org,distribution=Mageia,type=Basic,version=7,branch=Official,release=7,arch=armv7hl,product=Default
[bananaPro@pi ~]$ 
 
   
Papoteur Membre non connecté

Rang

Avatar

Modérateur Équipe Mageia

Inscrit le : 03/10/2011 à 22h16

Localisation : Metz

Messages: 6716

Le 19/10/2019 à 14h06
Bravo, sacré progrès !
Donc avec un autre noyau que celui fourni par Mageia ?


Yves
   
Jybz Membre non connecté

Rang

Avatar

Modérateur

Inscrit le : 10/10/2018 à 10h26

Messages: 1852

Le 19/10/2019 à 14h38
Papoteur :
Donc avec un autre noyau que celui fourni par Mageia ?

Oui... Et non...
J'ai directement pris le noyau de Linux sur kernel.org, le prochain noyau de Mageia.
linux-5.4-rc3
Effectivement, ce n'est pas le BS de Mageia.Org qui l'a fait. Il n'a pas le "tuning" mageia. C'est juste celui par défaut.
   
Jybz Membre non connecté

Rang

Avatar

Modérateur

Inscrit le : 10/10/2018 à 10h26

Messages: 1852

Le 26/10/2019 à 19h50
C'est étrange, même avec toutes les informations :

Spec de Mageia :
http://svnweb.mageia.org/packages/updates/7/kernel/current/SPECS/kernel.spec?view=markup

Def conf arm de Mageia :
http://svnweb.mageia.org/packages/updates/7/kernel/current/SOURCES/defconfig-arm-desktop?view=markup

et la conf par défaut pour sunxi,
ici https://github.com/torvalds/linux/blob/master/arch/arm/configs/sunxi_defconfig
ou là https://elixir.bootlin.com/linux/v5.4-rc2/source/arch/arm/configs/sunxi_defconfig
ou ...

Mais je suis incapable de comprendre pourquoi le noyau ne démarre pas.
Je me pose même la question si bootz est la bonne commande pour ce noyau... Mais je n'en vois pas d'autre.

En comparaissant les defconf, je remarque ces lignes passé d'intégré au noyau déplacé en module :
Code TEXT :
CONFIG_SUN4I_EMAC=y
CONFIG_INPUT_EVDEV=y
CONFIG_KEYBOARD_SUN4I_LRADC=y
CONFIG_TOUCHSCREEN_SUN4I=y
CONFIG_I2C_CHARDEV=y
CONFIG_I2C_SUN6I_P2WI=y
CONFIG_SPI_SUN4I=y
CONFIG_SPI_SUN6I=y
CONFIG_MEDIA_SUPPORT=y
CONFIG_IR_SUNXI=y
CONFIG_DRM=y
CONFIG_DRM_SUN4I=y
CONFIG_SOUND=y
CONFIG_SND=y
CONFIG_SND_SOC=y
CONFIG_SND_SUN4I_CODEC=y
CONFIG_USB_MUSB_HDRC=y
CONFIG_USB_MUSB_SUNXI=y
CONFIG_NOP_USB_XCEIV=y
CONFIG_MMC_SUNXI=y
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
CONFIG_RTC_DRV_SUNXI=y
CONFIG_DMA_SUN6I=y
CONFIG_IIO=y
CONFIG_PWM_SUN4I=y
CONFIG_PHY_SUN4I_USB=y
CONFIG_PHY_SUN9I_USB=y
CONFIG_NVMEM_SUNXI_SID=y
CONFIG_VFAT_FS=y
CONFIG_NFS_FS=y
CONFIG_NFS_V4=y
CONFIG_NLS_CODEPAGE_437=y
CONFIG_NLS_ISO8859_1=y
CONFIG_CRYPTO_DEV_SUN4I_SS=y

Je suppose que ce n'est pas important de les déplacer en modules.

Je remarque que ces lignes, au lieu de ne pas être non définie, elles sont manquantes de la defconf chez Mageia.
Code TEXT :
# CONFIG_INET_DIAG is not set
# CONFIG_IPV6 is not set
# CONFIG_WIRELESS is not set
# CONFIG_NET_VENDOR_ARC is not set
# CONFIG_NET_VENDOR_SAMSUNG is not set
# CONFIG_NET_VENDOR_SMSC is not set
# CONFIG_NET_VENDOR_WIZNET is not set
# CONFIG_WLAN is not set
# CONFIG_INPUT_MOUSE is not set
# CONFIG_HW_RANDOM is not set

Tandis que celles-ci sont intégrées au noyaux au lieu d'être indéfinies :
Code TEXT :
# CONFIG_RTC_INTF_SYSFS is not set
# CONFIG_RTC_INTF_PROC is not set
# CONFIG_IOMMU_SUPPORT is not set

Je considère ces changements comme négligeable.

Ces valeurs passent de 8 à 4 chez Mageia :
Code TEXT :
CONFIG_NR_CPUS=8
CONFIG_SERIAL_8250_NR_UARTS=8
CONFIG_SERIAL_8250_RUNTIME_UARTS=8

Là aussi, qui peut le plus, peut le moins ? Donc je suppose qu'il n'y a pas de différences.

Cependant, ces valeurs sont tout simplement manquant chez mageia :
Code TEXT :
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

Je suspecte qu'une de ces valeurs est importante.

Autre élément important, je compare le fichier sunxi_defconf avec le defconf de Mageia qui m'a plus l'air le résultat de configuration (donc une copie du .config), le nombre de ligne du sunxi_defconf lorsqu'on le sélectionne génère un .config de >4300 lignes. Je ne vais pas comparer 4300 valeurs...
   
Jybz Membre non connecté

Rang

Avatar

Modérateur

Inscrit le : 10/10/2018 à 10h26

Messages: 1852

Le 26/10/2019 à 21h44
Peut-être que :
CONFIG_SERIAL_OF_PLATFORM
devrait être à 'y' ?
   
Jybz Membre non connecté

Rang

Avatar

Modérateur

Inscrit le : 10/10/2018 à 10h26

Messages: 1852

Le 26/10/2019 à 22h57
GNIARK !

J'AI TROUVÉ !

C'est CONFIG_SERIAL_8250_DW qui DOIT être à Y. Pas à M, pas à N, mais à Y.
Et ça ne l'est pas sur le noyau de Mageia.
   
Jybz Membre non connecté

Rang

Avatar

Modérateur

Inscrit le : 10/10/2018 à 10h26

Messages: 1852

Le 06/11/2019 à 21h21
Voilà 12 jours qu'un rapport de bogue a été transmis : https://bugs.mageia.org/show_bug.cgi?id=25618 et toujours aucune nouvelles.
Je crois qu'il est possible de d'ajouter ce pilote dans l'initrd . Mais comment puis-je automatiser la compilation de ce module et l'ajouter à l'initrd, sans recompiler tout le noyau fourni par mageia ?
   
Jybz Membre non connecté

Rang

Avatar

Modérateur

Inscrit le : 10/10/2018 à 10h26

Messages: 1852

Le 07/11/2019 à 09h37
J'ai hésité à ouvrir un nouveau sujet... Mais au final non. Alors je copie colle le nouveau sujet ici :

Bonjour MLO !

Je ne trouve pas de problème similaire sur interne et pour la documentation, elle est soit trop succincte, soit trop détailler pour un cas spécial qui n'est pas mon cas spécial.

Situation :
Le noyau de Mageia pour l'ordinateur monocarte (SBC) BananaPro ne contient pas le module 8250_dw. Impatient qu'il soit ajouté au noyau de Mageia.Org, j'envisage les alternatives. Au lieu d'attendre l'intégration au noyau, je tente de l'intégrer via l'initrd. Et bien sûr, le tout, uniquement avec les scripts de construction d'image de Mageia sur un PC normal !

J'ai l'impression, que cette solution, de l'intégrer à l'initrd et de laisser le noyau Mageia.Org intacte est plus élégante. Donc je commence à paramétrer Dracut en chroot . Je ne connais pas ce qu'implique chroot, mais urpmi et dracut reconnaissent que ce n'est plus l'état "normal" du système puisse qu'urpmi donne des avertissements comme quoi les scriptlets des RPM n'est pas exécuté dû à l'utilisation de chroot (message : "Running in chroot, ignoring request: try-restart").

Même s'il n'est pas intégré au noyau, j'ai pu remarqué que le module existait pour les architectures ARM dans le dossier :
/lib/modules/5.1.14-desktop-1.mga7/kernel/drivers/tty/serial/8250/8250_aspeed_vuart.ko.gz
(autrement dénommé : /lib/modules/5.3.7-desktop-4.mga7/kernel/drivers/tty/serial/8250/8250_dw.ko.xz pour l'architecture x86_64)

Pour dracut, au lieu de nommer en arguments les pilotes à prendre en compte, j'ai préféré écrire un fichier dans /etc/dracut.conf.d/30-bananapro.conf contenant :
omit_dracutmodules+=" drm "
drivers+=" 8250_aspeed_vuart "
add_drivers+=" 8250_aspeed_vuart "
add_dracutmodules+=" 8250_aspeed_vuart "

cependant, lors de la confection de l'initrd par dracut, on retrouve toujours le même problème :
E: Dracut module "8250_aspeed_vuart" cannot be found..
J'ai tenté en ajoutant --fwdir "/lib/5.1.14-desktop-1.mga7/:/lib/5.3.7-desktop-4.mga7/kernel/drivers:/lib/5.1.14-desktop-1.mga7/kernel/drivers/tty/serial/8250/" en vain.

Est-ce que fwdir n'est pas la bonne option ? Est-ce un mauvais chemin ? Est-ce une mauvaise syntaxe ?
Est-ce dû à la compression .gz du module ?
Est-ce dû au chroot ?
Est-ce dû à une mauvaise configuration ? Un mauvais $PATH ? Un mauvais nom de module ? Edité par Jybz Le 07/11/2019 à 10h02
   
Papoteur Membre non connecté

Rang

Avatar

Modérateur Équipe Mageia

Inscrit le : 03/10/2011 à 22h16

Localisation : Metz

Messages: 6716

Le 07/11/2019 à 10h49
Salut jybz,
Je n'ai pas de réponse à ton sujet directement.
Simplement une généralité sur le chroot. L'opération est un changement de racine, c'est-à-dire que lorsque le système se réfère à un fichier/répertoire /lib par exemple, il va lire non pas dans la racine absolue, mais à l'intérieur de la nouvelle racine qu'on aura déclarée avec le chroot.
C'est peut-être là que se situe le problème ?



Yves
   
Jybz Membre non connecté

Rang

Avatar

Modérateur

Inscrit le : 10/10/2018 à 10h26

Messages: 1852

Le 07/11/2019 à 20h40
Oui, merci Papoteur,

À mon premier nouveau teste de la soirée, je tombe sur une erreur :
Code BASH :
dracut: Executing: /usr/bin/dracut --no-compress --force --no-hostonly --local --no-early-microcode --confdir /etc/dracut.conf.d --kmoddir=/lib/modules/ --fwdir /lib/modules/5.3.7-desktop-4.mga7/:/lib/modules/5.3.7-desktop-4.mga7/kernel/drivers/:/lib/modules/5.3.7-desktop-4.mga7/kernel/drivers/tty/serial/8250/ --xz --printsize --kernel-image /boot/vmlinuz --fstab
dracut: /lib/modules//modules.dep is missing. Did you run depmod?
 

Donc j'ai cherché ce "modules.dep", et je l'ai bien trouvé dans /home/jybz/[...]/lib/modules/5.3.7-desktop-4.mga7 !
Et dans la longue liste, on y trouve ligne 261 :
Code TEXT :
kernel/drivers/tty/serial/8250/8250_aspeed_vuart.ko.gz:

Ok super ! C'est celui là que je veux embarquer dans l'initrd !
(re-test...)
   
Jybz Membre non connecté

Rang

Avatar

Modérateur

Inscrit le : 10/10/2018 à 10h26

Messages: 1852

Le 07/11/2019 à 20h42
Code BASH :
dracut: Executing: /usr/bin/dracut --no-compress --force --no-hostonly --local --no-early-microcode --confdir /etc/dracut.conf.d --kmoddir=/lib/modules/5.3.7-desktop-4.mga7 --xz --printsize --kernel-image /boot/vmlinuz --fstab
dracut: dracut module 'bootchart' will not be installed, because command '/sbin/bootchartd' could not be found!
dracut: dracut module 'systemd' will not be installed, because it's in the list to be omitted!
dracut: dracut module 'systemd-bootchart' will not be installed, because command '/usr/lib/systemd/systemd-bootchart' could not be found!
dracut: systemd-initrd needs systemd in the initramfs
dracut: dracut module 'caps' will not be installed, because command 'capsh' could not be found!
dracut: systemd-networkd needs systemd in the initramfs
dracut: dracut module 'modsign' will not be installed, because command 'keyctl' could not be found!
[...]
dracut: dracut module 'nbd' will not be installed, because command 'nbd-client' could not be found!
dracut: 95nfs: Could not find any command of 'rpcbind portmap'!
dracut: dracut module 'biosdevname' will not be installed, because command 'biosdevname' could not be found!
dracut: dracut-systemd needs systemd-initrd in the initramfs
dracut: dracut module '8250_aspeed_vuart' cannot be found or installed.

Bien. Je ne comprends pas comment l'insérer...
   
Jybz Membre non connecté

Rang

Avatar

Modérateur

Inscrit le : 10/10/2018 à 10h26

Messages: 1852

Le 07/11/2019 à 22h58
Bien, avec l'aide de Dicebox, j'ai pu ajouter ce module à l'initrd.
Code BASH :
dracut: Executing: /usr/bin/dracut --no-compress --force --no-hostonly --local --no-early-microcode --confdir /etc/dracut.conf.d --kmoddir=/lib/modules/5.3.7-desktop-4.mga7 --xz --printsize --kernel-image /boot/vmlinuz --fstab initrd-5.3.7-desktop-4.mga7.img 5.3.7-desktop-4.mga7
dracut: dracut module 'bootchart' will not be installed, because command '/sbin/bootchartd' could not be found!
dracut: dracut module 'systemd-bootchart' will not be installed, because command '/usr/lib/systemd/systemd-bootchart' could not be found!
dracut: dracut module 'caps' will not be installed, because command 'capsh' could not be found!
dracut: dracut module 'modsign' will not be installed, because command 'keyctl' could not be found!
dracut: dracut module 'busybox' will not be installed, because command 'busybox' could not be found!
dracut: dracut module 'network' will not be installed, because it's in the list to be omitted!
dracut: dracut module 'network' will not be installed, because it's in the list to be omitted!
dracut: dracut module 'ifcfg' depends on 'network', which can't be installed
dracut: dracut module 'drm' will not be installed, because it's in the list to be omitted!
dracut: dracut module 'drm' will not be installed, because it's in the list to be omitted!
dracut: dracut module 'plymouth' depends on 'drm', which can't be installed
dracut: dracut module 'lvmmerge' will not be installed, because command 'lvm' could not be found!
dracut: dracut module 'btrfs' will not be installed, because command 'btrfs' could not be found!
dracut: dracut module 'dm' will not be installed, because command 'dmsetup' could not be found!
dracut: dracut module 'crypt' depends on 'dm', which can't be installed
dracut: dracut module 'dmraid' will not be installed, because command 'dmraid' could not be found!
dracut: dracut module 'dmsquash-live-ntfs' will not be installed, because command 'ntfs-3g' could not be found!
dracut: dracut module 'lvm' will not be installed, because command 'lvm' could not be found!
dracut: dracut module 'mdraid' will not be installed, because command 'mdadm' could not be found!
dracut: dracut module 'multipath' will not be installed, because command 'multipath' could not be found!
dracut: dracut module 'crypt-gpg' will not be installed, because command 'gpg' could not be found!
dracut: dracut module 'cifs' will not be installed, because command 'mount.cifs' could not be found!
dracut: dracut module 'fcoe' will not be installed, because command 'dcbtool' could not be found!
dracut: dracut module 'fcoe' will not be installed, because command 'fipvlan' could not be found!
dracut: dracut module 'fcoe' will not be installed, because command 'lldpad' could not be found!
dracut: dracut module 'fcoe' will not be installed, because command 'fcoemon' could not be found!
dracut: dracut module 'fcoe' will not be installed, because command 'fcoeadm' could not be found!
dracut: dracut module 'fcoe-uefi' will not be installed, because command 'dcbtool' could not be found!
dracut: dracut module 'fcoe-uefi' will not be installed, because command 'fipvlan' could not be found!
dracut: dracut module 'fcoe-uefi' will not be installed, because command 'lldpad' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsistart' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found!
dracut: dracut module 'nbd' will not be installed, because command 'nbd-client' could not be found!
dracut: 95nfs: Could not find any command of 'rpcbind portmap'!
dracut: dracut module 'biosdevname' will not be installed, because command 'biosdevname' could not be found!
dracut: *** Including module: bash ***
bash install size: 908k
dracut: *** Including module: dash ***
dash install size: 0k
dracut: *** Including module: systemd ***
systemd install size: 3208k
dracut: *** Including module: systemd-initrd ***
systemd-initrd install size: 44k
dracut: *** Including module: i18n ***
i18n install size: 4336k
dracut: *** Including module: kernel-modules ***
kernel-modules install size: 184k
dracut: *** Including module: resume ***
resume install size: 24k
dracut: *** Including module: rootfs-block ***
rootfs-block install size: 44k
dracut: *** Including module: terminfo ***
terminfo install size: 28k
dracut: *** Including module: udev-rules ***
dracut: Skipping udev rule: 40-redhat.rules
dracut: Skipping udev rule: 50-firmware.rules
dracut: Skipping udev rule: 50-udev.rules
dracut: Skipping program /sbin/display_driver_helper using in udev rule 80-drivers.rules as it cannot be found
dracut: Skipping udev rule: 91-permissions.rules
dracut: Skipping udev rule: 80-drivers-modprobe.rules
udev-rules install size: 428k
dracut: *** Including module: dracut-systemd ***
dracut-systemd install size: 92k
dracut: *** Including module: usrmount ***
usrmount install size: 0k
dracut: *** Including module: base ***
base install size: 1188k
dracut: *** Including module: fs-lib ***
fs-lib install size: 432k
dracut: *** Including module: shutdown ***
shutdown install size: 156k
dracut: *** Including modules done ***
dracut: *** Installing kernel module dependencies ***
dracut: *** Installing kernel module dependencies done ***
dracut: *** Resolving executable dependencies ***
dracut: *** Resolving executable dependencies done***
dracut: *** Stripping files ***
dracut: *** Stripping files done ***
dracut: *** Store current command line parameters ***
dracut: *** Creating image file '/boot/initrd-5.3.7-desktop-4.mga7.img' ***
dracut: *** Creating initramfs image file '/boot/initrd-5.3.7-desktop-4.mga7.img' done ***
drwxr-xr-x   3 root     root            0 Nov  7 21:48 usr/lib/modules/5.3.7-desktop-4.mga7/kernel/drivers/tty/serial
drwxr-xr-x   2 root     root            0 Nov  7 21:48 usr/lib/modules/5.3.7-desktop-4.mga7/kernel/drivers/tty/serial/8250
-rw-r--r--   1 root     root         3854 Oct 24 20:18 usr/lib/modules/5.3.7-desktop-4.mga7/kernel/drivers/tty/serial/8250/8250_aspeed_vuart.ko.gz
Image Name:   initrd
Created:      Thu Nov  7 21:48:36 2019
Image Type:   ARM Linux RAMDisk Image (lzma compressed)
Data Size:    20743680 Bytes = 20257.50 KiB = 19.78 MiB
Load Address: 00000000
Entry Point:  00000000


Mais... Ça ne parait pas démarrer...
J'en conclue, qu'il manque autre chose !
On repart sur de la configuration noyau...
   
Jybz Membre non connecté

Rang

Avatar

Modérateur

Inscrit le : 10/10/2018 à 10h26

Messages: 1852

Le 09/11/2019 à 08h05
après de nouveau teste, en prenant la configuration de Mageia et en y intégrant directement au noyau les options, j'ai pu remarqué qu'il ne manquait pas seulement le pilote sériel, mais aussi le pilote pour lire la carte SD elle même ! (Le noyau en mémoire chargé par uboot ne sait pas ouvrir la carte SD, car le pilote est en module, donc il doit savoir s'ouvrir pour se charger et savoir s'ouvrir. C'est la problématique de l'œuf et la poule !)

CONFIG_MMC_SUNXI=y
CONFIG_SERIAL_8250_DW=y

Je continues les tests...
   
Jybz Membre non connecté

Rang

Avatar

Modérateur

Inscrit le : 10/10/2018 à 10h26

Messages: 1852

Le 09/11/2019 à 13h52
Le rapport de bogue demandant la configuration avait échappé à tmb. Il s'en occupe !

Normalement, il n'y aurait plus besoin d' initrd .

Cependant... Je trouve que l'exercice est intéressant !
Le sujet :
On a une distrib qui par défaut ne compile pas certains pilotes, ou ne les embarque pas dans le noyau mais uniquement en tant que module, alors que l'un est justement nécessaire pour accéder au module (problème de l'œuf et la poule).
La solution, c'est d'embarquer ces modules dans l'initrd.
Seulement, un des pilotes n'est pas présent en tant que module, il faut le compiler d'abord. La compilation de tous les modules prends beaucoup trop de temps, ainsi on compile uniquement le pilote nécessaire !
Mais le défi, il faut l'embarquer dans les scripts de création d'image.
   
Jybz Membre non connecté

Rang

Avatar

Modérateur

Inscrit le : 10/10/2018 à 10h26

Messages: 1852

Le 09/11/2019 à 14h03
Difficulté supplémentaire, make n'est pas trop possible en chroot...
   
Répondre
Vous n'êtes pas autorisé à écrire dans cette catégorie