IMX6 DualLite摸索笔记(3)Yocto 中uboot源码位置

又过了一周,蹉跎人生呀,总是在做些没有营养的鸡毛蒜皮的琐事。

下载好Yocto文件后,后面就和《i.MX_BSP_Porting_Guide》不太一样了,对应的目录一个找不到,只能再次摸石头过河了。

首先是uboot目录,据我观察是

owen@ubuntu:~/fsl-release-bsp/buildDir/tmp/work/imx6dlsabreauto-poky-linux-gnueabi/u-boot-imx/2016.03-r0/git$ 
imx6dlsabreauto-poky-linux-gnueabi和前面选择的机器名有关。
这个目录下文件:

这就是uboot源码了,估计只要把这里改了,再编译一次应该就可以了。

后面又不会了,这次用find指令查找,回去尝试按照文档里面的方法

owen@ubuntu:~/fsl-release-bsp/buildDir/tmp/work/imx6dlsabreauto-poky-linux-gnueabi/u-boot-imx/2016.03-r0/git/mx6dlsabreauto_config/include$ find /home/owen/fsl-release-bsp/ -name "freescale"
/home/owen/fsl-release-bsp/.repo/projects/sources/base.git/logs/refs/remotes/freescale
/home/owen/fsl-release-bsp/.repo/projects/sources/meta-fsl-demos.git/logs/refs/remotes/freescale
/home/owen/fsl-release-bsp/.repo/projects/sources/meta-fsl-arm-extra.git/logs/refs/remotes/freescale
/home/owen/fsl-release-bsp/buildDir/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/linux-libc-headers/4.1-r0/linux-4.1/arch/arm64/boot/dts/freescale
/home/owen/fsl-release-bsp/buildDir/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/linux-libc-headers/4.1-r0/linux-4.1/drivers/net/ethernet/freescale
/home/owen/fsl-release-bsp/buildDir/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/linux-libc-headers/4.1-r0/linux-4.1/drivers/pinctrl/freescale
/home/owen/fsl-release-bsp/buildDir/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/linux-libc-headers/4.1-r0/linux-4.1/Documentation/devicetree/bindings/arm/freescale
---->/home/owen/fsl-release-bsp/buildDir/tmp/work/imx6dlsabreauto-poky-linux-gnueabi/u-boot-imx/2016.03-r0/git/board/freescale <---------
/home/owen/fsl-release-bsp/buildDir/tmp/work/imx6dlsabreauto-poky-linux-gnueabi/u-boot-imx/2016.03-r0/git/mx6dlsabreauto_config/board/freescale
/home/owen/fsl-release-bsp/buildDir/tmp/work/imx6dlsabreauto-poky-linux-gnueabi/linux-imx/4.1.15-r0/build/drivers/net/ethernet/freescale
/home/owen/fsl-release-bsp/buildDir/tmp/work/imx6dlsabreauto-poky-linux-gnueabi/linux-imx/4.1.15-r0/build/drivers/pinctrl/freescale
/home/owen/fsl-release-bsp/buildDir/tmp/work/imx6dlsabreauto-poky-linux-gnueabi/kernel-module-imx-gpu-viv/5.0.11.p8.6-r0/kernel-module-imx-gpu-viv-5.0.11.p8.6/kernel-module-imx-gpu-viv-src/hal/os/linux/kernel/platform/freescale
/home/owen/fsl-release-bsp/buildDir/tmp/work/imx6dlsabreauto-poky-linux-gnueabi/kernel-module-imx-gpu-viv/5.0.11.p8.6-r0/kernel-module-imx-gpu-viv-5.0.11.p8.6/kernel-module-imx-gpu-viv-src/hal/os/linux/kernel/allocator/freescale
/home/owen/fsl-release-bsp/buildDir/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-qemu/2.5.0-r1/qemu-2.5.0/roms/u-boot/nand_spl/board/freescale
/home/owen/fsl-release-bsp/buildDir/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-qemu/2.5.0-r1/qemu-2.5.0/roms/u-boot/board/freescale
/home/owen/fsl-release-bsp/buildDir/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-linux-libc-headers/4.4-r0/linux-4.4/arch/arm64/boot/dts/freescale
/home/owen/fsl-release-bsp/buildDir/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-linux-libc-headers/4.4-r0/linux-4.4/drivers/net/ethernet/freescale
/home/owen/fsl-release-bsp/buildDir/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-linux-libc-headers/4.4-r0/linux-4.4/drivers/pinctrl/freescale
/home/owen/fsl-release-bsp/buildDir/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-linux-libc-headers/4.4-r0/linux-4.4/Documentation/devicetree/bindings/arm/freescale
/home/owen/fsl-release-bsp/buildDir/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-u-boot-mkimage/v2016.03+gitAUTOINC+df61a74e68-r0/git/board/freescale
/home/owen/fsl-release-bsp/buildDir/tmp/work/x86_64-linux/qemu-native/2.5.0-r1/qemu-2.5.0/roms/u-boot/nand_spl/board/freescale
/home/owen/fsl-release-bsp/buildDir/tmp/work/x86_64-linux/qemu-native/2.5.0-r1/qemu-2.5.0/roms/u-boot/board/freescale
/home/owen/fsl-release-bsp/buildDir/tmp/work-shared/imx6dlsabreauto/kernel-source/arch/arm64/boot/dts/freescale
/home/owen/fsl-release-bsp/buildDir/tmp/work-shared/imx6dlsabreauto/kernel-source/drivers/net/ethernet/freescale
/home/owen/fsl-release-bsp/buildDir/tmp/work-shared/imx6dlsabreauto/kernel-source/drivers/pinctrl/freescale
/home/owen/fsl-release-bsp/buildDir/tmp/work-shared/imx6dlsabreauto/kernel-source/drivers/mxc/gpu-viv/hal/os/linux/kernel/platform/freescale
/home/owen/fsl-release-bsp/buildDir/tmp/work-shared/imx6dlsabreauto/kernel-source/drivers/mxc/gpu-viv/hal/os/linux/kernel/allocator/freescale
/home/owen/fsl-release-bsp/buildDir/tmp/work-shared/imx6dlsabreauto/kernel-source/Documentation/devicetree/bindings/arm/freescale

找出来了一大堆,但是对移植uboot有用的应该就是这一个目录:

/home/owen/fsl-release-bsp/buildDir/tmp/work/imx6dlsabreauto-poky-linux-gnueabi/u-boot-imx/2016.03-r0/git/board/freescale

看看里面有什么文件

这次终于和文档对上了,文档真是坑爹啊,前面的路径都不给,找了几天才找到它说的东西在什么地方


  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值