Re: Is support for Utilite envisioned?

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

 



On 07/03/2015 01:02 PM, Peter Robinson wrote:
> On Fri, Jul 3, 2015 at 5:30 PM, Steven Falco <stevenfalco@xxxxxxxxx> 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@xxxxxxxxx> 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

_______________________________________________
arm mailing list
arm@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/arm




[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