Tuesday, May 3, 2016

[fedora-arm] Re: Cubieboard 5 (aka CubieTruck Plus)

Am 03.05.2016 um 19:31 schrieb Peter Robinson:
> On Tue, May 3, 2016 at 5:52 PM, Andreas Reschke <arm_ml@rirasoft.de> wrote:
>> Am 03.05.2016 um 17:48 schrieb Peter Robinson:
>>>>>> Hi there,
>>>>>> now the board is on my table.
>>>>>>
>>>>>> The only image i've found is
>>>>>> linaro-desktop-cubietruck-plus-card-dp-v1.1.img. But I don't think its a
>>>>>> real aarch64 Image:
>>>>>>
>>>>>> linaro@cubietruck-plus:~$ uname -a
>>>>>> Linux cubietruck-plus 3.4.39 #7 SMP PREEMPT Tue Mar 1 09:34:33 CST 2016
>>>>>> armv7l armv7l armv7l GNU/Linux
>>>>>> linaro@cubietruck-plus:~$
>>>>>> I think this should be armv8l ?
>>>>>>
>>>>>> Is there any howto to create/build a aarch64 Image on a Cubieboard 5 with
>>>>>> Fedora ?
>>>>> Is this a real aarch64 board? As far as I can tell [1], although their
>>>>> website is terrible on the details, it's a ARMv7 device not a aarch64
>>>>> device.
>>>>>
>>>>> Peter
>>>>>
>>>>> [1] http://linux-sunxi.org/Cubietech_Cubietruck_Plus
>>>>
>>>> Hello Peter,
>>>>
>>>> you're right. It's my mistake.
>>>> CB5 Vs CB3| Cubietruck(CB3)|CubieTruck Plus(CB5)
>>>> SOC |Allwinnertech A20 |Allwinnertech H8
>>>> Dual-Core,Cortex-A7,upto 1.08GHz | Octa-Core,Cortex-A7,upto CPU 2.0GHz
>>>>
>>>> They're both A7.
>>>>
>>>> I will test it with aktuell Fedora and CentOS 32Bit.
>>> So this should work with Fedora 25 nightly images like the minimal.
>>> Both the u-boot and kernel now have support for the CubieTruck Plus
>>> note I have not tested it and don't have HW so YMMV but any feedback
>>> is welcome and if there's issues you report we should be able to get
>>> them fixed.
>>>
>>> [1] http://koji.fedoraproject.org/koji/taskinfo?taskID=13900802
>> Hallo Peter,
>> thanks for the quick response. I've dd'ed this Image, but no success.
>> Only the red light.
>> Must I write this Image like the howto
>> https://fedoraproject.org/wiki/Architectures/ARM/F23/Installation ?
>
> You'll need to dd out a u-boot like all other arm devices. I suggest
> you do this with arm-image-installer, but you'll need to create a
> symlink for the device
>
> on the host :
>
> "sudo dnf install fedora-arm-installer"
> "sudo ln -s /usr/share/arm-image-installer/socs.d/AllWinner
> /usr/share/arm-image-installer/boards.d/Cubietruck_plus"
> "sudo arm-image-installer
> --image=Fedora-Minimal-armhfp-Rawhide-20160503.n.0-sda.raw.xz
> --target=Cubietruck_plus --media=<INSERT SD CARD DEV NAME>"
>
> I have no idea if the display outputs, if you have a serial console
> add --console to the end of the arm-image-installer commands.
>
> PS please keep conversation on list
> _______________________________________________
> arm mailing list
> arm@lists.fedoraproject.org
> http://lists.fedoraproject.org/admin/lists/arm@lists.fedoraproject.org

Hello Peter,

thanks for the smal howto. What I did:

- dnf install fedora-arm-installer

- ln -s /usr/share/fedora-arm-installer/socs.d/AllWinner
/usr/share/fedora-arm-installer/boards.d/Cubietruck_plus

(Wrong path)

- [root@hp635 Downloads]# fedora-arm-image-installer
--image=Fedora-Minimal-armhfp-Rawhide-20160503.n.0-sda.raw.xz
--target=Cubietruck_plus --media=/dev/sdb

=====================================================
= Selected Image:
= Fedora-Minimal-armhfp-Rawhide-20160503.n.0-sda.raw.xz
= Selected Media : /dev/sdb
= U-Boot Target : Cubietruck_plus
=====================================================

*****************************************************
*****************************************************
******** WARNING! ALL DATA WILL BE DESTROYED ********
*****************************************************
*****************************************************

Type 'YES' to proceed, anything else to exit now

= Proceed? YES
= Writing:
= Fedora-Minimal-armhfp-Rawhide-20160503.n.0-sda.raw.xz
= To: /dev/sdb ....
0+224841 Datensätze ein
0+224841 Datensätze aus
2146435072 Bytes (2,1 GB) kopiert, 206,405 s, 10,4 MB/s
= Writing image complete!
= Writing u-boot-sunxi-with-spl.bin ....
390+1 Datensätze ein
390+1 Datensätze aus
400326 Bytes (400 kB) kopiert, 0,0318274 s, 12,6 MB/s

= Installation Complete! Insert into the Cubietruck_plus and boot.
[root@hp635 Downloads]#

No boot, just the one red light, nothing else, no screen.

Greetings

Andreas
_______________________________________________
arm mailing list
arm@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/arm@lists.fedoraproject.org

No comments:

Post a Comment