PINE64
Buildroot Image - 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 Image (/showthread.php?tid=12285)



Buildroot Image - k0m37 - 11-23-2020

Hi all,

I managed to create a buildroot image with kernel 5.10rc4 for the pinecube. The actually usb-patch from daniel fullmer is not yet included.

ffmpeg and v4l2 are preinstalled in the image. I add the link to download the image here (google drive). Simply burn to sdcard.

The image boots on the console UART2. An ethernet connection is done via dhcp and sshd starts automatically.

Login is root & Password pinecube.

Unfortunately Wifi is not working yet. Also media-ctl brings an error "no /dev/media0".

I am grateful for tips on further configuration of the kernel and necessary packages.

Regards

Link Update:

New image with wifi now working & ov5640 driver & ffmpeg preinstalled


RE: Buildroot & Debian Image - sawdust - 11-23-2020

(11-23-2020, 04:16 PM)k0m37 Wrote: Buildroot & Debian Image

I managed to create a buildroot image with kernel 5.10rc4 for the pinecube.
How do you merge/blend Buildroot and Debian? 
Seems like you are under-utilizing Buildroot, and could just as easily build U-Boot and the kernel separately? 
BTW rc5 was released this week.  I've started a build for Pinecube as I'm writing this.


(11-23-2020, 04:16 PM)k0m37 Wrote: Unfortunately Wifi is not working yet.
Because there is no driver in that kernel for the radio. 
The driver for the RTL8189ES is not in mainline.


(11-23-2020, 04:16 PM)k0m37 Wrote: Also media-ctl brings an error "no /dev/media0"
That means that there is no image sensor (camera) device. 
If you've built the kernel with sunxi_defconfig, then there is no image sensor enabled in that configuration. 
You need to enable (using `make linux-menuconfig`): 

  Device Drivers -> Multimedia support -> Media ancillary drivers -> Camera sensor devices -> OmniVision OV5640 sensor support

Regards


RE: Buildroot & Debian Image - k0m37 - 11-24-2020

(11-23-2020, 11:53 PM)sawdust Wrote:
(11-23-2020, 04:16 PM)k0m37 Wrote: Buildroot & Debian Image 

I managed to create a buildroot image with kernel 5.10rc4 for the pinecube.
How do you merge/blend Buildroot and Debian? 
Seems like you are under-utilizing Buildroot, and could just as easily build U-Boot and the kernel separately? 
BTW rc5 was released this week.  I've started a build for Pinecube as I'm writing this.


(11-23-2020, 04:16 PM)k0m37 Wrote: Unfortunately Wifi is not working yet.
Because there is no driver in that kernel for the radio. 
The driver for the RTL8189ES is not in mainline.


(11-23-2020, 04:16 PM)k0m37 Wrote: Also media-ctl brings an error "no /dev/media0"
That means that there is no image sensor (camera) device. 
If you've built the kernel with sunxi_defconfig, then there is no image sensor enabled in that configuration. 
You need to enable (using `make linux-menuconfig`): 

  Device Drivers -> Multimedia support -> Media ancillary drivers -> Camera sensor devices -> OmniVision OV5640 sensor support

Regards

I build buildroot & kernel & u-boot separately. Then simply copied u-boot files & zImage to output/images of the buildroot directory. Then rebuild the image. 

In buildroot there is also a option to use external kernel & u-boot. OVERRIDE_SRCDIR with local.mk-file. See chapter 8.13.6 of the manual. But I didnt manage that. It seems that this, didnt use the right config files for the build.

There are any sources & firmware binaries for RTL8189ES available ?


RE: Buildroot Image - JuanEsf - 03-14-2021

https://github.com/jwrdegoede/rtl8189ES_linux

Used for armbian.