Jump to content

ajellisuk

Members
  • Posts

    6
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hello I am trying to build a driver for a PineCube. The driver is Cedar_Ve.ko. Unfortnately I'm running in to problems either building the driver or deploying it. I have tried 3 approaches, but not work. 1) I downloaded the source for the kerenl 5.10.6 which I'm using from here: https://mirrors.dotsrc.org/armbian-apt/pool/main/l/linux-source-5.10.60-current-sunxi/ and built it using the following commands: make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- sunxi_defconfig make LOCALVERSION="-sunxi" ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- zImage modules dtbs I then cloned the source for the Cedar driver from here https://github.com/uboborov/sunxi-cedar-mainline I built the driver against the above kernel using this command line: make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- LOCALVERSION="-sunxi" KERNEL_SOURCE=../linux-source-5.10.60-sunxi/ Using the above steps the driver cross compiled, but when I tried to load it on the PineCube, the module failed to load. The kernel log gave the following message: 2) Having tried the above steps, and not being able to find a way to resolve the error with the above driver, I tried the above steps but using the kernel in the armbian sources here But the build failed with I looked in the source tree for the kerenl for orange-pi-5.10, and could see that fixdep was not built. 3) Finally I tried building the driver on the PineCube itself, but the build failed with: So my questions are what is the recommended approach to building an out of tree module for Armbian? And in the case of method 2 how do I get the build process to build fixdep? Thanks in Advance Andrew
  2. Thank you for the link. For the benefit of anyone else who may come accross this post: I added the following line to "/boot/boot.cmd/" setenv bootargs "${bootargs} cma=xM" where x is the size of RAM allocated to CMA. I then compiled the file with: mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr Hopefully this will help anyone else who runs into this issue. Andrew
  3. Hi Werner Thank you for your reply. I had posted a reply last week, but it's not showing for some reason? For now I've managed to find an image containing 5.10.60. I'll revisit 5.10.72, at a later date.
  4. Hello I've previously build and deployed an armbian image for a pinecube using "bionic" which used kernel version 5.10.60. I have recently tried to build and deploy a new image, but the kernel is now 5.10.72 which wouldn't normally be a problem, but I have found that I've not been able to get gstreamer and some of it's dependacies installed. Is it possible to specify a particular kernel version when I'm building an armbian image, in if so how do I do it? Thanks in advance Andrew
  5. Hello I need to increase the size of the CMA on my armbian set up. But I've not found a way to do it. Is there a kernel command line option I need to pass to increase the CMA size, or is this done in the kernel configuration before building? Thanks in advance Andrew
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines