Re: Fedora with Odroid-XU4 and Cloudshell 2

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

 



On Wed, Aug 16, 2017 at 4:26 PM, Stewart Samuels <searider74@xxxxxxxxx> wrote:
>
>
> On 08/16/2017 07:53 AM, Peter Robinson wrote:
>>
>> On Wed, Aug 16, 2017 at 3:14 PM, Stewart Samuels <searider74@xxxxxxxxx>
>> wrote:
>>>
>>>
>>> On 08/16/2017 04:14 AM, arm_ml@xxxxxxxxxxx wrote:
>>>>
>>>> Am , schrieb Stewart Samuels:
>>>>>
>>>>> Ok.  The u-boot issue was my mistake.  I was trying to use the
>>>>> /usr/share/uboot/odroid u-boot files instead of the
>>>>> /usr/share/uboot/odroid-xu3 files.  Now I am getting output to the
>>>>> serial console and the system begins the boot process as expected.
>>>>> However, it hangs in the kernel seemingly trying to do something with
>>>>> the network.  Anyone have any ideas as to what I can try to get past
>>>>> this?  Following is my serial console output:
>>>>>
>>>>>
>>>>>
>>>>> U-Boot 2017.05 (Jun 24 2017 - 16:40:39 +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
>>>>> mmc_init: -5, time 4
>>>>> switch to partitions #0, OK
>>>>> mmc0 is current device
>>>>> Scanning mmc 0:2...
>>>>> Found /extlinux/extlinux.conf
>>>>> Retrieving file: /extlinux/extlinux.conf
>>>>> 513 bytes read in 15 ms (33.2 KiB/s)
>>>>> Ignoring unknown command: ui
>>>>> Ignoring malformed menu command:  autoboot
>>>>> Ignoring malformed menu command:  hidden
>>>>> Ignoring unknown command: totaltimeout
>>>>> Fedora-Mate-armhfp-26-1.5 Boot Options.
>>>>> 1:      Fedora-Mate-armhfp-26-1.5 (4.11.8-300.fc26.armv7hl)
>>>>> Enter choice: 1:        Fedora-Mate-armhfp-26-1.5
>>>>> (4.11.8-300.fc26.armv7hl)
>>>>> Retrieving file: /initramfs-4.11.8-300.fc26.armv7hl.img
>>>>> 55227208 bytes read in 15615 ms (3.4 MiB/s)
>>>>> Retrieving file: /vmlinuz-4.11.8-300.fc26.armv7hl
>>>>> 6267616 bytes read in 503 ms (11.9 MiB/s)
>>>>> append: ro root=UUID=01a7a7b0-fb7b-4b87-a2b4-c330daaab202 cma=192MB
>>>>> Retrieving file: /dtb-4.11.8-300.fc26.armv7hl/exynos5422-odroidxu4.dtb
>>>>> 54941 bytes read in 277 ms (193.4 KiB/s)
>>>>> Kernel image @ 0x42000000 [ 0x000000 - 0x5fa2e0 ]
>>>>> ## Flattened Device Tree blob at 43000000
>>>>>     Booting using the fdt blob at 0x43000000
>>>>>     Loading Ramdisk to 4cb54000, end 4ffff348 ... OK
>>>>>     Loading Device Tree to 4cb43000, end 4cb5369c ... OK
>>>>>
>>>>> Starting kernel ...
>>>>>
>>>>> [    0.000000] Booting Linux on physical CPU 0x100
>>>>> [    0.000000] Linux version 4.11.8-300.fc26.armv7hl
>>>>> (mockbuild@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc version 7.1.1
>>>>> 20177
>>>>> [    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 192 MiB at 0xafc00000
>>>>> [    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=01a7a7b0-fb7b-4b87-a2b4-c330daaab202 cma=192MB
>>>>> [    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: 1744476K/2029568K available (7440K kernel code,
>>>>> 1301K rwdata, 3528K rodata, 2048K init, 518K bss, 88484K)
>>>>> [    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 - 0xc0a4408c   (8433 kB)
>>>>> [    0.000000]       .init : 0xc0e00000 - 0xc1000000   (2048 kB)
>>>>> [    0.000000]       .data : 0xc1000000 - 0xc1145584   (1302 kB)
>>>>> [    0.000000]        .bss : 0xc1145584 - 0xc11c7160   ( 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.007592] Console: colour dummy device 80x30
>>>>> [    0.008712] console [tty0] enabled
>>>>> [    0.008774] Calibrating delay loop (skipped), value calculated
>>>>> using timer frequency.. 48.00 BogoMIPS (lpj=24000)
>>>>> [    0.008835] pid_max: default: 32768 minimum: 301
>>>>> [    0.009324] Security Framework initialized
>>>>> [    0.009362] Yama: becoming mindful.
>>>>> [    0.009409] SELinux:  Initializing.
>>>>> [    0.009826] Mount-cache hash table entries: 2048 (order: 1, 8192
>>>>> bytes)
>>>>> [    0.009866] Mountpoint-cache hash table entries: 2048 (order: 1,
>>>>> 8192
>>>>> bytes)
>>>>> [    0.011164] CPU: Testing write buffer coherency: ok
>>>>> [    0.011237] ftrace: allocating 31692 entries in 62 pages
>>>>> [    0.090881] CPU0: update cpu_capacity 448
>>>>> [    0.090931] CPU0: thread -1, cpu 0, socket 1, mpidr 80000100
>>>>> [    0.091688] Setting up static identity map for 0x40300000 -
>>>>> 0x40300098
>>>>> [    0.092453] ARM CCI driver probed
>>>>> [    0.092684] Exynos MCPM support installed
>>>>> [    0.101287] EFI services will not be available.
>>>>> [    0.102007] smp: Bringing up secondary CPUs ...
>>>>> [    0.103098] CPU1: update cpu_capacity 448
>>>>> [    0.103106] CPU1: thread -1, cpu 1, socket 1, mpidr 80000101
>>>>> [    0.104253] CPU2: update cpu_capacity 448
>>>>> [    0.104261] CPU2: thread -1, cpu 2, socket 1, mpidr 80000102
>>>>> [    0.105393] CPU3: update cpu_capacity 448
>>>>> [    0.105401] CPU3: thread -1, cpu 3, socket 1, mpidr 80000103
>>>>> [    0.106573] CPU4: update cpu_capacity 1535
>>>>> [    0.106582] CPU4: thread -1, cpu 0, socket 0, mpidr 80000000
>>>>> [    0.107833] CPU5: update cpu_capacity 1535
>>>>> [    0.107841] CPU5: thread -1, cpu 1, socket 0, mpidr 80000001
>>>>> [    0.109009] CPU6: update cpu_capacity 1535
>>>>> [    0.109017] CPU6: thread -1, cpu 2, socket 0, mpidr 80000002
>>>>> [    0.110172] CPU7: update cpu_capacity 1535
>>>>> [    0.110180] CPU7: thread -1, cpu 3, socket 0, mpidr 80000003
>>>>> [    0.110322] smp: Brought up 1 node, 8 CPUs
>>>>> [    0.110632] SMP: Total of 8 processors activated (384.00 BogoMIPS).
>>>>> [    0.110660] CPU: WARNING: CPU(s) started in wrong/inconsistent
>>>>> modes (primary CPU mode 0x1a)
>>>>> [    0.110698] CPU: This may indicate a broken bootloader or firmware.
>>>>> [    0.113438] devtmpfs: initialized
>>>>> [    0.136806] VFP support v0.3: implementor 41 architecture 2 part 30
>>>>> variant 7 rev 3
>>>>> [    0.137402] clocksource: jiffies: mask: 0xffffffff max_cycles:
>>>>> 0xffffffff, max_idle_ns: 1911260446275000 ns
>>>>> [    0.137466] futex hash table entries: 2048 (order: 5, 131072 bytes)
>>>>> [    0.149460] pinctrl core: initialized pinctrl subsystem
>>>>> [    0.153109] NET: Registered protocol family 16
>>>>> [    0.155535] DMA: preallocated 256 KiB pool for atomic coherent
>>>>> allocations
>>>>> [    0.160694] cpuidle: using governor menu
>>>>> [    0.161950] No ATAGs?
>>>>> [    0.162295] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4
>>>>> watchpoint registers.
>>>>> [    0.162357] hw-breakpoint: maximum watchpoint size is 8 bytes.
>>>>> [    0.164179] Serial: AMBA PL011 UART driver
>>>>> [    0.169405] random: fast init done
>>>>> [    0.201022] EXYNOS5420 PMU initialized
>>>>> [    0.243665] vgaarb: loaded
>>>>> [    0.244725] SCSI subsystem initialized
>>>>> [    0.245461] usbcore: registered new interface driver usbfs
>>>>> [    0.245582] usbcore: registered new interface driver hub
>>>>> [    0.245794] usbcore: registered new device driver usb
>>>>> [    0.248255] NetLabel: Initializing
>>>>> [    0.248292] NetLabel:  domain hash size = 128
>>>>> [    0.248316] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
>>>>> [    0.248417] NetLabel:  unlabeled traffic allowed by default
>>>>> [    0.248930] clocksource: Switched to clocksource mct-frc
>>>>> [    0.351833] VFS: Disk quotas dquot_6.6.0
>>>>> [    0.352046] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096
>>>>> bytes)
>>>>> [    0.371166] NET: Registered protocol family 2
>>>>> [    0.372401] TCP established hash table entries: 8192 (order: 3,
>>>>> 32768
>>>>> bytes)
>>>>> [    0.372542] TCP bind hash table entries: 8192 (order: 4, 65536
>>>>> bytes)
>>>>> [    0.372744] TCP: Hash tables configured (established 8192 bind 8192)
>>>>> [    0.373056] UDP hash table entries: 512 (order: 2, 16384 bytes)
>>>>> [    0.373130] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
>>>>> [    0.373721] NET: Registered protocol family 1
>>>>> [    0.374567] Unpacking initramfs...
>>>>> [    4.807852] Freeing initrd memory: 53936K
>>>>> [    4.887021] audit: initializing netlink subsys (disabled)
>>>>> [    4.887254] audit: type=2000 audit(4.831:1): state=initialized
>>>>> audit_enabled=0 res=1
>>>>> [    4.887633] Initialise system trusted keyrings
>>>>> [    4.887849] workingset: timestamp_bits=14 max_order=19
>>>>> bucket_order=5
>>>>> [    4.895726] zbud: loaded
>>>>> [    5.191665] NET: Registered protocol family 38
>>>>> [    5.191703] Key type asymmetric registered
>>>>> [    5.191726] Asymmetric key parser 'x509' registered
>>>>> [    5.191813] bounce: pool size: 64 pages
>>>>> [    5.191908] Block layer SCSI generic (bsg) driver version 0.4
>>>>> loaded (major 250)
>>>>> [    5.192213] io scheduler noop registered
>>>>> [    5.192237] io scheduler deadline registered
>>>>> [    5.192640] io scheduler cfq registered (default)
>>>>> [    5.192665] io scheduler mq-deadline registered
>>>>> [    5.193307] atomic64_test: passed
>>>>> [    5.217683] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
>>>>> [    5.227351] Serial: AMBA driver
>>>>> [    5.227636] 12c00000.serial: ttySAC0 at MMIO 0x12c00000 (irq = 58,
>>>>> base_baud = 0) is a S3C6400/10
>>>>> [    5.228075] 12c10000.serial: ttySAC1 at MMIO 0x12c10000 (irq = 59,
>>>>> base_baud = 0) is a S3C6400/10
>>>>> [    5.228459] 12c20000.serial: ttySAC2 at MMIO 0x12c20000 (irq = 60,
>>>>> base_baud = 0) is a S3C6400/10
>>>>> [    5.985336] console [ttySAC2] enabled
>>>>> [    5.989406] 12c30000.serial: ttySAC3 at MMIO 0x12c30000 (irq = 61,
>>>>> base_baud = 0) is a S3C6400/10
>>>>> [    5.999986] msm_serial: driver initialized
>>>>> [    6.003018] STMicroelectronics ASC driver initialized
>>>>> [    6.012392] libphy: Fixed MDIO Bus: probed
>>>>> [    6.015806] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI)
>>>>> Driver
>>>>> [    6.021609] ehci-pci: EHCI PCI platform driver
>>>>> [    6.026067] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
>>>>> [    6.032152] ohci-pci: OHCI PCI platform driver
>>>>> [    6.036611] uhci_hcd: USB Universal Host Controller Interface driver
>>>>> [    6.043252] usbcore: registered new interface driver usbserial
>>>>> [    6.048747] usbcore: registered new interface driver
>>>>> usbserial_generic
>>>>> [    6.055243] usbserial: USB Serial support registered for generic
>>>>> [    6.061441] mousedev: PS/2 mouse device common for all mice
>>>>> [    6.074583] device-mapper: uevent: version 1.0.3
>>>>> [    6.078438] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23)
>>>>> initialised: dm-devel@xxxxxxxxxx
>>>>> [    6.089235] ledtrig-cpu: registered to indicate activity on CPUs
>>>>> [    6.094218] hidraw: raw HID events driver (C) Jiri Kosina
>>>>> [    6.099403] usbcore: registered new interface driver usbhid
>>>>> [    6.104724] usbhid: USB HID core driver
>>>>> [    6.111414] drop_monitor: Initializing network drop monitor service
>>>>> [    6.116525] ip_tables: (C) 2000-2006 Netfilter Core Team
>>>>> [    6.121784] Initializing XFRM netlink socket
>>>>> [    6.126613] NET: Registered protocol family 10
>>>>>
>>>> Hello Stewart,
>>>>
>>>> I'm at the same step, even with kernel 4.13 from Rawhide. No kernel
>>>> after
>>>> 4.6.5-300.fc24 is working.
>>>> After this I tried to get a fresh install of F26 with
>>>> "fedora-arm-installer --target=none" and afterwards writing u-boot with
>>>> sd_fusing.1M.sh = No chance, System didn't boot.
>>>> Something goes wrong.
>>>>
>>>> Andreas
>>>
>>> After looking at the serial output from the Ubuntu boot, it would appear
>>> that what follows (and where Fedora 26 is getting hung up) is when the
>>> initramfs kernel is looking to mount the root partition and then init all
>>> other processes.  My suspicion is that dracut is still not working
>>> correctly, as I have updated the root UUID in extlinux.conf as well as
>>> all
>>> UUIDs in /etc/fstab.  If dracut fails to build a good initramfs, it
>>> doesn't
>>> matter what revision of u-boot or the kernel we try to use.  On boot up,
>>> the
>>> system always fails to find the root partition to mount.
>>>
>>> Can anyone confirm my thoughts (findings)?  Does anyone have a work
>>> around
>>> to try?
>>
>> I've had other people have luck with Exynos devices.
>
> Hello Peter,
>
> Is there a way I can try an older version of dracut?  We know the version of
> dracut at f24, kernel 4.6.5-300 was working.  If so, what would I have to do
> to transfer such a dracut to f26?  What libraries would have to be
> transferred.  Nothing since f24, kernel 4.6.5-300 has worked for the odroid.
> What else can we try?

Not easily, and I _KNOW_ the older versions were not working OOTB
because they never had the logic to pull in the MMC drivers for any
device that used the DesignWare MMC IP.

> Also, the odroid-xu4 contains two switchable storage devices (a microSD and
> an eMMC), from which the system can be booted.  I do not know if any of the
> other Exynos systems contain such a hardware configuration, and further,
> whether or not this is creating a problem for dracut.  Perhaps you do.  Can
> you provide some of the other Exynos devices that are working?

Nope, I don't, I currently don't have any exynos based devices but I
know there have been people using the Arndale fine (issue in F-26 with
initial-setup on the serial console aside) and Chromebooks (we had an
issue ~ 4.8 due to a change in MMC power sequencing which stopped the
wifi working) that have used more recent kernels up to AFAIK 4.11.x

Peter
_______________________________________________
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