[yocto] yocto] [meta-raspberrypi] why "pi3-64 bitbake image" could not boot ?

Khem Raj raj.khem at gmail.com
Tue May 23 08:26:11 PDT 2017


On Thu, May 18, 2017 at 4:43 AM, mau hideyuki <hideyuki.mau at gmail.com> wrote:
> Hi all>
>  I build raspberry pi3-64 image on my PC, but this image
>  is not able to boot on my raspberrypi3.
>

when you say boot, are you talking about graphical boot ?
I could not get it to boot into graphical target. but console/ssh worked
all well.


> So, I try to build raspberry pi3(aarch32) image, and this image is
>  able to boot on my raspberrypi3.
>
> Next try, I will try build  linux-kernel only with normal make, and install
> over aarch32 image, so boot is good!.
> I build below refference URL
>  "https://devsidestory.com/build-a-64-bit-kernel-for-your-raspberry-pi-3/"
>
> Why bitbake image(aarch64)  is not able to boot??
> (this boot stop at emergency screen)
>
> #My enviorment is below
> ------------------------------------------------------------------
>   build PC : Ubuntu 16.04 LTS
>   yocto and linaro and openembedded version is reffer to the log.
>
> #bblayer.con
> -----------------------------------------------------------------------------------
> POKY_BBLAYERS_CONF_VERSION = "2"
> BBPATH = "${TOPDIR}"
> BBFILES ?= ""
> BBLAYERS ?= " \
>   /home/hideyuki/RPI3/linux4.9.26/poky/meta \
>   /home/hideyuki/RPI3/linux4.9.26/poky/meta-poky \
>   /home/hideyuki/RPI3/linux4.9.26/poky/meta-yocto-bsp \
>   /home/hideyuki/RPI3/linux4.9.26/meta-openembedded/meta-oe \
>   /home/hideyuki/RPI3/linux4.9.26/meta-openembedded/meta-multimedia \
>   /home/hideyuki/RPI3/linux4.9.26/meta-linaro/meta-linaro-toolchain \
>   /home/hideyuki/RPI3/linux4.9.26/meta-raspberrypi \
>   "
> BBLAYERS_NON_REMOVABLE ?= " \
>   /home/hideyuki/Adaptive/RPI3/linux4.9.26/poky/meta \
>   /home/hideyuki/Adaptive/RPI3/linux4.9.26/poky/meta-yocto \
>
> #layer.conf
> --------------------------------------------------------------------------------------
> #"my added" comment is only added on orininal local.conf which is
> # created by "source poky/oe-init-build-env
> MACHINE ?= "raspberrypi3-64"                      #my added
> BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()}"   #my added
> PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}"    #my added
> MACHINE ??= "qemux86"
> DISTRO ?= "poky"
> PACKAGE_CLASSES ?= "package_rpm"
> EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
> USER_CLASSES ?= "buildstats image-mklibs image-prelink"
> PATCHRESOLVE = "noop"
> USER_CLASSES ?= "buildstats image-mklibs image-prelink"
> PATCHRESOLVE = "noop"
> BB_DISKMON_DIRS = "\
>     STOPTASKS,${TMPDIR},1G,100K \
>     STOPTASKS,${DL_DIR},1G,100K \
>     STOPTASKS,${SSTATE_DIR},1G,100K \
>     STOPTASKS,/tmp,100M,100K \
>     ABORT,${TMPDIR},100M,1K \
>     ABORT,${DL_DIR},100M,1K \
>     ABORT,${SSTATE_DIR},100M,1K \
>     ABORT,/tmp,10M,1K"
> PACKAGECONFIG_append_pn-qemu-native = " sdl"
> PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
> CONF_VERSION = "1"
> EXTRA_IMAGE_FEATURES += " ssh-server-openssh "   #my added
> export GNU_MIRROR="http://ftp.gnu.org/gnu"       #my added
> CONNECTIVITY_CHECK_URIS = ""                     #my added
>
> #bitbake log (top only)
> ----------------------------------------------------------------------
> NOTE: Resolving any missing task queue dependencies
>
> Build Configuration:
> BB_VERSION        = "1.34.0"
> BUILD_SYS         = "x86_64-linux"
> NATIVELSBSTRING   = "universal"
> TARGET_SYS        = "aarch64-poky-linux"
> MACHINE           = "raspberrypi3-64"
> DISTRO            = "poky"
> DISTRO_VERSION    = "2.3"
> TUNE_FEATURES     = "aarch64"
> TARGET_FPU        = ""
> meta
> meta-poky
> meta-yocto-bsp    = "master:381897c64069ea43d595380a3ae913bcc79cf7e1"
> meta-oe
> meta-multimedia   = "master:2cdea6c5bb09aa90184c17c9157f4fed0e10b3c2"
> meta-linaro-toolchain = "master:fe7980c13fafd26ba207aa014402eeccfc7ae181"
> meta-raspberrypi  = "master:8527a396d38aec7776182caca8b9a237e03c3965"
>
> Best regards,
> hideyuki.
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>



More information about the yocto mailing list