Code Monkey home page Code Monkey logo

meta-pine64's People

Contributors

alistair23 avatar bitbrain-za avatar jpewdev avatar legath avatar lorenzo-arena avatar tmorin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

meta-pine64's Issues

[Questoion] Which board will cover in this repo?

Dear MAINTAINER @alistair23

I just wonder which board cover in this github.
Because I buy some board at pine64 webpage(Maybe today hahaha)

So I leave some question here to you.
Do you have the plan to cover Rockchip series board.
Like Rock64, Rockpro64 board.

And Happy New Year.
Thanks

PineTab2 support

Any chance this will support the PineTab2? I don't know enough about the SOCs to know how similar the RK3566 in the PineTab2 is to any of the already supported Pine-based SBCs.

sopine-a64 no longer works with latest poky/meta-arm on the SOPine Baseboard

Recipe fails applying recipes-bsp/u-boot/files/0001-sun6i-Increase-the-maximum-UART-baud-rate.patch

I believe the fixed patch looks something like this:

diff --git a/arch/arm/mach-sunxi/clock_sun6i.c b/arch/arm/mach-sunxi/clock_sun6i.c
index cda6949dff..8d595a1d10 100644
--- a/arch/arm/mach-sunxi/clock_sun6i.c
+++ b/arch/arm/mach-sunxi/clock_sun6i.c
@@ -104,9 +104,9 @@ void clock_init_uart(void)
                                   CONFIG_CONS_INDEX - 1));
 #else
                /* uart clock source is apb2 */
-               writel(APB2_CLK_SRC_OSC24M|
+               writel(APB2_CLK_SRC_PLL6|
                       APB2_CLK_RATE_N_1|
-                      APB2_CLK_RATE_M(1),
+                      APB2_CLK_RATE_M(5),
                       &ccm->apb2_div);

                /* open the clock for uart */
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
index 4bab917c0b..43c8a3434b 100644
--- a/include/configs/sunxi-common.h
+++ b/include/configs/sunxi-common.h
@@ -26,7 +26,7 @@
 /* suniv doesn't have apb2 and uart is connected to apb1 */
 #define CONFIG_SYS_NS16550_CLK         100000000
 #else
-#define CONFIG_SYS_NS16550_CLK         24000000
+#define CONFIG_SYS_NS16550_CLK         240000000
 #endif
 #ifndef CONFIG_DM_SERIAL
 # define CONFIG_SYS_NS16550_REG_SIZE   -4

However, even after this fix, the image doesn't seem to work. The image begins in u-boot (pressing any key does not stay in u-boot), then the yocto splash starts and the HDMI output immediately stops. Power LEDs stay on.

bitbake core-image-base using the following configuration

Build Configuration:
BB_VERSION           = "2.0.1"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "aarch64-poky-linux"
MACHINE              = "sopine-a64"
DISTRO               = "poky"
DISTRO_VERSION       = "4.1+snapshot-e13a057812ec639544c321db0aedf9c7c203953e"
TUNE_FEATURES        = "aarch64"
TARGET_FPU           = ""
meta
meta-poky
meta-yocto-bsp       = "master:e13a057812ec639544c321db0aedf9c7c203953e"
meta-arm-toolchain
meta-arm
meta-arm-bsp         = "master:84a0813ae12451a8705b2c97058c3e23f8dd4241"
meta-pine64          = "master:96b5e55c25912c8bd80fbf0e537bf0d3519989ec"

Only other change was to add console=tty0 to the boot.cmd file to get HDMI output.

Are there known working versions of the meta-arm and poky layers for the sopine-a64? I also tried kirkstone of all layers.

WARNING: High resolution timers not available

I run cyclictest on pine64.After launch cyclictest, it printed the following warning:
WARNING: High resolution timers not available
I reviewed the /proc/config.gz, and the "CONFIG_HIGH_RES_TIMERS=y" was set.

Can you give some advice?

[Help] How do I get the output onto an SD card

Seems like it should be a simple thing but having gone through the wic documentation I still haven't a clue.

MACHINE=pine-a64-lts bitbake core-image-weston

Ran fine and I have a tmp/deploy/images directory with what looks like all the necessary bits. But I cannot for the life of me figure out how to get it into the SD card.

ERROR wahen bitbake-layers add-layer ../meta-pine64/

 Got an error when excuting the bitbake-layers add-layer ../meta-pine64/ please find below the output of cli

    youcef@server:~/Projects/yocto/poky/build$ bitbake-layers add-layer ../meta-pine64/
    NOTE: Starting bitbake server...
    
    ERROR: Layer arm-toolchain is not compatible with the core layer which only supports these series: langdale (layer is compatible with honister)
    
    ERROR: Layer arm-toolchain is not compatible with the core layer which only supports these series: langdale (layer is compatible with honister)

Pine H64 Model B support

Hello!

Not entirely sure if this supports the H64 B or what changes that would require. If this is supported, a fun weekend project would be (on my end) getting balenaOS built using this meta package.

Thanks for all your help!

Pine A64+ support

I am trying to build an image for a Pine A64+; using the LTS machine I can build successfully but on boot I get this error from the SPL:

U-Boot SPL 2021.01 (Jan 11 2021 - 18:11:43 +0000)
DRAM: 0 MiB
### ERROR ### Please RESET the board ###

I think it could be due to the face that while the + model uses DDR3 RAM, the LTS one uses LPDDR3. I that is wanted I can create a new machine, test it and make a pull request.

Issue with kernel build on hardknott

I'm trying to build the plain core-image-base for pine-64-lts with all the layers on hardknott, but I'm getting the following error:

DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['/mnt/disk2/Projects/experiments/kas/meta-custom/poky/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb:do_populate_sysroot']
NOTE: Installed into sysroot: []
NOTE: Skipping as already exists in sysroot: ['kern-tools-native', 'quilt-native']
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Searching for 0001-arm64-allwinner-Add-HDMI-sound-for-sopine-baseboard.patch in paths:
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/poky
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/poky
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/poky
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/pine-a64-lts
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/pine-a64-lts
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/pine-a64-lts
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/a64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/a64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/a64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/
DEBUG: Searching for 0002-arm64-allwinner-sopine-baseboard-Enable-Bluetooth-an.patch in paths:
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/poky
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/poky
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/poky
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/pine-a64-lts
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/pine-a64-lts
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/pine-a64-lts
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/a64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/a64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/a64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/
DEBUG: Searching for 0003-arm64-allwinner-pine64-Enable-Bluetooth-and-WiFi.patch in paths:
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/poky
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/poky
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/poky
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/pine-a64-lts
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/pine-a64-lts
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/pine-a64-lts
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/a64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/a64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/a64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/
DEBUG: Searching for 0004-arm64-allwinner-sopine-baseboard-Enable-FeiyangFY070.patch in paths:
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/poky
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/poky
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/poky
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/pine-a64-lts
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/pine-a64-lts
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/pine-a64-lts
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/a64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/a64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/a64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/
DEBUG: Searching for 0005-arm64-allwinner-sopine-baseboard-Enable-I2C-touchscr.patch in paths:
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/poky
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/poky
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/poky
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/pine-a64-lts
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/pine-a64-lts
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/pine-a64-lts
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/a64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/a64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/a64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/
DEBUG: Searching for 0006-drivers-sunxi-mmc-Don-t-specify-PROBE_PREFER_ASYNCHR.patch in paths:
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/poky
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/poky
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/poky
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/pine-a64-lts
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/pine-a64-lts
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/pine-a64-lts
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/a64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/a64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/a64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/
DEBUG: Searching for extra.cfg in paths:
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/poky
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/poky
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/poky
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/pine-a64-lts
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/pine-a64-lts
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/pine-a64-lts
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/a64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/a64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/a64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/
DEBUG: Searching for screen.cfg in paths:
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/poky
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/poky
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/poky
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/pine-a64-lts
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/pine-a64-lts
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/pine-a64-lts
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/a64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/a64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/a64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/
DEBUG: Searching for battery.cfg in paths:
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/poky
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/poky
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/poky
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/pine-a64-lts
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/pine-a64-lts
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/pine-a64-lts
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/a64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/a64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/a64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/aarch64
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64-5.10+gitAUTOINC+378e85d1ae/
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/linux-pine64/
    /mnt/disk2/Projects/experiments/kas/meta-custom/meta-pine64/recipes-kernel/linux/files/
DEBUG: Executing shell function do_kernel_metadata
ERROR: Feature 'cfg/fs/vfat.scc' not found, this will cause configuration failures.
ERROR: Check the SRC_URI for meta-data repositories or directories that may be missing
ERROR: Set KERNEL_DANGLING_FEATURES_WARN_ONLY to ignore this issue
WARNING: exit code 1 from a shell command.
ERROR: ExecutionError('/mnt/disk2/Projects/experiments/kas/meta-custom/build/tmp/work/pine_a64_lts-poky-linux/linux-pine64/5.10+gitAUTOINC+378e85d1ae-r0/temp/run.do_kernel_metadata.4125528', 1, None, None)

It seems like it could be due to a line added in linux-yocto on hardknott:

KERNEL_FEATURES_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'vfat', 'cfg/fs/vfat.scc', '', d)}"

Where should that scc file be located?

Pine A64 LTS Internal error: Oops: 96000004 [#1] PREEMPT SMP

Pine don't start every time. Tried older kernel (5.10.2) and newest (5.10.147) but didn't help. Flashed SD card and EMMC and both work this same (almost 50/50 chance to start without crash). Bellow error catched from serial port.

[ 3.762949] sun8i-dw-hdmi 1ee0000.hdmi: Detected HDMI TX controller v1.32a with HDCP (sun8i_dw_hdmi_phy)
[ 3.764234] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000299
[ 3.773222] sun8i-dw-hdmi 1ee0000.hdmi: registered DesignWare HDMI I2C bus driver
[ 3.781361] Mem abort info:
[ 3.790707] sun4i-drm display-engine: bound 1ee0000.hdmi (ops sun8i_dw_hdmi_ops [sun8i_drm_hdmi])
[ 3.792081] ESR = 0x96000004
[ 3.801536] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 1
[ 3.804015] EC = 0x25: DABT (current EL), IL = 32 bits
[ 3.811968] sun4i-drm display-engine: [drm] Cannot find any crtc or sizes
[ 3.816841] SET = 0, FnV = 0
[ 3.816846] EA = 0, S1PTW = 0
[ 3.816848] Data abort info:
[ 3.816851] ISV = 0, ISS = 0x00000004
[ 3.816853] CM = 0, WnR = 0
[ 3.816861] user pgtable: 4k pages, 48-bit VAs, pgdp=00000000820bb000
[ 3.816864] [0000000000000299] pgd=0000000000000000, p4d=0000000000000000
[ 3.816878] Internal error: Oops: 96000004 [#1] PREEMPT SMP
[ 3.816882] Modules linked in: realtek panel_feiyang_fy07024di26a30d snd_soc_simple_card crct10dif_ce snd_soc_simple_card_utils sun8i_drm_hdmi pwm_sun4i dw_hdmi dwmac_sun8i cec axp20x_adc axp20x_battery lima goodix axp20x_ac_power sun6i_mipi_dsi stmmac_platform sun50i_codec_analog sun4i_i2s crc_ccitt sun8i_codec sun4i_drm sun8i_adda_pr_regmap gpu_sched stmmac sun4i_frontend pcs_xpcs sun4i_tcon sun8i_mixer sunxi_wdt sun8i_ce sun8i_tcon_top drm_kms_helper display_connector crypto_engine drm pwm_bl sun6i_dma
[ 3.903043] CPU: 1 PID: 32 Comm: kworker/1:1 Not tainted 5.10.2-mainline #1
[ 3.909992] Hardware name: Pine64 LTS (DT)
[ 3.914098] Workqueue: events deferred_probe_work_func
[ 3.919232] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO BTYPE=--)
[ 3.925388] pc : of_drm_find_panel+0x78/0xd0 [drm]
[ 3.930267] lr : of_drm_find_panel+0x4c/0xd0 [drm]
[ 3.935048] sp : ffff800011fd3b50
[ 3.938356] x29: ffff800011fd3b50 x28: 0000000000000000
[ 3.943663] x27: ffff0000401522c8 x26: ffff800011e883a8
[ 3.948969] x25: 0000000000000042 x24: ffff800008f8e000
[ 3.954273] x23: ffff800011e19e18 x22: 0000000000000000
[ 3.959579] x21: ffff800008f00510 x20: ffff00007dbf3d90
[ 3.964885] x19: ffff000043572780 x18: ffffffffffffffff
[ 3.970190] x17: 0000000000000000 x16: 0000000000000000
[ 3.975497] x15: ffff000042ed5994 x14: ffffffffffffffff
[ 3.980803] x13: ffff000042ed5990 x12: 0000000000000028
[ 3.986109] x11: 0000000000000003 x10: 0101010101010101
[ 3.991414] x9 : fffffffffffffffc x8 : 7f7f7f7f7f7f7f7f
[ 3.996720] x7 : fefefeff646c606d x6 : 1d150c11f5f38080
[ 4.002026] x5 : 00007375110c151d x4 : 0000000000000000
[ 4.007332] x3 : ffff800008f00510 x2 : ffff800008f00530
[ 4.012638] x1 : 0000000000000001 x0 : ffff0000435727a0
[ 4.017945] Call trace:
[ 4.020473] of_drm_find_panel+0x78/0xd0 [drm]
[ 4.024914] sun6i_dsi_attach+0x20/0x84 [sun6i_mipi_dsi]
[ 4.030222] mipi_dsi_attach+0x2c/0x40
[ 4.033968] feiyang_dsi_probe+0xd8/0x13c [panel_feiyang_fy07024di26a30d]
[ 4.040745] mipi_dsi_drv_probe+0x24/0x30
[ 4.044750] really_probe+0xe4/0x490
[ 4.048321] driver_probe_device+0x58/0xc0
[ 4.052412] __device_attach_driver+0xa8/0x10c
[ 4.056849] bus_for_each_drv+0x78/0xd0
[ 4.060671] __device_attach+0xdc/0x180
[ 4.064501] device_initial_probe+0x14/0x20
[ 4.068677] bus_probe_device+0x9c/0xa4
[ 4.072508] deferred_probe_work_func+0x74/0xb0
[ 4.077035] process_one_work+0x1cc/0x350
[ 4.081038] worker_thread+0x13c/0x470
[ 4.084783] kthread+0x154/0x160
[ 4.088008] ret_from_fork+0x10/0x30
[ 4.091582] Code: d1008033 eb02003f 540001a0 f9400261 (f9414c21)
[ 4.097669] ---[ end trace 99482d98733be569 ]---
[ 4.181207] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)

Pine A64-LTS problem

Hi,

I download lastest wersion of poky and added needed layers, but when i'm trying to start this image on pine then it goes out after few seconds (i think that because green LED goes out). I build image using this command "MACHINE=pine-a64-lts bitbake core-image-base", but flashed it via BlenaEtcher instead of dd, because my linux is on VirtualBox. Thanks for any help.

PinePhone Pro MACHINE support

I'd love to have PinePhone pro added to the list of compatible machines.
Would it be possible? As we can build LineOS for pinephone pro using yocto already.

Issues with PINE64 LTS

Hi,

First of all thank for your contribution!!

I would like to know if you (or someone else) tried your layer with a PINE64 LTS board? As far I understood the image for SOPINE should work with PINE64 LTS. I know it is the case for armbian as well as the build 0.7.19 from ayufan-pine64. Both are working with older kernel. However it might this layer "doesn't work" with PINE64 LTS.

Doesn't work means: despite an IP is provided by the DHCP once the board is powered on, the ssh port is closed. I expect the ssh port opened because of EXTRA_IMAGE_FEATURES ?= "debug-tweaks" in local.conf.

FYI I'm a newbee about OpenEmbedded/Yocto/bitbake and so one. You will find below the steps I made to build an image. I followed Yocto Project Quick Build.

Do you think I missed something?

Best regards

~/git$ git clone git://git.yoctoproject.org/poky
Cloning into 'poky'...
remote: Counting objects: 447463, done.
remote: Compressing objects: 100% (105570/105570), done.
remote: Total 447463 (delta 334832), reused 447299 (delta 334670)
Receiving objects: 100% (447463/447463), 157.10 MiB | 2.67 MiB/s, done.
Resolving deltas: 100% (334832/334832), done.
~/git$ cd poky
~/git/poky$ git clone [email protected]:alistair23/meta-pine64.git
Cloning into 'meta-pine64'...
remote: Enumerating objects: 156, done.
remote: Counting objects: 100% (156/156), done.
remote: Compressing objects: 100% (97/97), done.
remote: Total 156 (delta 51), reused 138 (delta 34), pack-reused 0
Receiving objects: 100% (156/156), 41.71 KiB | 435.00 KiB/s, done.
Resolving deltas: 100% (51/51), done.
~/git/poky$ source oe-init-build-env
You had no conf/local.conf file. This configuration file has therefore been
created for you with some default values. You may wish to edit it to, for
example, select a different MACHINE (target hardware). See conf/local.conf
for more information as common configuration options are commented.

You had no conf/bblayers.conf file. This configuration file has therefore been
created for you with some default values. To add additional metadata layers
into your configuration please add entries to conf/bblayers.conf.

The Yocto Project has extensive documentation about OE including a reference
manual which can be found at:
    http://yoctoproject.org/documentation

For more information about OpenEmbedded see their website:
    http://www.openembedded.org/


### Shell environment set up for builds. ###

You can now run 'bitbake <target>'

Common targets are:
    core-image-minimal
    core-image-sato
    meta-toolchain
    meta-ide-support

You can also run generated qemu images with a command like 'runqemu qemux86'
~/git/poky/build$ bitbake-layers add-layer ../meta-pine64
NOTE: Starting bitbake server...
~/git/poky/build$ MACHINE=sopine-a64 bitbake core-image-base
WARNING: Host distribution "ubuntu-19.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Parsing recipes: 100% |##################################################################################################################################| Time: 0:01:07
Parsing of 799 .bb files complete (0 cached, 799 parsed). 1326 targets, 61 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.43.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-19.04"
TARGET_SYS           = "aarch64-poky-linux"
MACHINE              = "sopine-a64"
DISTRO               = "poky"
DISTRO_VERSION       = "2.7+snapshot-20190721"
TUNE_FEATURES        = "aarch64"
TARGET_FPU           = ""
meta                 
meta-poky            
meta-yocto-bsp       = "master:2d8e21eaac3e9d8a1f71fc45877e553c8546aea0"
meta-pine64          = "master:2b7c0d210b87656cb040efa95c7a6278b57fc0dc"

NOTE: Fetching uninative binary shim from http://downloads.yoctoproject.org/releases/uninative/2.6/x86_64-nativesdk-libc.tar.xz;sha256sum=133387753a9acf3e1b788103c59fac91e968e2ee331d7a4b9498e926ada7be57
Initialising tasks: 100% |###############################################################################################################################| Time: 0:00:02
Sstate summary: Wanted 1211 Found 0 Missed 1211 Current 0 (0% match, 0% complete)
NOTE: Executing Tasks
NOTE: Setscene tasks completed
NOTE: Tasks Summary: Attempted 3557 tasks of which 5 didn't need to be rerun and all succeeded.

Summary: There was 1 WARNING message shown.

Linux Can not boot

Firstly, Thanks for your great job!

I followed your guide "MACHINE=pine-a64-lts bitbake core-image-base ", and used this command "sudo dd if=core-image-base.wic of=/dev/sdbx" to install linux on SD CARD.
Then I powered on my pine64 board, The U-Boot could not find linux kenerl.
Can you give some advices?
Thanks!

Merge with meta-sunxi

Hello, just came across this layer with Pine64. How about to merge with meta-sunxi so we don't have extra layer for one specific machine instead of layer which cover allwinner devices? Can give a hand. Thanks.

Sopine build issue

Very strange issue for MACHINE=sopine-a64
I have checked layer before bitbake-layers add-layer and got the next log
The same issue if trying just build.
I have tried to update bbappend from mnainline meta-arm-bsp but nothing understand.

======================================================================
INFO: ERROR: test_world (common.CommonCheckLayer)
INFO: ----------------------------------------------------------------------
INFO: Traceback (most recent call last):
File "/run/media/alexander/23a16ff3-da44-449e-b0ae-63c07d761023/poky/scripts/lib/checklayer/cases/common.py", line 44, in test_world
get_signatures(self.td['builddir'], failsafe=False)
File "/run/media/alexander/23a16ff3-da44-449e-b0ae-63c07d761023/poky/scripts/lib/checklayer/init.py", line 286, in get_signatures
check_command('Generating signatures failed. This might be due to some parse error and/or general layer incompatibilities.',
File "/run/media/alexander/23a16ff3-da44-449e-b0ae-63c07d761023/poky/scripts/lib/checklayer/init.py", line 261, in check_command
raise RuntimeError(msg)
RuntimeError: Generating signatures failed. This might be due to some parse error and/or general layer incompatibilities.
Command: BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE BB_SIGNATURE_HANDLER" BB_SIGNATURE_HANDLER="OEBasicHash" bitbake -S none world
Output:
WARNING: Host distribution "manjaro" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache...done.
ERROR: No recipes in default available for:
/run/media/alexander/23a16ff3-da44-449e-b0ae-63c07d761023/poky/meta-pine64/recipes-bsp/trusted-firmware-a/trusted-firmware-a
%.bbappend
Loaded 1473 entries from dependency cache.

Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code._

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.