Hello,

I created this code:

```
# u-boot standalone hello-world.c test image
require recipes-core/images/core-image-base.bb

COMPATIBLE_MACHINE = "^rpi$"

ENABLE_UART="1"
RPI_USE_U_BOOT="1"

# maybe works??
CONFIG_STANDALONE_LOAD_ADDR="0x10000000"

DEPENDS = "u-boot-mkimage-native"

SUMMARY="Helloworld"
DESCRIPTION="Helloworld"
LICENSE="CLOSED"
# LIC_FILES_CHCKSUM = "file://COPYING;md5=1fec1f350300594d23a1d03379c0c989"

SRC_URI += "file://hello_world.c"
HELLO ?= "hello_world.c"
do_compile() {
mkimage -A arm -O linux -T standalone -C none -a ${LOAD_ADDR} -e 0 \
-n "standalone example script" \
-d ${WORKDIR}/${HELLO} ${B}/helloworld.srec
}

inherit deploy

do_deploy() {
install -d ${DEPLOYDIR}
install -m 0644 ${B}/helloworld.srec ${DEPLOYDIR}/
}

addtask do_deploy after do_compile before do_build
```

I get errors, because I think.. the mkimage part.. isn't working.. somebody
could help me, how to solve this?

Regards,
Szabolcs
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to