leowt changed the topic of #linux-rockchip to: Rockchip development discussion | http://linux-rockchip.info | http://irclog.whitequark.org/linux-rockchip
tonikasch has joined #linux-rockchip
tonikasch has quit [Changing host]
tonikasch has joined #linux-rockchip
tonikasch has quit [Quit: Bye!]
mnemoc has quit [Ping timeout: 248 seconds]
mnemoc has joined #linux-rockchip
eebrah|noPC has joined #linux-rockchip
eebrah|noPC has quit [Ping timeout: 240 seconds]
Astralix1 has joined #linux-rockchip
Astralix has quit [Ping timeout: 264 seconds]
<ojn> naobsd: serious developers retain that, I don't see how that'd make you a laughing stock.
<ojn> well, if the patch is a cleaned up version, you at least attribute the original work even if author git field might be yours
Theueip has joined #linux-rockchip
eebrah|noPC has joined #linux-rockchip
eebrah|noPC has quit [Ping timeout: 245 seconds]
linuxium has quit [Read error: Connection reset by peer]
linuxium has joined #linux-rockchip
arokux2 has joined #linux-rockchip
eebrah|noPC has joined #linux-rockchip
Guest60148 has quit [Quit: ZNC - http://znc.in]
eebrah|noPC has quit [Remote host closed the connection]
tonikasch has joined #linux-rockchip
hramrach has quit [Ping timeout: 240 seconds]
hramrach has joined #linux-rockchip
<arokux2> hi Astralix1
<arokux2> Astralix1: have you got your radxa board already?
eebrah|noPC has joined #linux-rockchip
<mrueg> does anyone know when radxa will be available for everyone?
<tonikasch> mrueg sorry, don't know... did you ask them by email?
<arokux2> tonikasch: do you have an idea what battery can be used for RTC clock?
<mrueg> tonikasch: no i didn't ask them :)
<mrueg> should i?
<tonikasch> arokux1 oh, another thing for my shopping list tomorrow
<tonikasch> let me see :
<tonikasch> :
<tonikasch> :p
<tonikasch> mrueg perhaps you could, it's them who will kwnoe
<tonikasch> know
<arokux2> tonikasch: :) yeah! I'm trying to write down my shopping list too!
<tonikasch> I suppose I'll ask the assistant in the chinese shop here in my town
<tonikasch> :p
<tonikasch> no, now talking seriously, I don't know, and that's a good one
<tonikasch> hmm, I think I recall someone told me it was a 3V battery
<tonikasch> but I'm not sure
<arokux2> tonikasch: what about size and name of such battery? (I mean there is something like AA and AAA, what about this one?)
<tonikasch> no idea
<tonikasch> let's ask hipboi as soon as he gets connected
<arokux2> tonikasch: yes, thanks.
<tonikasch> i think it might be this https://www.sparkfun.com/products/337
<tonikasch> but i'm just not sure
<tonikasch> cr1225?
<tonikasch> not sure...
<tonikasch> bye
tonikasch has quit [Quit: Bye!]
<moofree_> cr2032 would be my first guess
Astralix1 has quit [Quit: Leaving.]
eebrah|noPC has quit [Ping timeout: 256 seconds]
arokux2 has quit [Remote host closed the connection]
tonikasch has joined #linux-rockchip
Theueip has quit [Quit: Leaving...]
Theueip has joined #linux-rockchip
Theueip has quit [Client Quit]
tonikasch has quit [Quit: Bye!]
eebrah|noPC has joined #linux-rockchip
eebrah|noPC has quit [Ping timeout: 245 seconds]
AstralixNB has joined #linux-rockchip
arokux2 has joined #linux-rockchip
eebrah|noPC has joined #linux-rockchip
tonikasch has joined #linux-rockchip
arokux2 has quit [Remote host closed the connection]
AstralixNB has quit [Quit: Leaving.]
AstralixNB has joined #linux-rockchip
Astralix has joined #linux-rockchip
AstralixNB has quit [Quit: Leaving.]
eebrah|noPC has quit [Ping timeout: 268 seconds]
arokux2 has joined #linux-rockchip
Galland has joined #linux-rockchip
<Galland> hi
<Galland> anybody with Radxa Rock board, here is a preliminary working kernel to boot into Linux:
<arokux2> thanks Galland
<arokux2> I will try it as soon as I have pins for the UART
<tonikasch> wow
<Galland> you don't need the uart
<Galland> ;)
<arokux2> Galland: I do not have hdmi input either...
<arokux2> Galland: meanwhile.. do you know which battery type is used for the on-board RTC?
<arokux2> the bets were cr1225 or cr2032...
<tonikasch> :p
<tonikasch> I'm gonna try your defconfig but with Omegamoon's 3.0.72 :)
<Galland> that could work ;)
<tonikasch> hehehe
<tonikasch> in fact it's working on a mk808 ;)
<Galland> that's rk30
<tonikasch> yes...
<Galland> arokux2: the battery diameter of the holder is around approx. 12mm
<Galland> 1 mm more or less I think
<Galland> I'd say a CR1225
<Galland> since 2032 is too big (20mm)
<arokux2> Galland: yes.
<arokux2> ok, the battery can be bought without shipping fees!
<tonikasch> ;)
<arokux2> is there something else I'd need for radxa?
<Galland> a 2 Amps USB charger of your own
<arokux2> power supply / rtc battery / lipo battery / [pins for uart]
<Galland> the battery is not needed
<arokux2> + microSD
<arokux2> not necessary, true
<Galland> if you want to hook it through HDMI to a screen you need a male to male HDMI with normal size connector (not mini/micro)
<arokux2> ok, thanks Galland
<Galland> no prob :)
<tonikasch> mmmm, still working on getting su prompt xD
<Galland> on the RR?
<tonikasch> yes
<Galland> do you have adb installed on your PC?
<tonikasch> ahhh ok ok xD
<tonikasch> yes
<Galland> adb shell reboot recovery
<Galland> just remember to enable Debug mode and then go to Settings->USB->Connect to PC and check it
<Galland> use OTG connector
<tonikasch> ok :D
Galland has quit [Ping timeout: 246 seconds]
<arokux2> is there hope to have an open bootloader?
<tonikasch> no idea, arokux2, but it should be possible ;)
<tonikasch> mmmm, I cannot get it listed on adb :(
<arokux2> I've just seen some messages that they even encrypt something :(
tonikasch has quit [Quit: Bye!]
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-rockchip
ganbold_ has quit [Remote host closed the connection]
tonikasch has joined #linux-rockchip
Galland has joined #linux-rockchip
<Galland> tonikasch: there is a 2 minute timeout for recovery mode
<Galland> after start or after last flash operation
<Galland> if you don't do anything in that time, the RK power off
<Galland> that may be the reason why you don't see it in adb
<tonikasch> aha
<tonikasch> no, it was the .android/adb_init.usb or however it's called
<Galland> :)
<tonikasch> now searching the rkflashtool with rk3188 support, just found it, going to compile it and we'll see
<Galland> watch out to flash only recovery
<Galland> I started out flashing boot but there is something wrong
<Galland> with that partition starting at 0x9000 instead of the usual 0x8000
<Galland> (data between 0x9000 and 0xA000 don't get flashed right, above that is fine)
<tonikasch> aha
<tonikasch> and recovery partition is 0x10000 instead of 0x8000?
<tonikasch> (size)
<Galland> correct
<Galland> but that one is fine
<tonikasch> :)
<tonikasch> aha, just got a kernel panic as my initramfs.cpio.3.0.72+ does insmod rk30xxnand.ko xD
<Galland> that means the CMDLINE in the .config does not match the one for RR
<Galland> do a sudo ./rkflashtool 0x0 0x1 | head -n 11
<Galland> and you'll get the right mtdparts to copy there
<tonikasch> :D ok
<tonikasch> mmm, compiling...
<naobsd> https://github.com/crewrktablets/rkflashtools/blob/master/rkflashtool.c "rkflashtool p" shows contents of parameter partition nicely
<Galland> noob
<Galland> :P ;)
<naobsd> tonikasch: if you're using rootfs on SD, you don't need to insmod rknand.ko (at least from initramfs)
<naobsd> I don't use ramdisk and don't insmod rknand.ko on my testing Linux image on RK31 devices
<tonikasch> aha
<naobsd> of course it's ok to use ramdisk/rknand.ko, I'm just lazy ;)
<tonikasch> :P ;D
<naobsd> parameter can be changed, but if you want to flash it with rkflashtool, it needs to add 'PARM' header(not KRNL) with rkcrc -p
<naobsd> offical RK tools adds header so you shouldn't use parameter with header on Windows
<naobsd> (usually there are no header in parameter file, but you can get parameter with header from device with rkflashtool r)
Galland has quit [Quit: Saliendo]
<tonikasch> well... it still drops a kernel panic on boot...
<tonikasch> so... commenting out initramfs loading rk30xxnand.3.0.72+.ko
<tonikasch> and recompiling
<naobsd> what you changed?
<naobsd> I guess kernel part of nand driver and nand module need to be synced...oh well, what's 3.0.72+ ? ;)
<tonikasch> Omegamoon's Rockchip-Linux-GPL kernel is 3.0.72 :)
<tonikasch> but of course I keep getting a kernel panic... and automatic reboot, so I cannot see what happens
<naobsd> reading a log... ah, I see, so you're tring some change with his 3.0.72 kernel and userland
<naobsd> can you paste dmesg?
<naobsd> (personally I don't have any experience with his 3.0.72)
<tonikasch> mmmm, let me see if it gets post ramdisk