|
rk3188定制板系统移植问题,rk30xxnand-3.036+
发表于 2017-6-7 17:50:42
浏览:8832
|
回复:1
打印
只看该作者
[复制链接]
楼主
我用的是radxa-stable-3.0的内核源码,rk3188_sdk_defconfig的配置文件,arm-eabi-4.6的交叉编译工具,现有的initrd和rootfs,编译出来的内核zImage和initrd打包成boot.img,在和rootfs.img打包成update.img,启动,串口有一堆I2C设备地址的报错,应该是地址不匹配的问题,我在menuconfig里取消相应设备的勾选,暂时不管这个,现在我进入了initramfs,下面是目前的串口信息:
In
SRX
DDR3
300MHz
Bus Width=32 Col=10 Bank=8 Row=14 CS=2 Die Bus-Width=16 Size=1024MB
OUT
BUILD==2.18 2
SdmmcInit=2 0
FwPartOffset=2000 , 400
OK! 72438
unsigned!
SecureBootEn = 0 0
Boot ver: 2014-10-29#2.19
start_linux=====83641
3444170 Starting kernel...@0x60408000
<hit enter to activate fiq debugger>
[ 1.524865] rt5616 4-001b: Failed to add route Mic Jack->Mic Bias1
[ 1.524965] rt5616 4-001b: dapm: unknown pin HP_L
[ 1.525038] rt5616 4-001b: dapm: unknown pin HP_R
[ 1.596776] rk_cam_cif(3437):rk3066b-camera version: v0.3.25 Zoom by ipp
[ 1.618788] i2c i2c-0: sensor_probe failed -11
[ 1.618794]
[ 1.618891] i2c i2c-2: sensor_probe failed -1
[ 1.618896]
[ 1.725898] camera 33-0-ov5640_back_3: Probe ov5640_back_3 failed
[ 1.825798] camera 33-1-ov2659_front_4: Probe ov2659_front_4 failed
insmod: can't insert '/rk30xxnand-3.0.36+.ko': No such device or address
ls: /sys/class/mtd/mtd*[0-9]: No such file or directory
Gave up waiting for root device. Common problems:
- Boot args (cat /proc/cmdline)
- Check rootdelay= (did the system wait long enough?)
- Check root= (did the system wait for the right device?)
- Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/block/mtd/by-name/linuxroot does not exist. Dropping to a shell!
/bin/sh: can't access tty; job control turned off
(initramfs)
目前这个rk30xxnand-3.0.36+.ko模块挂载不了,/dev目录下也没有mtd和mtdblock,我想问,为什么配置里选了rk29xxnand还要挂载这个rk30xxnand,还有就是,会不会是parameter里有一行mtdparts=rk29xxnand:0x00008000@0x00004000(boot),-@0x000C0000(linuxroot)这个mtd_partition分区,要在源码里进行修改?还是说我的nand硬件地址和板级初始化的nand地址不匹配造成的?我在源码里找了半天也没找到相关的代码,只有一个mach-rk30目录下的devices.c文件里有一个
static struct resource resources_nand[] = {
{
.start = RK30_NANDC_PHYS,
.end = RK30_NANDC_PHYS + RK30_NANDC_SIZE - 1,
.flags = IORESOURCE_MEM,
}
哪位大神能帮帮我??帮我看看这是什么问题??拜托了! |
|