Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

Firefly rk3288 : the kernel hangs at "Starting kernel" message

2

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
2
Posted at 2/13/2015 00:08:54      1#

Firefly rk3288 : the kernel hangs at "Starting kernel" message

Hi all,

I am using Firefly rk3288 and I am trying to start it with the kernel linux I have compiled. But it doesn't work correctly. The last message I see is " Starting kernel ..." and few second after the board reboot automatically. Any idea of why it works like that? What the matter? Do I missed something?

I have flashed the kernel respecting the informations given in the link "http://wiki.t-firefly.com/index.php/Firefly-RK3288/Build_kernel/en". But I didn't modify the parameter file... Where is the parameter file located? And what do I have to write in this parameter file in order to run linux kernel in the firefly board?


When I compile the kernel I don't have the "firefly-rk3288.img" as mentionned in the link "http://wiki.t-firefly.com/index.php/Firefly-RK3288/Build_kernel/en". I have kernel.img, boot.img and I flashed this two images using rkflashkit.


I have also compiled the u-boot and flashed it using "sudo upgrade_tool ul RK3288UbootLoader_V2.19.01.bin" command.


After flashing RK3288UbootLoader_V2.19.01.bin, kernel.img and boot.img, the borad doesn't work correctly (See the logs bellow). Have you already faced this kind of problem? How did you managed it? Could you please explain again the differents steps in order to start a kernel linux on firefly rk3288?


/********************My logs************************/


DDR Version 1.00 20141007
In
SRX
Channel a: DDR3 200MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
Channel b: DDR3 200MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
OUT


U-Boot 2014.10-RK3288-01-gc0494ea-dirty (Feb 12 2015 - 10:27:33)

CPU: rk3288
CPU's clock information:
    arm pll = 600000000HZ
    periph pll = 297000000HZ
    ddr pll = 200000000HZ
    codec pll = 384000000HZ
Board:    Rockchip platform Board
DRAM:  Found dram banks:1
Adding bank:0000000000000000(0000000080000000)
2 GiB
storage init OK!
Using default environment

GetParam
check parameter success
Unknow param: MACHINE_MODEL:rk30sdk!
Unknow param: MACHINE_ID:007!
Unknow param: MANUFACTURER:RK30SDK!
Unknow param: PWR_HLD: 0,0,A,0,1!
failed to prepare fdt from boot!
power key: bank-0 pin-5
can't find dts node for ricoh619
pmic:act8846
Can't find dts node for fuel guage cw201x
SecureBootEn = 0, SecureBootLock = 0

#Boot ver: 2015-02-12#2.19
sn:1006120000000337
checkKey
vbus = 1
no fuel gauge found
no fuel gauge found
read logo_on switch from dts [0]
no fuel gauge found
Hit any key to stop autoboot:  0
failed to load fdt from boot!
kernel   @ 0x02000000 (0x005fd670)
ramdisk  @ 0x04bf0000 (0x00199961)
Secure Boot state: 0
bootrk: do_bootm_linux...
   Loading Device Tree to 04810000, end 0482b184 ... OK
Add bank:0000000000000000, 0000000080000000

Starting kernel ...

Reply

Use props Report

2

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
2
Posted at 2/13/2015 22:50:34      2#

Re: Firefly rk3288 : the kernel hangs at "Starting kernel" message

Hi all,

Thank you for your answer.

I have flashed the parameter file in the board and the kernel is going further now. I have the following error message now : "Could not load /lib/modules/3.10.0/modules.dep: No such file or directory" .

The modules.dep file is not found. Any idea of why this error happens? How can we fix it?


In the link "http://wiki.t-firefly.com/index.php/Firefly-RK3288/Build_kernel/en" we have to run the command "rsync -av ./modules_install/ /path/to/your/rfs/lib/modules/". What is the real value of "/path/to/your/rfs/lib/modules/" if we download the kernel source with "git clonehttps://bitbucket.org/T-Firefly/firefly ... -kernel.gi"?


Thank you in advance.

Best regards,

Ismael FAYE

/******************************************************************************************************************/

[    7.671246] udevd[146]: starting version 175
Begin: Loading essential drivers ... FATAL: Could not load /lib/modules/3.10.0/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/3.10.0/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/3.10.0/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/3.10.0/modules.dep: No such file or directory
done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
[   12.793255] es8323_create file error
[   19.464794] *****************vbus detect*******************
[  592.980012]
[  592.980012] rk_fb_switch_screen lcdc_id 0 type 1 enable 0
[  592.980298] VGA SUSPEND
[  592.982338] rk_iommu ff930300.vopb_mmu: (vopb) Disabled
[  592.982412] rk_iommu ff930300.vopb_mmu: rockchip_iommu_detach_device: Detached IOMMU with pgtable 0x2e23b000
[  593.007251] rk3288-lcdc lcdc0: blank mode:1
/**************************************************************************************************************************************/

Reply

Use props Report

2

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
2
Posted at 2/13/2015 23:41:00      3#

Re: Firefly rk3288 : the kernel hangs at "Starting kernel" message

Hizhansb,

I can not run any command on the board due to the error. Do we have another solution?

In the link "http://wiki.t-firefly.com/index.php/Firefly-RK3288/Build_kernel/en" we have to run the command "rsync -av ./modules_install/ /path/to/your/rfs/lib/modules/". What is the real value of "/path/to/your/rfs/lib/modules/" if we download the kernel source with "git clonehttps://bitbucket.org/T-Firefly/firefly ... -kernel.gi"?


Thank you in advance,

Best regards,

Ismael FAYE

Reply

Use props Report

2

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
2
Posted at 2/16/2015 19:03:22      4#

Re: Firefly rk3288 : the kernel hangs at

Hi all,


Any idea about my lattest post, please?

Thanks.


Best regards,

Ismael FAYE

Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list