<ganbold_>
So I have to just edit it and then rkcrc -p and then flash like rkflashtool w offset size < ../parm.img? offset is 0x0, but what about size?
<naobsd>
unit of rkflashtool is 512byte
<naobsd>
if you're using rkflashtool from github/crewrktablets, it should not write more than input (round up to 16KiB)
<ganbold_>
so size would be like (parm_size + (parm_size % 512))?
<naobsd>
well, sorry, unit is 512B, but it only use 16KiB block
<naobsd>
2 should be enough
<naobsd>
rkflashtool will write 1 block, 0x20 unit, 16KiB automatically
<ganbold_>
so like rkflashtool w 0x0 0x2 < parm.img ?
<naobsd>
yes
<naobsd>
actually parameter is written 5 times or so
<naobsd>
if you broke 1st one, 2nd one will be used ;)
<ganbold_>
ok, will try it, meanwhile it doesn't want to show kernel boot msg on screen, need to fix that somehow
<naobsd>
I'm not sure changing KERNEL_IMG really changes something
<naobsd>
but when I changed it, (non-modified)kernel didn't boot
<ganbold_>
I want kernel load at 0x60400000 for instance
<ganbold_>
otherwise this 0x60408000 is not 1mb aligned
<naobsd>
I'll leave for a while, will be back soon
Adibek has joined #linux-rockchip
<Adibek>
Hi everyone
<Adibek>
ganbold_ did You flash kernel on radxa rock ?
<ganbold_>
yeah, just trying
<Adibek>
i was and everything is ok but stops on and no login prompt
<Adibek>
like on webpage i execute ./rkflashtool w 0x4000 0x5000 < mykernel.img
<ganbold_>
naobsd: changed KERNEL_IMG but no messages on screen
<Adibek>
I have messages on boot and kernel loading stops after detect USB devices :(
akaizen has quit [Remote host closed the connection]
<naobsd>
ganbold: is it small code to put a char, or full kernel?
akaizen has joined #linux-rockchip
<ganbold_>
full kernel, but will try now putting some char
<ganbold_>
naobsd: did you able to boot kernel at 0x60400000 for instance?
<naobsd>
ganbold: no, I don't get any success
<naobsd>
bootloader should prepare something other than kernel, so changing KERNEL_IMG may not be permitted
<naobsd>
everything is not clear at all :(
<ganbold_>
not good
<Adibek>
actual config for Radxa Rock is rk3188_Radxa_Rock_Linux_galland_defconfig ?
<naobsd>
sometimes I'm thinking what's Linux people want...
<Adibek>
hehhehe i want my radxa rock with clear Linux working on it and almost i have :)
<Adibek>
now my kernel latest info is printk(KERN_INFO "\n%s...%d.. ===== mmc_rescan Begin....[%s]\n",__FILE__, __LINE__, mmc_hostname(host)); from /drivers/mmc/core/core.c line 1824
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-rockchip
akaizen has quit [Read error: Connection reset by peer]
akaizen_ has joined #linux-rockchip
tonikasch has joined #linux-rockchip
<tonikasch>
hi
<Adibek>
hi
<Adibek>
I dont know why but my kernel after booting still disconnect and connect USB devices all the time :(
<tonikasch>
ah, mine does that with the mouse (but not with the keyboard)
* tonikasch
goes to eat a bit of cocido, is hungry
eebrah has joined #linux-rockchip
eebrah is now known as Guest58344
massi has quit [Remote host closed the connection]
<Adibek>
i disconnect mouse a now i have just keyboard now kernel stops after detect it without loop
<tonikasch>
:?
<Adibek>
kernel stops on USB :( without mouse
<tonikasch>
on USB?
<tonikasch>
mmm
<tonikasch>
kernel panic when only keyboard is attached?
Guest58344 has quit [Ping timeout: 252 seconds]
eebrah_ has joined #linux-rockchip
Theueip has quit [Quit: Leaving...]
<Adibek>
yes
<tonikasch>
ahms... that's strange
eebrah_ has quit [Ping timeout: 245 seconds]
eebrah_ has joined #linux-rockchip
<Adibek>
hehe i know
<tonikasch>
Adibek which kernel?
<Adibek>
i compile clean galland kernel with rk3188_Radxa_Rock_Linux_galland_defconfig
<tonikasch>
so... why don't you open an issue there? giving as much details as possible, like keyboard and mouse vendorid and deviceid, steps to reproduce, defconfig used, wifi chipset, devices listed under lsusb, etc...