Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 4.40 of rk30xxnand.ko requires updated bootloader #2

Open
TJC opened this issue Feb 3, 2014 · 5 comments
Open

Version 4.40 of rk30xxnand.ko requires updated bootloader #2

TJC opened this issue Feb 3, 2014 · 5 comments

Comments

@TJC
Copy link

TJC commented Feb 3, 2014

As per my comment in pull request #1 , the current 4.40 version of rk30xxnand.ko just causes a kernel freeze when booting.

Rolling back to 3.38 allows normal booting behaviour.

This is the output printed after "insmod rk30xxnand-3.0.36+.ko":

[  235.233596] gp_rknand_info = : 0xeb973200
[  235.240083] rk30_chip_set:1 
[  235.242887] FtlInit!
[  235.245439] No.1 FLASH ID:2c 64 44 4b a9 0
[  235.249097] FTL version: 5.0.8 20131204

The kernel seems to be semi-active still -- it will notice USB connects and disconnects and I can use the magic sysrq key. However the insmod command just hangs and never returns to the console.

@julienchauveau
Copy link
Contributor

Hello,

The kernel freeze might be related to the version of the bootloader you are using.

There is several versions available, here is a complete collection of bootloaders released for the Rockchip platforms: http://www.arctablet.com/blog/forum/firmware-development/rockchip-bootloader-collection-rk29xxloader-rk30xxloader-rk3168loader-rk3188loader/

You can update your board to the latest version of the bootloader, but you will have to do a 'lower format' of the NAND, then flash parameter and boot image again:

git clone https://github.com/neo-technologies/rockchip-pack-tools.git
cd rockchip-pack-tools
./upgrade_tool ef RK3188Loader\(L\)_V2.10.bin
./upgrade_tool ul RK3188Loader\(L\)_V2.10.bin
./upgrade_tool lf
./upgrade_tool rd
wget http://dl.radxa.com/rock/images/ubuntu/2013-12-17/parameter -O parameter-dualboot
./upgrade_tool di -p parameter-dualboot
./upgrade_tool rd
./upgrade_tool di -b ../boot.img # change path to your boot image
./upgrade_tool rd

Hoping this will help you...

@TJC
Copy link
Author

TJC commented Feb 6, 2014

Thanks.
Can you point me to a changelog for the bootloader versions?
Which version comes with the standard Radxa Rock?

@julienchauveau
Copy link
Contributor

I haven't found any changelog anywhere, nor any source (the bootloader is delivered by Rockchip in binary form). The standard Radxa Rock comes with version 1.24, available here: http://dl.radxa.com/rock/images/loader/

There are some interesting informations about unpacking the bootloader and obtaining the bootrom: https://gist.github.com/sarg/5028505

@TJC
Copy link
Author

TJC commented Feb 12, 2014

I upgraded to bootloader 2.10, as you suggested.

Once I did this, I found that the old rk30xxnand.ko stopped working -- however the newer 4.40 version from this initrd started working

So, perhaps you can add a note to the initrd that you must upgrade the bootloader before using it?

@hipboi
Copy link
Member

hipboi commented Feb 13, 2014

I will update the bootloader in pack-tools

On Wed, Feb 12, 2014 at 1:18 PM, Toby Corkindale
notifications@github.com wrote:

I upgraded to bootloader 2.10, as you suggested.

Once I did this, I found that the old rk30xxnand.ko stopped working -- however the newer 4.40 version from this initrd started working

So, perhaps you can add a note to the initrd that you must upgrade the bootloader before using it?

Reply to this email directly or view it on GitHub.

radxa rock - quad core arm computer that rocks

radxa.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants