El mar, 04-12-2018 a las 16:14 -0500, Robert Moskowitz escribió:
> On 12/4/18 1:24 PM, Dennis Gilmore wrote:
>> The odroid boards need binary files we can not distribute. While I
>> have
>> a couple they are not really supportable.
> No success today. Here is what I tried:
>
> used
>
https://blog.christophersmart.com/2018/04/28/fedora-on-odroid-hc1-mini-na...
>
> All work was done on my F28 x64 notebook on to a 16GB uSD card.
>
> downloaded and installed F30 minimal:
>
> fedora-arm-image-installer
> --image=/home/rgm/arm/Fedora-Minimal-armhfp-Rawhide-20181203.n.0-
> sda.raw.xz
> --target=none --media=/dev/sdb
>
> Then installed the bootloader:
>
> mkdir hardkernel ; cd hardkernel
>
> wget
>
https://raw.githubusercontent.com/hardkernel/u-boot/odroidxu4-v2017.05/sd...
> \
>
https://raw.githubusercontent.com/hardkernel/u-boot/odroidxu4-v2017.05/sd...
> \
>
https://raw.githubusercontent.com/hardkernel/u-boot/odroidxu4-v2017.05/sd...
> \
>
https://raw.githubusercontent.com/hardkernel/u-boot/odroidxu4-v2017.05/sd...
>
> cp /run/media/rgm/__/usr/share/uboot/odroid-xu3/u-boot.bin .
>
> chmod a+x sd_fusing.sh
>
> ./sd_fusing.sh /dev/sdb
>
> Note that I took the uboot from the F30 install.
>
> Next I fixed extlinux. The above website had extlinux.conf directly
> in
> the mounted boot partition, I found it in the extlinux directory.
>
> sed -i "s|append|& cpuidle.off=1 \
> console=tty1 console=ttySAC2,115200n8 \
> rd.driver.pre=ledtrig-heartbeat,xhci-plat-hcd no_bL_switcher|" \
> /run/media/rgm/__boot/extlinux/extlinux.conf
>
> This resulted in:
>
> cat /run/media/rgm/__boot/extlinux/extlinux.conf
> # extlinux.conf generated by appliance-creator
> ui menu.c32
> menu autoboot Welcome to Fedora-Minimal-armhfp-Rawhide-20181203.n.0.
> Automatic boot in # second{,s}. Press a key for options.
> menu title Fedora-Minimal-armhfp-Rawhide-20181203.n.0 Boot Options.
> menu hidden
> timeout 20
> totaltimeout 600
>
> label Fedora-Minimal-armhfp-Rawhide-20181203.n.0
> (4.20.0-0.rc4.git2.1.fc30.armv7hl)
> kernel /vmlinuz-4.20.0-0.rc4.git2.1.fc30.armv7hl
> append cpuidle.off=1 console=tty1 console=ttySAC2,115200n8
> rd.driver.pre=ledtrig-heartbeat,xhci-plat-hcd no_bL_switcher ro
> root=UUID=0405755f-001a-4df5-8a6d-c9538ca89ee3 rhgb quiet
> LANG=en_US.UTF-8
> fdtdir /dtb-4.20.0-0.rc4.git2.1.fc30.armv7hl/
> initrd /initrd-4.20.0-0.rc4.git2.1.fc30.armv7hl.img
>
>
> I inserted the uSD card in the Odroid, connected the serial cable,
> running screen and here is the capture:
>
>
>
> U-Boot 2018.09 (Sep 11 2018 - 09:51:41 +0000) for ODROID-XU3/XU4/HC1
>
> CPU: Exynos5422 @ 800 MHz
> Model: Odroid XU3 based on EXYNOS5422
> Board: Odroid XU3 based on EXYNOS5422
> Type: hc1
> DRAM: 2 GiB
> MMC: EXYNOS DWMMC: 0, EXYNOS DWMMC: 2
> Loading Environment from MMC... Card did not respond to voltage
> select!
> *** Warning - No block device, using default environment
>
> In: serial
> Out: serial
> Err: serial
> Net: No ethernet found.
> Hit any key to stop autoboot: 0
> MMC Device 1 not found
> no mmc device at slot 1
> Card did not respond to voltage select!
> switch to partitions #0, OK
> mmc2 is current device
> Scanning mmc 2:2...
> Found /extlinux/extlinux.conf
> Retrieving file: /extlinux/extlinux.conf
> 728 bytes read in 3 ms (236.3 KiB/s)
> Ignoring unknown command: ui
> Ignoring malformed menu command: autoboot
> Ignoring malformed menu command: hidden
> Ignoring unknown command: totaltimeout
> Fedora-Minimal-armhfp-Rawhide-20181203.n.0 Boot Options.
> 1: Fedora-Minimal-armhfp-Rawhide-20181203.n.0
> (4.20.0-0.rc4.git2.1.fc30.arm
> v7hl)
> Enter choice: 1: Fedora-Minimal-armhfp-Rawhide-20181203.n.0
> (4.20.0-0.rc4
> .git2.1.fc30.armv7hl)
> Retrieving file: /initrd-4.20.0-0.rc4.git2.1.fc30.armv7hl.img
> ** File not found /initrd-4.20.0-0.rc4.git2.1.fc30.armv7hl.img **
was there an initrd in the boot partition? the problem is that it was
not found. the file should actually be named initramfs-<version>.img
not initrd-<version>.img
ls /run/media/rgm/__boot/
config-4.20.0-0.rc4.git2.1.fc30.armv7hl
dtb
dtb-4.20.0-0.rc4.git2.1.fc30.armv7hl
efi
extlinux
grub
lost+found
System.map-4.20.0-0.rc4.git2.1.fc30.armv7hl
vmlinuz-4.20.0-0.rc4.git2.1.fc30.armv7hl
no initramfs....
And I built this via the standard installer, using target=none.
Is this file suppose to be in the image I downloaded or is it made
somehow during the install.
Dennis
> Skipping Fedora-Minimal-armhfp-Rawhide-20181203.n.0
> (4.20.0-0.rc4.git2.1.fc30.ar
> mv7hl) for failure retrieving initrd
> SCRIPT FAILED: continuing...
> starting USB...
> USB0: USB EHCI 1.00
> USB1: Register 2000140 NbrPorts 2
> Starting the controller
> USB XHCI 1.00
> USB2: Register 2000140 NbrPorts 2
> Starting the controller
> USB XHCI 1.00
> scanning bus 0 for devices... 1 USB Device(s) found
> scanning bus 1 for devices... cannot reset port 1!?
> 1 USB Device(s) found
> scanning bus 2 for devices... 2 USB Device(s) found
> scanning usb for storage devices... 0 Storage Device(s) found
> scanning usb for ethernet devices... 1 Ethernet Device(s)
> found
> Waiting for Ethernet connection... done.
> BOOTP broadcast 1
> BOOTP broadcast 2
> BOOTP broadcast 3
> BOOTP broadcast 4
> BOOTP broadcast 5
> BOOTP broadcast 6
>
> Retry time exceeded; starting again
> missing environment variable: pxeuuid
> Retrieving file: /extlinux/pxelinux.cfg/00000000
> *** ERROR: `serverip' not set
> Retrieving file: /extlinux/pxelinux.cfg/0000000
> *** ERROR: `serverip' not set
>
> ======================
>
>
> So what am I missing here?
>
> Do you have to run the Hardkernel script on an arm boot?
>
> Please advise. Thanks
>
>
> _______________________________________________
> arm mailing list -- arm(a)lists.fedoraproject.org
> To unsubscribe send an email to arm-leave(a)lists.fedoraproject.org
> 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