Giter Site home page Giter Site logo

Comments (3)

Alvin-xie avatar Alvin-xie commented on September 21, 2024

尝试了 bitbake -c cleanall u-boot-rockchip 后重新 build :bitbake -D core-image-minimal
但是有报错,没有rkbin目录
| start=$(aarch64-poky-linux-nm u-boot | grep __rel_dyn_start | cut -f 1 -d ' '); end=$(aarch64-poky-linux-nm u-boot | grep __rel_dyn_end | cut -f 1 -d ' '); tools/relocate-rela u-boot-nodtb.bin 0x00600000 $start $end | cat u-boot-nodtb.bin dts/dt.dtb > u-boot-dtb.bin | cp u-boot-dtb.bin u-boot.bin | truncate -s "%8" u-boot.bin | aarch64-poky-linux-objcopy --dump-section .rodata.default_environment=u-boot-initial-env env/common.o; sed --in-place -e 's/\x00/\x0A/g' u-boot-initial-env | make[1]: Leaving directory '/mnt/data/home/alvin/work/local-yocto/build/tmp/work/rockchip_rk3308_evb-poky-linux/u-boot-rockchip/1_2017.09-r0/build' | make: Leaving directory '/mnt/data/home/alvin/work/local-yocto/build/tmp/work/rockchip_rk3308_evb-poky-linux/u-boot-rockchip/1_2017.09-r0/git' | ERROR: No ../rkbin repository | WARNING: /mnt/data/home/alvin/work/local-yocto/build/tmp/work/rockchip_rk3308_evb-poky-linux/u-boot-rockchip/1_2017.09-r0/temp/run.do_compile.2253623:220 exit 1 from './make.sh' | WARNING: Backtrace (BB generated script): | #1: do_compile, /mnt/data/home/alvin/work/local-yocto/build/tmp/work/rockchip_rk3308_evb-poky-linux/u-boot-rockchip/1_2017.09-r0/temp/run.do_compile.2253623, line 220 | #2: main, /mnt/data/home/alvin/work/local-yocto/build/tmp/work/rockchip_rk3308_evb-poky-linux/u-boot-rockchip/1_2017.09-r0/temp/run.do_compile.2253623, line 275

from meta-rockchip.

JeffyCN avatar JeffyCN commented on September 21, 2024

可以参考build/conf/include/rksdk。
u-boot.conf用git log -p查看改成dummy之前的版本

from meta-rockchip.

Alvin-xie avatar Alvin-xie commented on September 21, 2024

我这里改成了这样:
`
SRC_URI:pn-linux-rockchip = "
git://${TOPDIR}/../kernel;protocol=file;usehead=1
file://cgroups.cfg
"
SRCREV:pn-linux-rockchip = "${AUTOREV}"
KBRANCH = "HEAD"

SRC_URI:pn-u-boot-rockchip = "
git://${TOPDIR}/../u-boot;protocol=file;usehead=1
file://${TOPDIR}/../rkbin.tar.gz
file://${TOPDIR}/../tools-e3cdef0084c4c12e73ebe672731c967fbf3f75f1.tar.gz
"
SRCREV:pn-u-boot-rockchip = "${AUTOREV}"
`
改好后的rkbin重新打包了一下也能编译通过,生成的镜像也ok

from meta-rockchip.

Related Issues (20)

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.