I have one of the iMX6 based Utilite units. This unit is apparently not currently supported by Fedora.
Are there plans to support it? If so, is there anything I can do to help?
Steve
On Fri, Jul 3, 2015 at 2:55 PM, Steven Falco stevenfalco@gmail.com wrote:
I have one of the iMX6 based Utilite units. This unit is apparently not currently supported by Fedora.
Are there plans to support it? If so, is there anything I can do to help?
Which model? We do sort of support the Pro version but the upstream DT support isn't great. I have some patches that improve that but I need to test them. I actually updated the u-boot support for it in the latest rawhide build to look at it again.
Peter
On 07/03/2015 10:06 AM, Peter Robinson wrote:
On Fri, Jul 3, 2015 at 2:55 PM, Steven Falco stevenfalco@gmail.com wrote:
I have one of the iMX6 based Utilite units. This unit is apparently not currently supported by Fedora.
Are there plans to support it? If so, is there anything I can do to help?
Which model? We do sort of support the Pro version but the upstream DT support isn't great. I have some patches that improve that but I need to test them. I actually updated the u-boot support for it in the latest rawhide build to look at it again.
I have the Pro. I'd be happy to test your patches.
I'll grab a copy of rawhide from koji and give it a try.
Steve
On 07/03/2015 11:27 AM, Steven Falco wrote:
On 07/03/2015 10:06 AM, Peter Robinson wrote:
On Fri, Jul 3, 2015 at 2:55 PM, Steven Falco stevenfalco@gmail.com wrote:
I have one of the iMX6 based Utilite units. This unit is apparently not currently supported by Fedora.
Are there plans to support it? If so, is there anything I can do to help?
Which model? We do sort of support the Pro version but the upstream DT support isn't great. I have some patches that improve that but I need to test them. I actually updated the u-boot support for it in the latest rawhide build to look at it again.
I have the Pro. I'd be happy to test your patches.
I'll grab a copy of rawhide from koji and give it a try.
I downloaded Fedora-Minimal-armhfp-rawhide-20150703-sda.raw.xz and wrote it to a uSD card.
I am a bit unsure of how to install u-boot into the image, but I found some instructions at https://github.com/oneru/utilite that looked promising.
The steps I used (where /dev/sdf is the uSD card):
dd if=/dev/zero count=500 bs=1K | tr '\000' '\377' > cm-fx6-firmware dd if=SPL of=cm-fx6-firmware bs=1K seek=1 conv=notrunc dd if=u-boot.img of=cm-fx6-firmware bs=1K seek=64 conv=notrunc dd if=cm-fx6-firmware of=/dev/sdf bs=1K skip=1 seek=1 oflag=dsync
That does boot into u-boot, but the boot sequence hangs before u-boot prints its command prompt. Here is what I get:
U-Boot SPL 2015.07-rc3 (Jul 03 2015 - 01:16:44) Booting from MMC
U-Boot 2015.07-rc3 (Jul 03 2015 - 01:16:44 +0000)
CPU: Freescale i.MX6Q rev1.2 1200 MHz (running at 792 MHz) Reset cause: POR Board: CM-FX6 I2C: ready DRAM: 2 GiB NAND: 0 MiB MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2 SF: Detected SST25VF016B with page size 256 Bytes, erase size 4 KiB, total 2 MiB auto-detected panel HDMI Display: HDMI (1024x768)
I also see a very garbled Fedora logo on the HDMI output.
Did I use the correct commands to install u-boot onto the uSD?
Steve
On Fri, Jul 3, 2015 at 5:30 PM, Steven Falco stevenfalco@gmail.com wrote:
On 07/03/2015 11:27 AM, Steven Falco wrote:
On 07/03/2015 10:06 AM, Peter Robinson wrote:
On Fri, Jul 3, 2015 at 2:55 PM, Steven Falco stevenfalco@gmail.com wrote:
I have one of the iMX6 based Utilite units. This unit is apparently not currently supported by Fedora.
Are there plans to support it? If so, is there anything I can do to help?
Which model? We do sort of support the Pro version but the upstream DT support isn't great. I have some patches that improve that but I need to test them. I actually updated the u-boot support for it in the latest rawhide build to look at it again.
I have the Pro. I'd be happy to test your patches.
I'll grab a copy of rawhide from koji and give it a try.
I downloaded Fedora-Minimal-armhfp-rawhide-20150703-sda.raw.xz and wrote it to a uSD card.
I am a bit unsure of how to install u-boot into the image, but I found some instructions at https://github.com/oneru/utilite that looked promising.
The steps I used (where /dev/sdf is the uSD card):
dd if=/dev/zero count=500 bs=1K | tr '\000' '\377' > cm-fx6-firmware dd if=SPL of=cm-fx6-firmware bs=1K seek=1 conv=notrunc dd if=u-boot.img of=cm-fx6-firmware bs=1K seek=64 conv=notrunc dd if=cm-fx6-firmware of=/dev/sdf bs=1K skip=1 seek=1 oflag=dsync
That does boot into u-boot, but the boot sequence hangs before u-boot prints its command prompt. Here is what I get:
U-Boot SPL 2015.07-rc3 (Jul 03 2015 - 01:16:44) Booting from MMC
U-Boot 2015.07-rc3 (Jul 03 2015 - 01:16:44 +0000)
CPU: Freescale i.MX6Q rev1.2 1200 MHz (running at 792 MHz) Reset cause: POR Board: CM-FX6 I2C: ready DRAM: 2 GiB NAND: 0 MiB MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2 SF: Detected SST25VF016B with page size 256 Bytes, erase size 4 KiB, total 2 MiB auto-detected panel HDMI Display: HDMI (1024x768)
I also see a very garbled Fedora logo on the HDMI output.
Did I use the correct commands to install u-boot onto the uSD?
Grab the latest rawhide fedora-arm-installer and that should have the Utilite as an option to flash. It's called cm_fx6
On 07/03/2015 01:02 PM, Peter Robinson wrote:
On Fri, Jul 3, 2015 at 5:30 PM, Steven Falco stevenfalco@gmail.com wrote:
On 07/03/2015 11:27 AM, Steven Falco wrote:
On 07/03/2015 10:06 AM, Peter Robinson wrote:
On Fri, Jul 3, 2015 at 2:55 PM, Steven Falco stevenfalco@gmail.com wrote:
I have one of the iMX6 based Utilite units. This unit is apparently not currently supported by Fedora.
Are there plans to support it? If so, is there anything I can do to help?
Which model? We do sort of support the Pro version but the upstream DT support isn't great. I have some patches that improve that but I need to test them. I actually updated the u-boot support for it in the latest rawhide build to look at it again.
I have the Pro. I'd be happy to test your patches.
I'll grab a copy of rawhide from koji and give it a try.
I downloaded Fedora-Minimal-armhfp-rawhide-20150703-sda.raw.xz and wrote it to a uSD card.
I am a bit unsure of how to install u-boot into the image, but I found some instructions at https://github.com/oneru/utilite that looked promising.
The steps I used (where /dev/sdf is the uSD card):
dd if=/dev/zero count=500 bs=1K | tr '\000' '\377' > cm-fx6-firmware dd if=SPL of=cm-fx6-firmware bs=1K seek=1 conv=notrunc dd if=u-boot.img of=cm-fx6-firmware bs=1K seek=64 conv=notrunc dd if=cm-fx6-firmware of=/dev/sdf bs=1K skip=1 seek=1 oflag=dsync
That does boot into u-boot, but the boot sequence hangs before u-boot prints its command prompt. Here is what I get:
U-Boot SPL 2015.07-rc3 (Jul 03 2015 - 01:16:44) Booting from MMC
U-Boot 2015.07-rc3 (Jul 03 2015 - 01:16:44 +0000)
CPU: Freescale i.MX6Q rev1.2 1200 MHz (running at 792 MHz) Reset cause: POR Board: CM-FX6 I2C: ready DRAM: 2 GiB NAND: 0 MiB MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2 SF: Detected SST25VF016B with page size 256 Bytes, erase size 4 KiB, total 2 MiB auto-detected panel HDMI Display: HDMI (1024x768)
I also see a very garbled Fedora logo on the HDMI output.
Did I use the correct commands to install u-boot onto the uSD?
Grab the latest rawhide fedora-arm-installer and that should have the Utilite as an option to flash. It's called cm_fx6
Interesting. I just tried fedora-arm-installer-1.99.3-1.fc23, which you just built today. However, I couldn't even get out of the SPL:
U-Boot SPL 2015.07-rc3 (Jul 03 2015 - 01:16:44) Booting from MMC spl: mmc: no boot mode left to try ### ERROR ### Please RESET the board ###
I noticed that /usr/share/fedora-arm-installer/boards.d/cm_fx6 was writing u-boot.img with seek=69. The manual process I originally used had seek=64.
As an experiment, I modified /usr/share/fedora-arm-installer/boards.d/cm_fx6 to use seek=64, and now I get the same result that I had originally (when I did everything manually). I.e. the SPL does chain to u-boot correctly, but u-boot hangs before giving a prompt, right after it detects the display.
So I think seek=64 is more correct, but I'll have to somehow get inside u-boot to see why it is hanging.
Steve
On 07/03/2015 01:53 PM, Steven Falco wrote:
On 07/03/2015 01:02 PM, Peter Robinson wrote:
Grab the latest rawhide fedora-arm-installer and that should have the Utilite as an option to flash. It's called cm_fx6
Interesting. I just tried fedora-arm-installer-1.99.3-1.fc23, which you just built today. However, I couldn't even get out of the SPL:
U-Boot SPL 2015.07-rc3 (Jul 03 2015 - 01:16:44) Booting from MMC spl: mmc: no boot mode left to try ### ERROR ### Please RESET the board ###
I noticed that /usr/share/fedora-arm-installer/boards.d/cm_fx6 was writing u-boot.img with seek=69. The manual process I originally used had seek=64.
As an experiment, I modified /usr/share/fedora-arm-installer/boards.d/cm_fx6 to use seek=64, and now I get the same result that I had originally (when I did everything manually). I.e. the SPL does chain to u-boot correctly, but u-boot hangs before giving a prompt, right after it detects the display.
So I think seek=64 is more correct, but I'll have to somehow get inside u-boot to see why it is hanging.
The crash comes from video_logo() in drivers/video/cfb_console.c.
I added "#undef CONFIG_VIDEO_LOGO" in drivers/video/cfb_console.c at line 2223 (right before the #ifdef CONFIG_VIDEO_LOGO in that file) and rebuilt u-boot.
Now I get:
U-Boot SPL 2015.07-rc3 (Jul 03 2015 - 14:59:12) Booting from MMC
U-Boot 2015.07-rc3 (Jul 03 2015 - 14:59:12 -0400)
CPU: Freescale i.MX6Q rev1.2 1200 MHz (running at 792 MHz) Reset cause: POR Board: CM-FX6 I2C: ready DRAM: 2 GiB NAND: 0 MiB MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2 SF: Detected SST25VF016B with page size 256 Bytes, erase size 4 KiB, total 2 MiB No panel detected: default to HDMI Display: HDMI (1024x768) In: serial Out: serial Err: serial Net: FEC Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc2 is current device ** Unrecognized filesystem type ** ** Unrecognized filesystem type **
So the next challenge is to figure out why I'm getting the "unrecognized filesystem type".
Steve
On 07/03/2015 03:05 PM, Steven Falco wrote:
On 07/03/2015 01:53 PM, Steven Falco wrote: So the next challenge is to figure out why I'm getting the "unrecognized filesystem type".
This appears to be caused by the u-boot environment, which I assume is still the original Utilite one. It is trying to fatload, but Fedora uses ext3 for /boot.
Is there a recommended way to update or reset the environment?
Steve
env default -f -a
On July 3, 2015 2:26:29 PM CDT, Steven Falco stevenfalco@gmail.com wrote:
On 07/03/2015 03:05 PM, Steven Falco wrote:
On 07/03/2015 01:53 PM, Steven Falco wrote: So the next challenge is to figure out why I'm getting the
"unrecognized
filesystem type".
This appears to be caused by the u-boot environment, which I assume is still the original Utilite one. It is trying to fatload, but Fedora uses ext3 for /boot.
Is there a recommended way to update or reset the environment?
Steve
arm mailing list arm@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/arm
On 07/03/2015 03:35 PM, Dennis Gilmore wrote:
env default -f -a
On July 3, 2015 2:26:29 PM CDT, Steven Falco stevenfalco@gmail.com wrote:
This appears to be caused by the u-boot environment, which I assume is still the original Utilite one. It is trying to fatload, but Fedora uses ext3 for /boot. Is there a recommended way to update or reset the environment?
Thanks. There must be some additional magic needed, though. I reset the environment and then typed "run bootcmd".
It finds extlinux.conf, which fails because it cannot find a .dtb.
It then tries boot.scr, but that one fails to detect the system type.
I'll keep hunting. :-)
Steve
CM-FX6 # env default -f -a ## Resetting to default environment CM-FX6 # run bootcmd switch to partitions #0, OK mmc2 is current device Scanning mmc 2:1... Found /extlinux/extlinux.conf Retrieving file: /extlinux/extlinux.conf 575 bytes read in 46 ms (11.7 KiB/s) Ignoring unknown command: ui Ignoring malformed menu command: autoboot Ignoring malformed menu command: hidden Ignoring unknown command: totaltimeout Fedora-Minimal-armhfp-rawhide-20150703 Boot Options. 1: Fedora-Minimal-armhfp-rawhide-20150703 (4.2.0-0.rc0.git4.1.fc23.armv7hl) Enter choice: 1: Fedora-Minimal-armhfp-rawhide-20150703 (4.2.0-0.rc0.git4.1.fc23.armv7hl) Retrieving file: /initramfs-4.2.0-0.rc0.git4.1.fc23.armv7hl.img 38648634 bytes read in 1810 ms (20.4 MiB/s) Retrieving file: /vmlinuz-4.2.0-0.rc0.git4.1.fc23.armv7hl 6308944 bytes read in 345 ms (17.4 MiB/s) append: ro root=UUID=275a15d0-88d4-4e33-9c61-d554d6425b1a Retrieving file: /dtb-4.2.0-0.rc0.git4.1.fc23.armv7hl/<NULL>-<NULL>.dtb ** File not found /dtb-4.2.0-0.rc0.git4.1.fc23.armv7hl/<NULL>-<NULL>.dtb ** Skipping Fedora-Minimal-armhfp-rawhide-20150703 (4.2.0-0.rc0.git4.1.fc23.armv7hl) for failure retrieving fdt SCRIPT FAILED: continuing... Found U-Boot script /boot.scr 26100 bytes read in 93 ms (273.4 KiB/s) ## Executing script at 17e00000 Welcome to a-b-c 0.63.
Found kernel_addr_r (0x11000000), using for u_k_addr. Found ramdisk_addr_r (0x18100000), using for u_ramfs_addr. Found fdt_addr_r (0x18000000), using for u_dtb_addr. Could not successfully auto-detect system type. You may need to set u_k_addr, u_ramfs_addr, u_dtb_addr, and u_dtb ...