Re: Odrouid XU4 with Fedora

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

 



On Wed, Jul 19, 2017 at 4:43 PM, Andreas Reschke <arm_ml@xxxxxxxxxxx> wrote:
> Am 19.07.2017 um 15:01 schrieb Peter Robinson:
>> On Wed, Jul 19, 2017 at 1:29 PM,  <arm_ml@xxxxxxxxxxx> wrote:
>>> Am 2017-07-18 17:11, schrieb Peter Robinson:
>>>>
>>>> On Tue, Jul 18, 2017 at 2:55 PM, Andreas Reschke <arm_ml@xxxxxxxxxxx>
>>>> wrote:
>>>>>
>>>>> Am 17.07.2017 um 14:33 schrieb Peter Robinson:
>>>>>>
>>>>>> On Mon, Jul 17, 2017 at 12:18 PM,  <arm_ml@xxxxxxxxxxx> wrote:
>>>>>>>
>>>>>>> Hi there,
>>>>>>> I've two XU4: one with Fedora25 and handmade Kernel 4.2.0+ #1 (based on
>>>>>>> Odroid image) and one with native Fedora 24 with kernel 4.7.2-201.
>>>>>>>
>>>>>>> Update to newer kernel didn't work because it doesn't build a suitable
>>>>>>> initramfs.
>>>>>>>
>>>>>>> Has anybody tried this?
>>>>>>
>>>>>>
>>>>>> That should be fixed in F-26, might be easiest to deploy a new image,
>>>>>> else you could do the upgrade process and that *should* work, but the
>>>>>> upgrade on those devices is untested.
>>>>>>
>>>>>> Peter
>>>>>>
>>>>>
>>>>> Hello Peter,
>>>>>
>>>>> steps I've done:
>>>>>
>>>>> 1. dnf upgrade --refresh
>>>>> some Packages are installed, no kernel, System is on 4.6.5-300.fc24
>>>>>
>>>>> 2. dnf system-upgrade download --releasever=26
>>>>> 961 Packages are downloaded, no kernel Package
>>>>
>>>>
>>>> Have you explcitly excluded the kernel in some dnf/yum config?
>>>>
>>>>> 3. dnf system-upgrade reboot
>>>>> Error: system is not ready for upgrade
>>>>>
>>>>> Whats next ?
>>>>>
>>>>> Andreas
>>>>> _______________________________________________
>>>>> arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
>>>>> To unsubscribe send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx
>>>>
>>>> _______________________________________________
>>>> arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
>>>> To unsubscribe send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx
>>>
>>>
>>>
>>> Hello Peter,
>>>
>>> you're right: I've exluded the kernel in dnf.conf. Knocking my head on table
>>> ...
>>>
>>> Now the board is running FC26 but still with the old 4.6.5-300.fc24.armv7hl
>>> kernel. The 4.11.10-300.fc26 kernel was installed, but no initramfs was
>>> created in /boot. That means a boot with this kernel is not working.
>>>
>>> extlinux.conf:
>>> label Fedora (4.11.10-300.fc26.armv7hl) 26 (Twenty Six)
>>>         kernel /vmlinuz-4.11.10-300.fc26.armv7hl
>>>         append
>>> rd.driver.pre=dw_mmc-exynos,exynosdrm,ehci-exynos,ohci-exynos ro
>>> root=UUID=dfac3a15-7d31-46ed-842f-2f7599871202 LANG=de_DE.UTF-8 enforcing=1
>>>         fdtdir /dtb-4.11.10-300.fc26.armv7hl/
>>>         initrd -> is missing
>>
>> Remove all the rd.driver crap, you also shouldn't need any enforcing= line
>>
>> It creates the initrd line from previous ones, did your 4.6.5 kernel
>> not have that line?
>>
>> Check /boot/ for an appropriate initrd, check to see if the mmc
>> drivers are in there using "lsinitrd <initrd> | grep mmc", if you
>> don't see them there (sometimes transitioning from weird hacked
>> kernels dracut gets the module list wrong) you can regenerate a
>> generic initrd with the following command:
>>
>> "dracut -N -f /boot/initramfs-4.11.10-300.fc26.armv7hl.img
>> 4.11.10-300.fc26.armv7hl"
>>
>> Then add the initrd line to exiting entry in extlinux.conf
>> initrd /initramfs-4.11.10-300.fc26.armv7hl.img
>>
>> From then on dracut should get the host specific initrd correct after a reboot.
>>
>>> I want to build with this board (Odroid xu4) with the new Cloudshell 2
>>> (http://www.hardkernel.com/main/products/prdt_info.php?g_code=G149142327280)
>>> a Nextcloud Storage.
>>>
>>> Does Fedora with kernel 4.11 support USB Attached SCSI (UAS or UASP) and USB
>>> 3.0 to SATA bridge (JMicron JMS561) ?
>>
>> It should as UAS is a usb standard that is supported in the kernel, as
>> for specific controller details no idea, sorry I don't track that
>> stuff as I don't particularly care, but why don't you try it and see
>> for yourself ;-)
>> _______________________________________________
>> arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
>> To unsubscribe send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx
>>
>
> OK, with more power system works stable. Update with kernel
> 4.11.10-300.fc26.armv7hl works and build a initramfs and a suitable
> extlinux.conf.
>
> Boot up:
> U-Boot 2016.05 (May 30 2016 - 20:03:50 +0000) for ODROID-XU3
>
> CPU:   Exynos5422 @ 800 MHz
> Model: Odroid XU3 based on EXYNOS5422
> Board: Odroid XU3 based on EXYNOS5422
> Type:  xu4
> DRAM:  2 GiB
> MMC:   EXYNOS DWMMC: 0, EXYNOS DWMMC: 1
> *** Warning - bad CRC, using default environment
>
> In:    serial
> Out:   serial
> Err:   serial
> Net:   No ethernet found.
> Hit any key to stop autoboot:  0
> switch to partitions #0, OK
> mmc0 is current device
> Scanning mmc 0:1...
> Found /extlinux/extlinux.conf
> Retrieving file: /extlinux/extlinux.conf
> 1090 bytes read in 12 ms (87.9 KiB/s)
> Ignoring unknown command: ui
> Ignoring malformed menu command:  autoboot
> Ignoring malformed menu command:  hidden
> Ignoring unknown command: totaltimeout
> Ignoring unknown command: default=Fedora
> Fedora-Mate-armhfp-24-1.2 Boot Options.
> 1:      Fedora (4.11.10-300.fc26.armv7hl) 26 (Twenty Six)
> 2:      Fedora (4.6.5-300.fc24.armv7hl) 24 (Twenty Four)
> Enter choice: 1
> 1:      Fedora (4.11.10-300.fc26.armv7hl) 26 (Twenty Six)
> Retrieving file: /initramfs-4.11.10-300.fc26.armv7hl.img
> 17067584 bytes read in 1600 ms (10.2 MiB/s)
> Retrieving file: /vmlinuz-4.11.10-300.fc26.armv7hl
> 6267464 bytes read in 595 ms (10 MiB/s)
> append: ro root=UUID=dfac3a15-7d31-46ed-842f-2f7599871202
> LANG=en_US.UTF-8 enforcing=1
> Retrieving file: /dtb-4.11.10-300.fc26.armv7hl/exynos5422-odroidxu4.dtb
> 54941 bytes read in 913 ms (58.6 KiB/s)
> Kernel image @ 0x42000000 [ 0x000000 - 0x5fa248 ]
> ## Flattened Device Tree blob at 43000000
>    Booting using the fdt blob at 0x43000000
>    Loading Ramdisk to 4efb9000, end 4ffffe40 ... OK
>    Loading Device Tree to 4efa8000, end 4efb869c ... OK
>
> Starting kernel ...
>
> [    0.000000] Booting Linux on physical CPU 0x100
> [    0.000000] Linux version 4.11.10-300.fc26.armv7hl
> (mockbuild@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc version 7.1.1
> 20170622 (Red Hat 7.1.1-3) (GCC) ) #1 SMP Wed Jul 12 18:27:21 UTC 2017
> [    0.000000] CPU: ARMv7 Processor [410fc073] revision 3 (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: Hardkernel Odroid XU4
> [    0.000000] Memory policy: Data cache writealloc
> [    0.000000] efi: Getting EFI parameters from FDT:
> [    0.000000] efi: UEFI not found.
> [    0.000000] Reserved memory: created DMA memory pool at 0xbe200000,
> size 8 MiB
> [    0.000000] OF: reserved mem: initialized node region_mfc_right,
> compatible id shared-dma-pool
> [    0.000000] Reserved memory: created DMA memory pool at 0xbbe00000,
> size 36 MiB
> [    0.000000] OF: reserved mem: initialized node region_mfc_left,
> compatible id shared-dma-pool
> [    0.000000] cma: Reserved 64 MiB at 0xb7c00000
> [    0.000000] Samsung CPU ID: 0xe5422001
> [    0.000000] Running under secure firmware.
> [    0.000000] percpu: Embedded 15 pages/cpu @eede0000 s31628 r8192
> d21620 u61440
> [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.
> Total pages: 505664
> [    0.000000] Kernel command line: ro
> root=UUID=dfac3a15-7d31-46ed-842f-2f7599871202 LANG=en_US.UTF-8 enforcing=1
> [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
> [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288
> bytes)
> [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144
> bytes)
> [    0.000000] Memory: 1912816K/2029568K available (7440K kernel code,
> 1301K rwdata, 3528K rodata, 2048K init, 518K bss, 51216K reserved,
> 65536K cma-reserved, 1177600K highmem)
> [    0.000000] Virtual kernel memory layout:
> [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
> [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
> [    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
> [    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
> [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
> [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
> [    0.000000]       .text : 0xc0208000 - 0xc0a4400c   (8433 kB)
> [    0.000000]       .init : 0xc0e00000 - 0xc1000000   (2048 kB)
> [    0.000000]       .data : 0xc1000000 - 0xc11455c4   (1302 kB)
> [    0.000000]        .bss : 0xc11455c4 - 0xc11c71a0   ( 519 kB)
> [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
> [    0.000000] Hierarchical RCU implementation.
> [    0.000000]  Build-time adjustment of leaf fanout to 32.
> [    0.000000]  RCU restricting CPUs from NR_CPUS=32 to nr_cpu_ids=8.
> [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=8
> [    0.000000] NR_IRQS:16 nr_irqs:16 16
> [    0.000000] GIC: Using split EOI/Deactivate mode
> [    0.000000] GIC physical location is 0x10481000
> [    0.000000] Switching to timer-based delay loop, resolution 41ns
> [    0.000000] clocksource: mct-frc: mask: 0xffffffff max_cycles:
> 0xffffffff, max_idle_ns: 79635851949 ns
> [    0.000007] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps
> every 89478484971ns
> [    0.007600] Console: colour dummy device 80x30
> [    0.008724] console [tty0] enabled
> [    0.008786] Calibrating delay loop (skipped), value calculated using
> timer frequency.. 48.00 BogoMIPS (lpj=24000)
> [    0.008848] pid_max: default: 32768 minimum: 301
> [    0.009341] Security Framework initialized
> [    0.009379] Yama: becoming mindful.
> [    0.009426] SELinux:  Initializing.
> [    0.009846] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
> [    0.009886] Mountpoint-cache hash table entries: 2048 (order: 1, 8192
> bytes)
> [    0.011186] CPU: Testing write buffer coherency: ok
> [    0.011262] ftrace: allocating 31692 entries in 62 pages
> [    0.090950] CPU0: update cpu_capacity 448
> [    0.091057] CPU0: thread -1, cpu 0, socket 1, mpidr 80000100
> [    0.091763] Setting up static identity map for 0x40300000 - 0x40300098
> [    0.092521] ARM CCI driver probed
> [    0.092755] Exynos MCPM support installed
> [    0.101355] EFI services will not be available.
> [    0.102072] smp: Bringing up secondary CPUs ...
> [    0.103165] CPU1: update cpu_capacity 448
> [    0.103173] CPU1: thread -1, cpu 1, socket 1, mpidr 80000101
> [    0.104342] CPU2: update cpu_capacity 448
> [    0.104350] CPU2: thread -1, cpu 2, socket 1, mpidr 80000102
> [    0.105491] CPU3: update cpu_capacity 448
> [    0.105499] CPU3: thread -1, cpu 3, socket 1, mpidr 80000103
> [    0.106670] CPU4: update cpu_capacity 1535
> [    0.106679] CPU4: thread -1, cpu 0, socket 0, mpidr 80000000
> [    0.107925] CPU5: update cpu_capacity 1535
> [    0.107934] CPU5: thread -1, cpu 1, socket 0, mpidr 80000001
> [    0.109096] CPU6: update cpu_capacity 1535
> [    0.109105] CPU6: thread -1, cpu 2, socket 0, mpidr 80000002
> [    0.110256] CPU7: update cpu_capacity 1535
> [    0.110265] CPU7: thread -1, cpu 3, socket 0, mpidr 80000003
> [    0.110407] smp: Brought up 1 node, 8 CPUs
> [    0.110714] SMP: Total of 8 processors activated (384.00 BogoMIPS).
> [    0.110742] CPU: WARNING: CPU(s) started in wrong/inconsistent modes
> (primary CPU mode 0x1a)
> [    0.110780] CPU: This may indicate a broken bootloader or firmware.
> [    0.113527] devtmpfs: initialized
> [    0.136918] VFP support v0.3: implementor 41 architecture 2 part 30
> variant 7 rev 3
> [    0.137515] clocksource: jiffies: mask: 0xffffffff max_cycles:
> 0xffffffff, max_idle_ns: 1911260446275000 ns
> [    0.137579] futex hash table entries: 2048 (order: 5, 131072 bytes)
> [    0.142086] pinctrl core: initialized pinctrl subsystem
> [    0.145664] NET: Registered protocol family 16
> [    0.148073] DMA: preallocated 256 KiB pool for atomic coherent
> allocations
> [    0.153264] cpuidle: using governor menu
> [    0.154603] No ATAGs?
> [    0.154924] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4
> watchpoint registers.
> [    0.154986] hw-breakpoint: maximum watchpoint size is 8 bytes.
> [    0.156839] Serial: AMBA PL011 UART driver
> [    0.169503] random: fast init done
> [    0.193691] EXYNOS5420 PMU initialized
> [    0.236333] vgaarb: loaded
> [    0.237391] SCSI subsystem initialized
> [    0.238130] usbcore: registered new interface driver usbfs
> [    0.238252] usbcore: registered new interface driver hub
> [    0.238475] usbcore: registered new device driver usb
> [    0.240966] NetLabel: Initializing
> [    0.241038] NetLabel:  domain hash size = 128
> [    0.241062] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
> [    0.241165] NetLabel:  unlabeled traffic allowed by default
> [    0.241725] clocksource: Switched to clocksource mct-frc
> [    0.344825] VFS: Disk quotas dquot_6.6.0
> [    0.344984] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096
> bytes)
> [    0.363604] NET: Registered protocol family 2
> [    0.364879] TCP established hash table entries: 8192 (order: 3, 32768
> bytes)
> [    0.365013] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
> [    0.365215] TCP: Hash tables configured (established 8192 bind 8192)
> [    0.365476] UDP hash table entries: 512 (order: 2, 16384 bytes)
> [    0.365547] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
> [    0.366199] NET: Registered protocol family 1
> [    0.367057] Unpacking initramfs...
> [    1.737042] Freeing initrd memory: 16668K
> [    1.814133] audit: initializing netlink subsys (disabled)
> [    1.814362] audit: type=2000 audit(1.757:1): state=initialized
> audit_enabled=0 res=1
> [    1.814834] Initialise system trusted keyrings
> [    1.815075] workingset: timestamp_bits=14 max_order=19 bucket_order=5
> [    1.823041] zbud: loaded
> [    2.313027] NET: Registered protocol family 38
> [    2.313063] Key type asymmetric registered
> [    2.313086] Asymmetric key parser 'x509' registered
> [    2.313175] bounce: pool size: 64 pages
> [    2.313274] Block layer SCSI generic (bsg) driver version 0.4 loaded
> (major 250)
> [    2.313511] io scheduler noop registered
> [    2.313535] io scheduler deadline registered
> [    2.314019] io scheduler cfq registered (default)
> [    2.314045] io scheduler mq-deadline registered
> [    2.314578] atomic64_test: passed
> [    2.339299] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
> [    2.348980] Serial: AMBA driver
> [    2.349260] 12c00000.serial: ttySAC0 at MMIO 0x12c00000 (irq = 58,
> base_baud = 0) is a S3C6400/10
> [    2.349682] 12c10000.serial: ttySAC1 at MMIO 0x12c10000 (irq = 59,
> base_baud = 0) is a S3C6400/10
> [    2.350146] 12c20000.serial: ttySAC2 at MMIO 0x12c20000 (irq = 60,
> base_baud = 0) is a S3C6400/10
> [    3.108590] console [ttySAC2] enabled
> [    3.112668] 12c30000.serial: ttySAC3 at MMIO 0x12c30000 (irq = 61,
> base_baud = 0) is a S3C6400/10
> [    3.123208] msm_serial: driver initialized
> [    3.126206] STMicroelectronics ASC driver initialized
> [    3.135591] libphy: Fixed MDIO Bus: probed
> [    3.139067] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
> [    3.144828] ehci-pci: EHCI PCI platform driver
> [    3.149265] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
> [    3.155353] ohci-pci: OHCI PCI platform driver
> [    3.159814] uhci_hcd: USB Universal Host Controller Interface driver
> [    3.166425] usbcore: registered new interface driver usbserial
> [    3.171949] usbcore: registered new interface driver usbserial_generic
> [    3.178447] usbserial: USB Serial support registered for generic
> [    3.184638] mousedev: PS/2 mouse device common for all mice
> [    3.197828] device-mapper: uevent: version 1.0.3
> [    3.201619] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23)
> initialised: dm-devel@xxxxxxxxxx
> [    3.212470] ledtrig-cpu: registered to indicate activity on CPUs
> [    3.217424] hidraw: raw HID events driver (C) Jiri Kosina
> [    3.222640] usbcore: registered new interface driver usbhid
> [    3.227962] usbhid: USB HID core driver
> [    3.234593] drop_monitor: Initializing network drop monitor service
> [    3.239698] ip_tables: (C) 2000-2006 Netfilter Core Team
> [    3.244987] Initializing XFRM netlink socket
> [    3.249796] NET: Registered protocol family 10
>
> No more output on serial console, no display, no ping.

No serial console on the kernel cmd line:
Kernel command line: ro root=UUID=dfac3a15-7d31-46ed-842f-2f7599871202
LANG=en_US.UTF-8 enforcing=1

I suspect when the kernel serial port driver gets inited is when you
lose it. Can you add a "console=ttySACX,115200 console=tty0" (swap X
for what ever the number is) on the append line in extlinux.conf

Also what port/connector do you have the monitor attached to?

> [root@myodroid ~]# lsinitrd /boot/initramfs-4.6.5-300.fc24.armv7hl.img |

That was just for you to compare you got the appropriate MMC drivers.
_______________________________________________
arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to arm-leave@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