leowt changed the topic of #linux-rockchip to: Rockchip development discussion | http://linux-rockchip.info | http://irclog.whitequark.org/linux-rockchip
naobsd has quit [Quit: Page closed]
sjoerd` is now known as sjoerd
sjoerd is now known as sjoerd`
sjoerd` is now known as sjoerd
sjoerd is now known as sjoerd`
ojn has quit [*.net *.split]
ojn has joined #linux-rockchip
hipboi has joined #linux-rockchip
ojn has joined #linux-rockchip
ojn has quit [Changing host]
akaizen has quit [*.net *.split]
jeremb_ has quit [*.net *.split]
jeremb_ has joined #linux-rockchip
akaizen has joined #linux-rockchip
Astralix1 has joined #linux-rockchip
Astralix has quit [Ping timeout: 264 seconds]
Theueip has quit [Quit: Leaving...]
eebrah|noPC has joined #linux-rockchip
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-rockchip
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-rockchip
hipboi has quit [Ping timeout: 272 seconds]
hipboi has joined #linux-rockchip
hipboi has quit [Read error: Connection reset by peer]
hipboi has joined #linux-rockchip
hipboi has quit [Read error: Connection reset by peer]
eebrah has joined #linux-rockchip
eebrah has quit [Ping timeout: 240 seconds]
eebrah|noPC has quit [Read error: Connection reset by peer]
massi has joined #linux-rockchip
rellla has joined #linux-rockchip
eebrah|noPC has joined #linux-rockchip
AstralixNB has joined #linux-rockchip
eebrah|noPC has quit [Ping timeout: 265 seconds]
mmind00 has joined #linux-rockchip
mcbrick has quit [Remote host closed the connection]
mosquito520 has joined #linux-rockchip
lunra has joined #linux-rockchip
mosquito520 has quit [Quit: leaving]
mosquito520 has joined #linux-rockchip
mosquito520 has quit [Client Quit]
lunra has quit [Remote host closed the connection]
eebrah|noPC has joined #linux-rockchip
rellla has quit [Quit: Nettalk6 - www.ntalk.de]
eebrah|noPC has quit [Ping timeout: 272 seconds]
eebrah has joined #linux-rockchip
eebrah is now known as Guest18530
Guest18530 has quit [Ping timeout: 265 seconds]
eebrah has joined #linux-rockchip
eebrah is now known as Guest25085
Guest25085 has quit [Ping timeout: 265 seconds]
ganbold_ has joined #linux-rockchip
_brain has quit [Quit: leaving]
daniel__ has joined #linux-rockchip
naobsd has joined #linux-rockchip
<ganbold_> naobsd: ping
<naobsd> ganbold: pong
<ganbold_> naobsd: I think I have to try to change KERNEL_IMG parameter, how did you change that?
<naobsd> ganbold: edit text, add header by rkcrc -p, then flash it at 0x0 with rkflashtool
<naobsd> if you're using RK Windows tool to flash, no need to add header
<ganbold_> naobsd: let me try, but may need your guide :)
daniel__ has quit [Quit: leaving]
daniel__ has joined #linux-rockchip
daniel__ is now known as _brain
AstralixNB has quit [Ping timeout: 264 seconds]
Theueip has joined #linux-rockchip
<ganbold_> naobsd: how do you get those parameters in text file?
<naobsd> ganbold: "rkflashtool p" read at 0x0 and removing header/trailer and print text part
<ganbold_> like this?
<ganbold_> FIRMWARE_VER:4.1.1
<ganbold_> MACHINE_MODEL:rk31sdk
<ganbold_> MACHINE_ID:007
<ganbold_> MAGIC: 0x5041524B
<ganbold_> MANUFACTURER:RK31SDK
<ganbold_> ATAG: 0x60000800
<ganbold_> MACHINE: 3066
<ganbold_> CHECK_MASK: 0x80
<ganbold_> KERNEL_IMG: 0x60408000
<ganbold_> #RECOVER_KEY: 1,1,0,20,0
<ganbold_> CMDLINE:console=ttyFIQ0 androidboot.console=ttyFIQ0 init=/init initrd=0x62000000,0x00800000 mtdparts=rk29xxnand:0x00002000@0x00002000(misc),0x00005000@0x00004000(kerne
<ganbold_> l),0x00007000@0x00009000(boot),0x00010000@0x00010000(recovery),0x00020000@0x00020000(backup),0x00040000@0x00040000(cache),0x00200000@0x00080000(userdata),0x00002000@0x
<ganbold_> 00280000(kpanic),0x00100000@0x00282000(system),-@0x00382000(user)
<naobsd> yes
<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> Linux3188 kernel?
<Adibek> yes
<tonikasch> aha
<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...
sjoerd` is now known as sjoerd
sjoerd is now known as sjoerd`
<Adibek> ok i will
<tonikasch> :)
arokux2 has joined #linux-rockchip
mcbrick has joined #linux-rockchip
eebrah_ has quit [Ping timeout: 240 seconds]
<naobsd> http://files.androtab.info/radxa/linux-ramdisk.img (wip) minimal Linux image
<naobsd> I'm trying it on RR, but it should work on any RK30/31...
<naobsd> all you need is serial console ;)
<naobsd> you can try it with stock Android kernel
<naobsd> you can use busybox commands
sjoerd` is now known as sjoerd
<naobsd> if you have internet connection via ethernet, you can download & prepare linaro developer image on ramdisk by "start-linaro-developer"
sjoerd is now known as sjoerd`
<naobsd> make sure kernel.img is flashed on kernel, then flash linux-ramdisk.img into boot or recovery
<naobsd> you can get small linux world that you can understand very easily ;)
<sjoerd`> naobsd: do you know if anyone has tried getting X.org running with hw accelerated GL on the RR boards ?
<naobsd> GL? GLES?
<sjoerd`> EGL/GLES
<sjoerd`> (well glesv2 to be specific)
<naobsd> I never heard about it including other than RR
<naobsd> is there any Xorg server which supports EGL/GLES?
<sjoerd`> all of them do really
<naobsd> well, sorry?
<sjoerd`> It's never about the X server support it, it's about the X driver support directly rendering and some dri like extension
<sjoerd`> + a egl/glesv2 stack to match
<sjoerd`> which tends to be specific per arm board
<tonikasch> for rk3066 there is, but for rk3188....
<naobsd> is there any X driver which support EGL/GLES2 for X.org server???
<naobsd> well
<naobsd> is there any X driver which gives HW 3D accel to X clients on Xorg server?
<naobsd> sjoerd mentioned about X driver
<naobsd> well
eebrah_ has joined #linux-rockchip
<naobsd> I concentrate my own work...
<naobsd> make -j 4 finished after 15min
<sjoerd`> tonikasch: cool
<naobsd> I could built RR kernel on RR
<tonikasch> sjoerd` the problem is that kernel is for rk30...
<naobsd> all I need is Android kernel in kernel partition, my ramdisk in boot partition, serial console, and ethernet.
<naobsd> root@linaro-developer:~/rockchip-3.0# df -h
<naobsd> Filesystem Size Used Avail Use% Mounted on
<naobsd> tmpfs 1.4G 1.3G 82M 95% /
<naobsd> root@linaro-developer:~/rockchip-3.0# ls -l arch/arm/boot/Image
<sjoerd`> tonikasch: Right, that's partially why i'm wondering if something did do something like that fro a RR board or another r3188 based board
<naobsd> -rwxr-xr-x 1 root root 7594020 Oct 11 19:35 arch/arm/boot/Image
<naobsd> maybe linaro-developer image is too large to install on memory ;)
<tonikasch> ahh, I think Galland and Omegamoon are working on a rk31 3.0.36 or perhaps 3.0.72 kernel with ump, dri, etc...
<naobsd> 1. flash linux-ramdisk.img & boot it
<naobsd> 2. start-linux-developer
<naobsd> 3. switch_root
<naobsd> 4. login
<naobsd> 5. sudo -s
<naobsd> 6. git clone
<naobsd> 7. make rk3188_steak_defconfig && make -j 4
<naobsd> 8. wait 15min.
<naobsd> I hope it's not so difficult ;)
<naobsd> 9. flash Linux kernel
<naobsd> 10. install Linux desktop on NAND or MMC
<naobsd> if memory is 1GB, storage is necessary for 6./7. ;)
<naobsd> ah, serial console is dead :(
<naobsd> I lost everything on ramdisk lol
<tonikasch> :(
<tonikasch> I lose very often serial console on the radxa
<naobsd> oh
<naobsd> probably it happened some times
<naobsd> in a day
<naobsd> I'm using Android kernel which is built from Radxa SDK source
<naobsd> I can try same source on mk802iv and mk806
<naobsd> both have serial console
<naobsd> I'll check
<naobsd> with them too
<tonikasch> :)
JochenKauz has joined #linux-rockchip
<naobsd> if someone has interest my minimal linux ramdisk, please try and give me feedback ;)
<naobsd> I'm not sure I can call it Linux ;)
<naobsd> (installed Android kernel and) only busybox ;)
<naobsd> I'll add files for wifi
<Adibek> this linux-ramdisk.img is for flash boot partition ??
<tonikasch> mmmm, I'm currently focusing on getting X support for Galland's Linux311 kernel
<naobsd> Adibek: boot or recovery
AstralixNB has joined #linux-rockchip
<naobsd> it's ramdisk-only image, you need kernel in kernel partition
<Adibek> ok i will try on boot with my kernel
<naobsd> you may use stock android kernel because there is no login: nor user account ;)
<naobsd> you may make your_kernel+my_ramdisk image
<naobsd> it loads rknand.ko on boot, I'm not sure it can be run on any kernel
tonikasch has quit [Excess Flood]
<naobsd> ah, probably kernel need to be 3.0.8 or 3.0.36 or ignore vermagic...
<Adibek> ok i have 3.0.36
tonikasch has joined #linux-rockchip
<naobsd> "udhcpc" command is for DHCP network
<naobsd> well, there is only 6 files, you can learn everything quickly ;)
<naobsd> you can try linaro-developer image on ramdisk by "start-linaro-developer"
<naobsd> I'll leave here soon, sorry
<tonikasch> bye naobsd, great work, I'll test it soon
Galland has joined #linux-rockchip
akaizen_ is now known as akaizen
eebrah_ has quit [Ping timeout: 264 seconds]
arokux2 has quit [Remote host closed the connection]
mcbrick has quit [Ping timeout: 252 seconds]
tonikasch has quit [Quit: Bye!]
JochenKauz has quit [Ping timeout: 264 seconds]
Galland has quit [Quit: Saliendo]
mmind00 has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
tinti has joined #linux-rockchip
Adibek has quit [Ping timeout: 250 seconds]
JochenKauz has joined #linux-rockchip
tonikasch has joined #linux-rockchip
tonikasch has quit [Changing host]
tonikasch has joined #linux-rockchip
tonikasch has quit [Client Quit]
tinti has quit [Quit: Leaving]
JochenKauz has quit [Quit: Leaving.]
AstralixNB has quit [Quit: Leaving.]