rk3066 and u-boot

335 views
Skip to first unread message

Jason Jiang

unread,
May 1, 2017, 1:58:59 AM5/1/17
to linux-rockchip
I have a marsboard rk3066. I recently flash the u-boot in it. the u-boot is from http://androtab.info/rockchip/u-boot/

And then I try to flash the uImage to kernel partition, and reboot. u-boot said:

##################################################
uboot version: U-Boot 2014.01-g111968b (Dec 30 2014 - 13:41:36)

#Boot ver:

##################################################
setup gpio int
GetParam
LMemApiReadLba:0
check parameter success
partition(uboot): offset=0x00002000, size=0x00002000
partition(misc): offset=0x00004000, size=0x00002000
partition(kernel): offset=0x00006000, size=0x00008000
partition(boot): offset=0x0000E000, size=0x00010000
empty serial no.
checkKey
vbus = 1
lcd_ctrl_init [38]
i2c init OVER in board!
set_lcdc_dclk: lcdc_source_clk = 768, clk = 71, div = 11
rk30_load_screen for lcdc ok!
lcd_enable [55]
backlight --- brightness:50
In charging!
LMemApiReadLba:0
LMemApiReadLba:0
LMemApiReadLba:0
LMemApiReadLba:0
LMemApiReadLba:0
bad image magic.
load kernel image failed
ERROR: [do_booti]: booti: bad boot or kernel image
Unable to boot:boot
try to start recovery

and then I tried to rkcrc -k uImage, and flash it again. still the same. 

So can anyone tell me what image should I flashed into the kernel and boot partition to boot the board? Thank you very much!

Naoki FUKAUMI

unread,
May 7, 2017, 11:28:23 PM5/7/17
to Jason Jiang, linux-rockchip
hi

On Mon, May 1, 2017 at 2:56 PM, Jason Jiang <jiangy...@gmail.com> wrote:
> I have a marsboard rk3066. I recently flash the u-boot in it. the u-boot is
> from http://androtab.info/rockchip/u-boot/

it shouldn't be used any more... well,

it works as same as RK proprietary loader.

> And then I try to flash the uImage to kernel partition, and reboot. u-boot
> said:
(snip)
> and then I tried to rkcrc -k uImage, and flash it again. still the same.

it doesn't support uImage (regardless of rkcrc) format at all.

> So can anyone tell me what image should I flashed into the kernel and boot
> partition to boot the board? Thank you very much!

it supports RK proprietary format, i.e. rkcrc -k zImage (or cpio+gz
initramfs for boot), or ANDROID! (mkbootimg) format for kernel+ramdisk
for boot.

please use RK proprietary loader, or join u-boot mainline development ;)

Regards,

--
FUKAUMI Naoki
Reply all
Reply to author
Forward
0 new messages