Little Help to configure RKAndroidTool to Flash Own and Downloaded Boot.img ans Rootfs.

970 views
Skip to first unread message

cpac...@gmail.com

unread,
Feb 17, 2014, 12:43:41 AM2/17/14
to ra...@googlegroups.com

Hello How are you...

Can any help me to configure RKAndroidTool to flash my own kernel, I having problems to flash (with RKAndroidTool v1.37 ) my built boot.img (12.960 MB) and rock_rootfs.img (1.048.576 MB) along with the parameter file:

CMDLINE:console=ttyFIQ0,115200 console=tty0 root=/dev/block/mtd/by-name/linuxroot rw rootfstype=ext4 init=/sbin/init initrd=0x62000000,0x00800000 mtdparts=rk29xxnand:0x00008000@0x00002000(boot),-@0x0000A000(linuxroot)

Address Name Path
0×00000000 parameter parameter
0×00008000 boot boot.img
0×00382000 linuxroot rock_rootfs.img

This are error on RKToolkit LOG are:
-------------------------------
02:27:55 145 INFO:Start to erase IDB
02:27:55 146 INFO:Start to lower format
02:28:06 175 INFO:Lower format OK
02:28:06 177 INFO:Erasing IDB OK
02:28:09 960 Image Thread Path(\\?\USB#VID_2207&PID_310B#6&380B6F11&0&1#{a5dcbf10-6530-11d2-901f-00c04fb951ed}),ThreadID=6184
02:28:09 961 INFO:Start to test device
02:28:09 961 INFO:Start to run
02:28:17 974 INFO:Test device OK
02:28:17 975 INFO:Start to download file
02:28:17 982 INFO: Start to download files to flash,backup offset=0xffffffff
02:28:17 988 INFO:Flash Start to download file to flash
02:28:18 086 Info:RKA_File_Download start,file=boot,offset=0x8000
02:28:22 969 Info:RKA_File_Download start,file=linuxroot,offset=0x12000
02:29:28 799 INFO: Download files to flash finished,Total(281709960)B
02:29:28 799 INFO: Start to check data
02:29:28 800 INFO:Start to check download data
02:29:28 815 Error:Compare parameter file failed,Offset(0)
02:29:28 824 Error: Check parameter file failed
02:29:28 824 ERROR:Download file failed
02:29:28 825 ERROR:Image Thread Failed
02:29:28 827 ERROR:Run failed
------------------------------

With Server or Desktop boot-linux.img and rootfs-desktop.img or rootfs-server.img downloaded from RADXA site are the same problem. But, If try with "Batch Tool" and radxa images with "-update" Flash are OK.

Is very apreciated If any can send how are correct param file and RkAndroidTool settings to use for Flash custom Images/RootFs.

Thanks in Advance, Cristian.
Argentina.

Tom Cubie

unread,
Feb 17, 2014, 12:47:00 AM2/17/14
to Cristian Pacheco, ra...@googlegroups.com
On Mon, Feb 17, 2014 at 1:43 PM, <cpac...@gmail.com> wrote:
>
> Hello How are you...
>
> Can any help me to configure RKAndroidTool to flash my own kernel, I having problems to flash (with RKAndroidTool v1.37 ) my built boot.img (12.960 MB) and rock_rootfs.img (1.048.576 MB) along with the parameter file:
>
> CMDLINE:console=ttyFIQ0,115200 console=tty0 root=/dev/block/mtd/by-name/linuxroot rw rootfstype=ext4 init=/sbin/init initrd=0x62000000,0x00800000 mtdparts=rk29xxnand:0x00008000@0x00002000(boot),-@0x0000A000(linuxroot)
>
> Address Name Path
> 0×00000000 parameter parameter
> 0×00008000 boot boot.img
> 0×00382000 linuxroot rock_rootfs.img
>

It seems there is some error in the parameter file. This is proven working one:

http://dl.radxa.com/rock/images/ubuntu/2014-02-13/parameter-server

The same partition table as yours. You can use it directly with RKAndroidTool.
> --
> You received this message because you are subscribed to the Google Groups "radxa" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to radxa+un...@googlegroups.com.
> To post to this group, send email to ra...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.



--
radxa rock - quad core arm computer that rocks

radxa.com
Message has been deleted

cpac...@gmail.com

unread,
Feb 17, 2014, 8:14:21 AM2/17/14
to ra...@googlegroups.com, Cristian Pacheco, t...@radxa.com
> --
>
> radxa rock - quad core arm computer that rocks
>
>
>
> radxa.com

Hi Tom...

I try with this param and linux-boot.img ans server-rootfs from


boot-linux.img 17-Dec-2013 16:25 12M
parameter 20-Dec-2013 16:50 712

rootfs-server.img 17-Dec-2013 19:12 256M
or with
rootfs-desktop.img 10-Dec-2013 20:42 1.0G

but flash not work.

IMO the partition for boot.img is the problem, because this is 12 MB if try with 4MB boot.img file from picuntu this is flashed OK.

For Custom Roms, only 3 checks are required ? or are required any more ??

param > parameter
boot > linux-boot.img
linuxroot > rock_rootfs.img


This is log from RKAndroidTool
---------
02:27:55 145 INFO:Start to erase IDB
02:27:55 146 INFO:Start to lower format
02:28:06 175 INFO:Lower format OK
02:28:06 177 INFO:Erasing IDB OK
02:28:09 960 Image Thread Path(\\?\USB#VID_2207&PID_310B#6&380B6F11&0&1#{a5dcbf10-6530-11d2-901f-00c04fb951ed}),ThreadID=6184
02:28:09 961 INFO:Start to test device
02:28:09 961 INFO:Start to run
02:28:17 974 INFO:Test device OK
02:28:17 975 INFO:Start to download file
02:28:17 982 INFO: Start to download files to flash,backup offset=0xffffffff
02:28:17 988 INFO:Flash Start to download file to flash
02:28:18 086 Info:RKA_File_Download start,file=boot,offset=0x8000
02:28:22 969 Info:RKA_File_Download start,file=linuxroot,offset=0x12000
02:29:28 799 INFO: Download files to flash finished,Total(281709960)B
02:29:28 799 INFO: Start to check data
02:29:28 800 INFO:Start to check download data
02:29:28 815 Error:Compare parameter file failed,Offset(0)
02:29:28 824 Error: Check parameter file failed
02:29:28 824 ERROR:Download file failed
02:29:28 825 ERROR:Image Thread Failed
02:29:28 827 ERROR:Run failed
---------

If i Restore/Update this files with BatchTools:

radxa-server-update.img 18-Dec-2013 00:52 268M
or
radxa-raring-alip-update.img 16-Jan-2014 00:17 1.0G

Flash, Boot and run OK.


Thanks, Cristian.
Reply all
Reply to author
Forward
0 new messages