Discussion:
[fedora-arm] test results on odroid-hc1 on booting from sata
Robert Moskowitz
2018-12-05 19:56:20 UTC
Permalink
Does not work.  Sigh.

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
** Invalid partition 1 **
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!?
2 USB Device(s) found
scanning bus 2 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 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
DHCP client bound to address 192.168.192.15 (5004 ms)
*** ERROR: `serverip' not set

==================================

Setup was a 4GB uSD that only had the hardkernel bootloader and uboot. 
No partitions.

sata drive (SSD) had the image (all partitions) installed. Including
changes to extlinux.conf

So now to get what others have working:  boot on uSD and / on sata.

_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to arm-***@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
Peter Robinson
2018-12-05 21:55:26 UTC
Permalink
Does not work. Sigh.
U-Boot 2018.09 (Sep 11 2018 - 09:51:41 +0000) for ODROID-XU3/XU4/HC1
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
** Invalid partition 1 **
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!?
2 USB Device(s) found
scanning bus 2 for devices... 2 USB Device(s) found
scanning usb for storage devices... 1 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
DHCP client bound to address 192.168.192.15 (5004 ms)
*** ERROR: `serverip' not set
==================================
Setup was a 4GB uSD that only had the hardkernel bootloader and uboot.
No partitions.
Well that bit seems to be working from the details above.
sata drive (SSD) had the image (all partitions) installed. Including
changes to extlinux.conf
It finds the USB storage in the output above.

Why do you need to change the extlinux.conf? It should just work no
matter what the storage. What changes did you make?

Peter
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to arm-***@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/***@lists.fedoraprojec
Robert Moskowitz
2018-12-05 22:04:32 UTC
Permalink
Post by Peter Robinson
Does not work. Sigh.
U-Boot 2018.09 (Sep 11 2018 - 09:51:41 +0000) for ODROID-XU3/XU4/HC1
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
** Invalid partition 1 **
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!?
2 USB Device(s) found
scanning bus 2 for devices... 2 USB Device(s) found
scanning usb for storage devices... 1 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
DHCP client bound to address 192.168.192.15 (5004 ms)
*** ERROR: `serverip' not set
==================================
Setup was a 4GB uSD that only had the hardkernel bootloader and uboot.
No partitions.
Well that bit seems to be working from the details above.
sata drive (SSD) had the image (all partitions) installed. Including
changes to extlinux.conf
It finds the USB storage in the output above.
Why do you need to change the extlinux.conf? It should just work no
matter what the storage. What changes did you make?
Per
https://blog.christophersmart.com/2018/04/28/fedora-on-odroid-hc1-mini-nas-armv7/

"First things first, we need to enable the serial console, turn off
cpuidle else it won’t boot, and fix a bug where USB doesn’t load in the
right order. We do this by mounting the boot partition on the SD card
and modifying the extlinux bootloader configuration."

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

But I don't see above where it is even getting to the boot partition on
the sata drive.  But you understand this much better than I, so all help
appreciated!

thanks
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to arm-***@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/arc
Peter Robinson
2018-12-05 22:15:30 UTC
Permalink
Post by Robert Moskowitz
Post by Peter Robinson
Post by Robert Moskowitz
U-Boot 2018.09 (Sep 11 2018 - 09:51:41 +0000) for ODROID-XU3/XU4/HC1
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
** Invalid partition 1 **
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!?
2 USB Device(s) found
scanning bus 2 for devices... 2 USB Device(s) found
scanning usb for storage devices... 1 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
DHCP client bound to address 192.168.192.15 (5004 ms)
*** ERROR: `serverip' not set
==================================
Setup was a 4GB uSD that only had the hardkernel bootloader and uboot.
No partitions.
Well that bit seems to be working from the details above.
Post by Robert Moskowitz
sata drive (SSD) had the image (all partitions) installed. Including
changes to extlinux.conf
It finds the USB storage in the output above.
Why do you need to change the extlinux.conf? It should just work no
matter what the storage. What changes did you make?
Per
https://blog.christophersmart.com/2018/04/28/fedora-on-odroid-hc1-mini-nas-armv7/
"First things first, we need to enable the serial console, turn off
cpuidle else it won’t boot, and fix a bug where USB doesn’t load in the
right order. We do this by mounting the boot partition on the SD card
and modifying the extlinux bootloader configuration."
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
But I don't see above where it is even getting to the boot partition on
the sata drive. But you understand this much better than I, so all help
appreciated!
So if you interrupt the boot process can you use the U-Boot ls command
to see if it can see the contents of the first partition on the disk?
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to arm-***@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/
Robert Moskowitz
2018-12-05 22:40:02 UTC
Permalink
Post by Peter Robinson
Post by Robert Moskowitz
Post by Peter Robinson
Post by Robert Moskowitz
U-Boot 2018.09 (Sep 11 2018 - 09:51:41 +0000) for ODROID-XU3/XU4/HC1
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
** Invalid partition 1 **
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!?
2 USB Device(s) found
scanning bus 2 for devices... 2 USB Device(s) found
scanning usb for storage devices... 1 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
DHCP client bound to address 192.168.192.15 (5004 ms)
*** ERROR: `serverip' not set
==================================
Setup was a 4GB uSD that only had the hardkernel bootloader and uboot.
No partitions.
Well that bit seems to be working from the details above.
Post by Robert Moskowitz
sata drive (SSD) had the image (all partitions) installed. Including
changes to extlinux.conf
It finds the USB storage in the output above.
Why do you need to change the extlinux.conf? It should just work no
matter what the storage. What changes did you make?
Per
https://blog.christophersmart.com/2018/04/28/fedora-on-odroid-hc1-mini-nas-armv7/
"First things first, we need to enable the serial console, turn off
cpuidle else it won’t boot, and fix a bug where USB doesn’t load in the
right order. We do this by mounting the boot partition on the SD card
and modifying the extlinux bootloader configuration."
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
But I don't see above where it is even getting to the boot partition on
the sata drive. But you understand this much better than I, so all help
appreciated!
So if you interrupt the boot process can you use the U-Boot ls command
to see if it can see the contents of the first partition on the disk?
How do I interrupt boot process at the right point (I assume at the
bootp point)?

thanks
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to arm-***@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
Peter Robinson
2018-12-05 22:45:23 UTC
Permalink
Post by Robert Moskowitz
Post by Robert Moskowitz
U-Boot 2018.09 (Sep 11 2018 - 09:51:41 +0000) for ODROID-XU3/XU4/HC1
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
^^^^
Post by Robert Moskowitz
How do I interrupt boot process at the right point (I assume at the
bootp point)?
Watch the screen.... it shows you, see your own output above, that
should count down from probably 2.
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to arm-***@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/archiv
Robert Moskowitz
2018-12-05 23:44:27 UTC
Permalink
Post by Peter Robinson
Post by Robert Moskowitz
Post by Robert Moskowitz
U-Boot 2018.09 (Sep 11 2018 - 09:51:41 +0000) for ODROID-XU3/XU4/HC1
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
^^^^
Post by Robert Moskowitz
How do I interrupt boot process at the right point (I assume at the
bootp point)?
Watch the screen.... it shows you, see your own output above, that
should count down from probably 2.
Ah, it has been so long.  I was thinking about this.  Once it autoboot
is interupted then you can step through or some such.  I will give it a try.

thanks
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to arm-***@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
Stewart Samuels
2018-12-05 22:47:31 UTC
Permalink
BTW, another issue I found, and I don't know if it has been fixed or not
because my script does this automatically, is that with my odroid, I
begin my boot partition on disk block 3072 rather than the default
Fedorad disk block of 2048.  The reason for this is that I found that if
I use the default 2048, flashing the u-boot information to the sd or
emmc cards would then corrupt the boot partition such that you can get
errors such as you are seeing now..."No block device".  I have never
seen these problems since I started my partions from block 3072.

    Stewart
Post by Robert Moskowitz
Post by Peter Robinson
Post by Robert Moskowitz
Post by Peter Robinson
Post by Robert Moskowitz
U-Boot 2018.09 (Sep 11 2018 - 09:51:41 +0000) for ODROID-XU3/XU4/HC1
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
** Invalid partition 1 **
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!?
2 USB Device(s) found
scanning bus 2 for devices... 2 USB Device(s) found
          scanning usb for storage devices... 1 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
DHCP client bound to address 192.168.192.15 (5004 ms)
*** ERROR: `serverip' not set
==================================
Setup was a 4GB uSD that only had the hardkernel bootloader and uboot.
No partitions.
Well that bit seems to be working from the details above.
Post by Robert Moskowitz
sata drive (SSD) had the image (all partitions) installed. Including
changes to extlinux.conf
It finds the USB storage in the output above.
Why do you need to change the extlinux.conf? It should just work no
matter what the storage. What changes did you make?
Per
https://blog.christophersmart.com/2018/04/28/fedora-on-odroid-hc1-mini-nas-armv7/
"First things first, we need to enable the serial console, turn off
cpuidle else it won’t boot, and fix a bug where USB doesn’t load in the
right order. We do this by mounting the boot partition on the SD card
and modifying the extlinux bootloader configuration."
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
But I don't see above where it is even getting to the boot partition on
the sata drive.  But you understand this much better than I, so all help
appreciated!
So if you interrupt the boot process can you use the U-Boot ls command
to see if it can see the contents of the first partition on the disk?
How do I interrupt boot process at the right point (I assume at the
bootp point)?
thanks
_______________________________________________
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to arm-***@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.fedoraprojec
Robert Moskowitz
2018-12-06 00:03:32 UTC
Permalink
Post by Stewart Samuels
BTW, another issue I found, and I don't know if it has been fixed or
not because my script does this automatically, is that with my odroid,
I begin my boot partition on disk block 3072 rather than the default
Fedorad disk block of 2048.  The reason for this is that I found that
if I use the default 2048, flashing the u-boot information to the sd
or emmc cards would then corrupt the boot partition such that you can
get errors such as you are seeing now..."No block device".  I have
never seen these problems since I started my partions from block 3072.
The "No block device" is the expected behavior.  uboot cannot find a
partition on the uSD and then starts searching elsewhere.

I have never had a problem with the supplied images install as
provided.  But then this is my 2nd non-cubieboard attempt and the other
(Linksprite_pcDuino3_Nano) which is also an Allwinner SOC.

And I have been using the install script since Paul provided it.  In
fact I was STILL using his old one to my chagrin!
Post by Stewart Samuels
    Stewart
Post by Robert Moskowitz
Post by Peter Robinson
Post by Robert Moskowitz
Post by Peter Robinson
Post by Robert Moskowitz
U-Boot 2018.09 (Sep 11 2018 - 09:51:41 +0000) for ODROID-XU3/XU4/HC1
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
** Invalid partition 1 **
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!?
2 USB Device(s) found
scanning bus 2 for devices... 2 USB Device(s) found
          scanning usb for storage devices... 1 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
DHCP client bound to address 192.168.192.15 (5004 ms)
*** ERROR: `serverip' not set
==================================
Setup was a 4GB uSD that only had the hardkernel bootloader and uboot.
No partitions.
Well that bit seems to be working from the details above.
Post by Robert Moskowitz
sata drive (SSD) had the image (all partitions) installed. Including
changes to extlinux.conf
It finds the USB storage in the output above.
Why do you need to change the extlinux.conf? It should just work no
matter what the storage. What changes did you make?
Per
https://blog.christophersmart.com/2018/04/28/fedora-on-odroid-hc1-mini-nas-armv7/
"First things first, we need to enable the serial console, turn off
cpuidle else it won’t boot, and fix a bug where USB doesn’t load in the
right order. We do this by mounting the boot partition on the SD card
and modifying the extlinux bootloader configuration."
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
But I don't see above where it is even getting to the boot
partition on
the sata drive.  But you understand this much better than I, so all help
appreciated!
So if you interrupt the boot process can you use the U-Boot ls command
to see if it can see the contents of the first partition on the disk?
How do I interrupt boot process at the right point (I assume at the
bootp point)?
thanks
_______________________________________________
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
_______________________________________________
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to arm-***@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/***@lists.f
Stewart Samuels
2018-12-05 22:41:12 UTC
Permalink
Did you change the root blkid in the extlinux.conf and /etc/fstab files
to be consistent with your your ssd?  I am booting and using F29 Mate on
my Odroid-Xu4 with no issues.  However, that said, I created my own boot
script as well to download and install Fedora images, rather than use
the fedora_arm_installer.  But one of the thing my script does is change
the blkids for all partitions.

Stewart
Post by Peter Robinson
Post by Robert Moskowitz
Post by Peter Robinson
Post by Robert Moskowitz
U-Boot 2018.09 (Sep 11 2018 - 09:51:41 +0000) for ODROID-XU3/XU4/HC1
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
** Invalid partition 1 **
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!?
2 USB Device(s) found
scanning bus 2 for devices... 2 USB Device(s) found
scanning usb for storage devices... 1 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
DHCP client bound to address 192.168.192.15 (5004 ms)
*** ERROR: `serverip' not set
==================================
Setup was a 4GB uSD that only had the hardkernel bootloader and uboot.
No partitions.
Well that bit seems to be working from the details above.
Post by Robert Moskowitz
sata drive (SSD) had the image (all partitions) installed. Including
changes to extlinux.conf
It finds the USB storage in the output above.
Why do you need to change the extlinux.conf? It should just work no
matter what the storage. What changes did you make?
Per
https://blog.christophersmart.com/2018/04/28/fedora-on-odroid-hc1-mini-nas-armv7/
"First things first, we need to enable the serial console, turn off
cpuidle else it won’t boot, and fix a bug where USB doesn’t load in the
right order. We do this by mounting the boot partition on the SD card
and modifying the extlinux bootloader configuration."
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
But I don't see above where it is even getting to the boot partition on
the sata drive. But you understand this much better than I, so all help
appreciated!
So if you interrupt the boot process can you use the U-Boot ls command
to see if it can see the contents of the first partition on the disk?
_______________________________________________
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to arm-***@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/***@lists.fedorapro
Robert Moskowitz
2018-12-05 23:43:10 UTC
Permalink
Post by Stewart Samuels
Did you change the root blkid in the extlinux.conf and /etc/fstab
files to be consistent with your your ssd?  I am booting and using F29
Mate on my Odroid-Xu4 with no issues.  However, that said, I created
my own boot script as well to download and install Fedora images,
rather than use the fedora_arm_installer.  But one of the thing my
script does is change the blkids for all partitions.
In this test, there are NO partitions on the uSD card.  Only partitions
on the sata drive.  This is how it works on the Cubieboards and some
other Allwinner based SOC.  There is no need in this case to change the
UUIDs.  The uboot knows nothing of UUIDs.

And the HC1 has not video connection so only a headless image is applicable.
Post by Stewart Samuels
Stewart
Post by Peter Robinson
Post by Robert Moskowitz
Post by Peter Robinson
Post by Robert Moskowitz
U-Boot 2018.09 (Sep 11 2018 - 09:51:41 +0000) for ODROID-XU3/XU4/HC1
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
** Invalid partition 1 **
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!?
2 USB Device(s) found
scanning bus 2 for devices... 2 USB Device(s) found
          scanning usb for storage devices... 1 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
DHCP client bound to address 192.168.192.15 (5004 ms)
*** ERROR: `serverip' not set
==================================
Setup was a 4GB uSD that only had the hardkernel bootloader and uboot.
No partitions.
Well that bit seems to be working from the details above.
Post by Robert Moskowitz
sata drive (SSD) had the image (all partitions) installed. Including
changes to extlinux.conf
It finds the USB storage in the output above.
Why do you need to change the extlinux.conf? It should just work no
matter what the storage. What changes did you make?
Per
https://blog.christophersmart.com/2018/04/28/fedora-on-odroid-hc1-mini-nas-armv7/
"First things first, we need to enable the serial console, turn off
cpuidle else it won’t boot, and fix a bug where USB doesn’t load in the
right order. We do this by mounting the boot partition on the SD card
and modifying the extlinux bootloader configuration."
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
But I don't see above where it is even getting to the boot partition on
the sata drive.  But you understand this much better than I, so all help
appreciated!
So if you interrupt the boot process can you use the U-Boot ls command
to see if it can see the contents of the first partition on the disk?
_______________________________________________
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
_______________________________________________
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to arm-***@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/arch
Robert Moskowitz
2018-12-06 14:15:26 UTC
Permalink
Post by Peter Robinson
Post by Robert Moskowitz
Post by Peter Robinson
Post by Robert Moskowitz
U-Boot 2018.09 (Sep 11 2018 - 09:51:41 +0000) for ODROID-XU3/XU4/HC1
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
** Invalid partition 1 **
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!?
2 USB Device(s) found
scanning bus 2 for devices... 2 USB Device(s) found
scanning usb for storage devices... 1 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
DHCP client bound to address 192.168.192.15 (5004 ms)
*** ERROR: `serverip' not set
==================================
Setup was a 4GB uSD that only had the hardkernel bootloader and uboot.
No partitions.
Well that bit seems to be working from the details above.
Post by Robert Moskowitz
sata drive (SSD) had the image (all partitions) installed. Including
changes to extlinux.conf
It finds the USB storage in the output above.
Why do you need to change the extlinux.conf? It should just work no
matter what the storage. What changes did you make?
Per
https://blog.christophersmart.com/2018/04/28/fedora-on-odroid-hc1-mini-nas-armv7/
"First things first, we need to enable the serial console, turn off
cpuidle else it won’t boot, and fix a bug where USB doesn’t load in the
right order. We do this by mounting the boot partition on the SD card
and modifying the extlinux bootloader configuration."
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
But I don't see above where it is even getting to the boot partition on
the sata drive. But you understand this much better than I, so all help
appreciated!
So if you interrupt the boot process can you use the U-Boot ls command
to see if it can see the contents of the first partition on the disk?
The interrupt just interrupts with no obvious method to continue
stepping through the boot process.  So I tried ls and got nowhere:

Hit any key to stop autoboot:  0
ODROID-XU3 # ls
ls - list files in a directory (default /)

Usage:
ls <interface> [<dev[:part]> [directory]]
    - List files in directory 'directory' of partition 'part' on
      device type 'interface' instance 'dev'.
ODROID-XU3 # df
dfu - Device Firmware Upgrade

Usage:
dfu <USB_controller> <interface> <dev> [list]
  - device firmware upgrade via <USB_controller>
    on device <dev>, attached to interface
    <interface>
    [list] - list available alt settings

ODROID-XU3 # ls sda:1
** No device specified **

I did a google on uboot commands, and found that there should be a
fsinfo command but:

ODROID-XU3 # fsinfo
Unknown command 'fsinfo' - try 'help'

I tried the part command, but it needs more than just part.

So I am stumped and open to recommendations.

thanks
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to arm-***@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/a

Loading...