Buildroot Image
#1
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
  Reply
#2
(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
  Reply
#3
(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 ?
  Reply
#4
https://github.com/jwrdegoede/rtl8189ES_linux

Used for armbian.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Buildroot support for the PineCube matteo.scordino 5 1,257 Yesterday, 08:59 AM
Last Post: Stefan_Birnbaum
  NixOS image availablee vfr400racer 5 1,428 03-11-2021, 07:20 PM
Last Post: JuanEsf
Information OpenWrt image PineCube JuanEsf 3 518 02-21-2021, 02:18 PM
Last Post: JuanEsf

Forum Jump:


Users browsing this thread: 1 Guest(s)