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 ...
the cmdline must contain ttyS2 and earyprintk instead of ttyFIQ0.
you can find it at FFTools/parameter/
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
/**************************************************************************************************************************************/
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
Hi all,
Any idea about my lattest post, please?
Thanks.
Best regards,
Ismael FAYE
>FATAL: Could not load /lib/modules/3.10.0/modules.dep: No such file or directory
modules.dep stores the dependency of the kernel modules.
Since no modules are used in the boot.img, you can safely ignore this.
> rsync -av ./modules_install/ /path/to/your/rfs/lib/modules/
If you have compiled modules, this command will copy all the kernel modules files and their depencency info to /lib/modules to your rfs.
Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) | Powered by Discuz! X3.1 |