PINE64
Buildroot support for the PineCube - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PineCube (https://forum.pine64.org/forumdisplay.php?fid=149)
+--- Forum: Development Discussion on PineCube (https://forum.pine64.org/forumdisplay.php?fid=151)
+--- Thread: Buildroot support for the PineCube (/showthread.php?tid=11915)



Buildroot support for the PineCube - matteo.scordino - 10-23-2020

Hello all,

at Elimo Engineering we have designed Impetus, a SoM that shares the Allwinner S3 SoC with the PineCube. Our first supported platform is (going to be) Buildroot.

Given the similarities of the two, and the general lack of support for the S3, we have decided to do double purpose and integrate support for the PineCube into Buildroot.

You can find the repo on our GitHub account and build instructions in the board support directory readme.

The most important thing that this provides is support for the S3's DDR3 in u-boot. Unfortunately mainline u-boot does not have that yet.

Since we don't have a PineCube ourselves, this is unfortunately untested, but it should get a functional system that boots to a console on UART0. It's pretty fast too, getting there in 1.5 seconds from u-boot to login prompt.

All in all, I think this could be a good starting point for further development.


RE: Buildroot support for the PineCube - tllim - 10-26-2020

(10-23-2020, 10:02 AM)matteo.scordino Wrote: Hello all,

at Elimo Engineering we have designed Impetus, a SoM that shares the Allwinner S3 SoC with the PineCube. Our first supported platform is (going to be) Buildroot.

Given the similarities of the two, and the general lack of support for the S3, we have decided to do double purpose and integrate support for the PineCube into Buildroot.

You can find the repo on our GitHub account and build instructions in the board support directory readme.

The most important thing that this provides is support for the S3's DDR3 in u-boot. Unfortunately mainline u-boot does not have that yet.

Since we don't have a PineCube ourselves, this is unfortunately untested, but it should get a functional system that boots to a console on UART0. It's pretty fast too, getting there in 1.5 seconds from u-boot to login prompt.

All in all, I think this could be a good starting point for further development.

Appreciated and thanks on the collaboration. I have PM you on your shipping info and I will ship one PineCube to you.

... TL


RE: Buildroot support for the PineCube - disdi - 11-18-2020

(10-23-2020, 10:02 AM)Hi matteo.scordino, Wrote: Since we don't have a PineCube ourselves, this is unfortunately untested, but it should get a functional system that boots to a console on UART0. It's pretty fast too, getting there in 1.5 seconds from u-boot to login prompt.

All in all, I think this could be a good starting point for further development.

I am unable to boot PineCube with instructions provided on this page -

https://github.com/elimo-engineering/buildroot/tree/pine64/pinecube/board/pine64/pinecube

I think the sdcard.img does not have uboot binaries and so if we burn it on SDCARD , bootloader partitions are not created.

Thus when I use the SDCARD with sdcard.img , I see no logs on serial UART0 console.


I have flashed NIXOS image to verify that my serial console setup works and I see logs and linux booting.


Could you let me know what I am missing here ?



RE: Buildroot support for the PineCube - sawdust - 11-19-2020

(11-18-2020, 06:26 AM)disdi Wrote: I am unable to boot PineCube with instructions provided on this page -
...

I have flashed NIXOS image to verify that my serial console setup works and I see logs and linux booting.

Could you let me know what I am missing here ?
Hi there

I've been able to build and boot this demo for my Pinecube.

Any chance that you have UART0 and UART2 confused?  
The NixOS build uses UART2 as the console.  
This Buildroot image will use the other port, UART0, for the console.

Regards


RE: Buildroot support for the PineCube - gherlein - 12-02-2020

What baud rate are the serial outputs?


RE: Buildroot support for the PineCube - Stefan_Birnbaum - 04-09-2021

Hi, I have tried the PinrCube branch of your Buildroot repo.

Unfortunately I get cyclic timeouts: 'sunxi-mmc 1c10000.mmc: fatal err update clk timeout'

Furthermore some functionality is not working. For example Ethernet.

Do you have any clue where the problem could be or how I can fix it?