|
hello,我想自己编译出固件烧录到rk3399pro开发板上。遇到了一下几个疑惑:
1、我参考的是贵公司github的docs的文档。repo到的代码缺少buildroot目录,与文档描述不一致。
├── Android.bp -> build/soong/root.bp
├── art
├── bionic
├── bootable
├── bootstrap.bash -> build/soong/bootstrap.bash
├── build
├── build.sh
├── buildspec.mk
├── compatibility
├── cts
├── dalvik
├── developers
├── development
├── device
├── docs
├── external
├── frameworks
├── hardware
├── javaenv.sh
├── kernel
├── libcore
├── libnativehelper
├── Makefile
├── mkimage.sh
├── packages
├── pdk
├── platform_testing
├── prebuilts
├── rkbin
├── RKDocs
├── RKNPUTools
├── rkst
├── RKTools
├── sdk
├── system
├── test
├── toolchain
├── tools
├── u-boot
└── vendor开发板
2、分别编译的uboot.img与boot.img,然后烧录到开发板也不能正常启动,错误信息如下:
U-Boot 2017.09-g5f96523 (May 27 2019 - 16:24:44 +0800)
Model: Rockchip RK3399 Evaluation Board
DRAM: 2 GiB
Relocation Offset is: 7dbf5000
Sysmem: init
Using default environment
dwmmc@fe320000: 1, sdhci@fe330000: 0
Card did not respond to voltage select!
mmc_init: -95, time 9
switch to partitions #0, OK
mmc0(part 0) is current device
Bootdev: mmc 0
PartType: EFI
get part misc fail -1
boot mode: None
init_resource_list: failed to get boot part, ret=-1
init_resource_list: failed to get resource part, ret=-1
init_kernel_dtb dtb in resource read fail
Can't find UCLASS_IO_DOMAIN driver -19
Model: Rockchip RK3399 Evaluation Board
CLK: (uboot. arml: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
CLK: (uboot. armb: enter 24000 KHz, init 24000 KHz, kernel 0N/A)
aplll 816000 KHz
apllb 24000 KHz
dpll 800000 KHz
cpll 24000 KHz
gpll 800000 KHz
npll 600000 KHz
vpll 24000 KHz
aclk_perihp 133333 KHz
hclk_perihp 66666 KHz
pclk_perihp 33333 KHz
aclk_perilp0 266666 KHz
hclk_perilp0 88888 KHz
pclk_perilp0 44444 KHz
hclk_perilp1 100000 KHz
pclk_perilp1 50000 KHz
Net: No ethernet found.
Hit key to stop autoboot('CTRL+C'): 0
Could not find misc partition
ANDROID: reboot reason: "(none)"
load_android_image: Can't find part: boot
Android boot failed, error -1.
=Booting Rockchip format image=
boot_rockchip_image kernel or boot part info error
Card did not respond to voltage select!
mmc_init: -95, time 9
switch to partitions #0, OK
mmc0(part 0) is current device
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
starting USB...
USB0: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
USB1: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus 0 for devices... 1 USB Device(s) found
scanning bus 1 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Device 0: unknown device
No ethernet found.
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000000
No ethernet found.
3、请问一下哪个地方有正确的、最新的文档和代码我可以使用呢,谢谢。
|
|