ChanServ changed the topic of #linux-rockchip to: Rockchip development discussion | Wiki at http://linux-rockchip.info | Logs at http://irclog.whitequark.org/linux-rockchip | ML at http://groups.google.com/group/linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
Tony_ has joined #linux-rockchip
<Tony_> I can't fond the mmcblk0p1.
RayFlower_ has quit [Read error: Connection reset by peer]
benja` is now known as benja
RayFlower_ has joined #linux-rockchip
benja is now known as benja`
<Tony_> I used miniroot but I can't font the device point of ex sdcard.
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
hramrach_ has quit [Ping timeout: 246 seconds]
FreezingCold has quit [Ping timeout: 250 seconds]
Tony_ has quit [Remote host closed the connection]
Tony_ has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
isle has quit [Ping timeout: 246 seconds]
Tony_ has quit [Quit: Leaving]
Tony_ has joined #linux-rockchip
Tony_ has quit [Client Quit]
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-rockchip
akaizen has quit [Ping timeout: 244 seconds]
Tony_ has joined #linux-rockchip
<Tony_> Can anybody help me? I can't fond the dev point of SDCARD. from miniroot.
FreezingCold has joined #linux-rockchip
hramrach_ has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
akaizen has joined #linux-rockchip
Astralix1 has joined #linux-rockchip
Astralix has quit [Ping timeout: 250 seconds]
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
<Tony_> :|
<Tony_> ah, I used u-flash drive, I can boot succeed.
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
<Tony_> I'm confused why nobody is here today ? ;P
<rperier> because it is too earlier ? it's 8 a.m here...
<rperier> there are differents people with differents cultures here, so there is jetlag too ;)
<Tony_> rperier, morning! but it's 15:00 here. :P very interesting. I have not foreigner friends before.
xmc has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
hramrach_ has quit [Ping timeout: 246 seconds]
hramrach_ has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
AstralixNB has joined #linux-rockchip
cristian_c has joined #linux-rockchip
<cristian_c> naobsd, I've looked for in the ramdisk documentation, but I ve not found info about rkcrc
<cristian_c> i've also done a search about headers and loaders
<cristian_c> but I've not found nothing useful
<Tony_> Hi,cristian_c, you want to boot system from SDCARD, right ?
<Tony_> I did it. maybe I can help you.
<cristian_c> Tony_, i've to prepare the sdcard
<cristian_c> flashing the right components
<cristian_c> I've read many pages
<cristian_c> Tony_, I think I can use the rk loader, instead of u-boot, it's the way preferred
<Tony_> only this website:http://androtab.info/radxa_rock/sdboot/
<Tony_> you can do it.
<Tony_> I used the rk loader.
<Tony_> too.
<cristian_c> (according to what I read)
<Tony_> all the bin files I used are in sdboot_rk3188_miniroot.zip
<cristian_c> Tony_, there are many steps not clear
<Tony_> except kernel.img.
<cristian_c> Tony_, I've got sdboot
<Tony_> which steps you don't clear ?
<Tony_> No.1 / 2 / 3 or 4 ?
<cristian_c> I resd about zImage, but I've already got .img files (boot.img, kernel.img)
<cristian_c> Tony_, there are many things not clear)
<Tony_> oh...
<cristian_c> Tony_, so, is it needed adding header to .img files?
<Tony_> I know how to zImage to kernel.img.
<cristian_c> Tony_, I've already got kernel.img and boot.img
<Tony_> In my source tree. it's always kernel.img.
<cristian_c> Tony_, I've got them from the device backup
<Tony_> I run "make kernel.img".
<Tony_> then there will be a kernel.img at the end.
<cristian_c> Tony_, so, have I to convert .img files?
<Tony_> okay, then I think you have no problem about boot from sdcard.
<cristian_c> Tony_, ok, but I own the two .img files
<cristian_c> Tony_, ok
<cristian_c> Tony_, in cwm there is a function called 'backup'
<cristian_c> it creates a backup copy (a directory, precisely)
<Tony_> where you get the kernel source ?
<cristian_c> with many files (some files compressed with tar)
<Tony_> I used the RK officer.
<cristian_c> Tony_, I don't use kernel sources
<Tony_> oh, that's so difficult.
<Tony_> you get kernel from backup ?
<cristian_c> Tony_, so, I don't know (and this I canno know from the radxa wiki page) if convert the .img files
<cristian_c> Tony_, yeah
<cristian_c> Tony_, but I can do the same with rkflashtool if I would
<cristian_c> to extract all the partition from the device
<cristian_c> *same thing
<cristian_c> *cannot know it *if converting
<cristian_c> Tony_, also, I don't know if I've to use rkcrc with parameter contained in rkcrc and what option with (p or k)
<Tony_> p
<cristian_c> *contained in sdboot
<cristian_c> Tony_, ok
<Tony_> rkcrc -p parameter parameter.img
<cristian_c> oh, as I suspected
<cristian_c> :)
<cristian_c> thanks
antoinemaillard has joined #linux-rockchip
<cristian_c> Tony_, I've also found parameter.img in the sdboot package and this was a bit confusing
<cristian_c> :)
<Tony_> Maybe you can try it.
<cristian_c> Tony_, the kernel/boot issues are more difficult
<cristian_c> Tony_, so, I suspect that rkcrc must not be used with .img files
<Tony_> No, I don't think so.
<Tony_> because I have full source of RK.
<Tony_> about my board.
<Tony_> expect sdboot_rk3188_miniroot.zip you only need a "kernel.img".
<Tony_> ONLY
<cristian_c> Tony_, I read in the documentation I've to flash boot.img too
<cristian_c> parameter.img, headers and loaders
<cristian_c> but it's not clear: what headers are related with loaders?
<cristian_c> I know only I've to use headers and loaders contained in the sdboot package
<cristian_c> and the other files are examples
<Tony_> In my opinion, you _ONLY_ need kernel.img. that's my experience.
<Tony_> at the first step.
<cristian_c> uhm
<Tony_> then, you will see this.
<cristian_c> reading the docimentation (wiki and reasdme):
<cristian_c> *documentation
<cristian_c> the most important part is in sdboot_rk3188.img. it consists 3 parts, a magic header (at 0x8000), FlashData (at 0x8800), and FlashBoot (at 0xb800).
<cristian_c> rest of files in zip are just an example. they are usual images for Rockchip device, you can replace them as usual. you can use rkcrc in rkutils to make parameter.img, kernel.img, and ramdisk-only boot.img. you may use kernel+ramdisk image which can be made by mkbootimg for Rockchip.
<cristian_c> and dd commands to flash the components (including the dd commmand to flash the headers and loaders in the sdcard)
<Tony_> Yes, It really is an example, but it can be run.
<cristian_c> ok
<Tony_> just with your kernel.img.
<cristian_c> Tony_, ok, but kernel.img does not include, loader and header, I guess :)
<Tony_> You don't do anything. at first step. if you boot miniroot succeeful the you can do anything you want.
<cristian_c> ok
<cristian_c> it's strange, without loader
<Tony_> I'm booting Ubuntu 14.04 with miniroot no.
<cristian_c> uhm
<Tony_> :P
<Tony_> *now.
<cristian_c> I should find some confirmations to be sure
<cristian_c> :)
<Tony_> Up and running with minimal effort.
<Tony_> Up and running with minimal change.
<Tony_> at first. that's my opinion.
<cristian_c> you are right, but I can understand not in the right way
Bludot has quit [Quit: Connection closed for inactivity]
RayFlower_ has quit [Read error: Connection reset by peer]
<cristian_c> Tony_, so, have I not to use nothing with kernel.img
<cristian_c> (converting, I mean)
<cristian_c> *?
RayFlower_ has joined #linux-rockchip
<cristian_c> Tony_, and, so parameter.img is needed?
<Tony_> If you have a kernel named "kernel.img", maybe it had "head" already.
<cristian_c> ok
<cristian_c> thanks
<Tony_> parameter.img in zip can works fine.
<Tony_> It's just partition information.
<cristian_c> Tony_, ah, ok, it's already packed
<cristian_c> from parameter file
<Tony_> After No.1 step, you can replace everything you want. I have replaced the paramter/boot.img.
<cristian_c> Tony_, replacing? where?
<cristian_c> I don't understand what old piece it has to replace :)
<cristian_c> I've not got boot and kernel in the sdboot
<Tony_> Now, I don't want to talk about "replace" until you finial No.1 step. :P
<cristian_c> Tony_, ok, I understand
<cristian_c> thanks
<cristian_c> Tony_, the last thing, if it's possible: I was told I've to flash kernel and rom (android/or linux distro) to make the boot possibile for the sdcard
<cristian_c> so, after the kernel, I can use dd to flash the rom in the sdcard
<cristian_c> Tony_, am I wrong?
<Tony_> Yes, you can. I did it too.
<Tony_> you should use "SD_Fireware_Tool" from RK.
<cristian_c> logically, nothing is booted if there isn't nothing to boot (rom)
<Tony_> I used the tool.
<cristian_c> :D
<cristian_c> Tony_, I don't know it
<cristian_c> I try to look for
<Tony_> rk3188 will boot from sdcard at first .
<cristian_c> yeah, I've read somethin about that in my googling
<cristian_c> *something that
<Tony_> if It can boot from sdcard, then it will try from other drive. :P
<Tony_> you are right.
<Tony_> from RK's doc. It is.
<Tony_> *can't
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
<naobsd> well
<Tony_> ah. naobsd.
dlezcano has joined #linux-rockchip
cristian_c has quit [Read error: Connection reset by peer]
cristian_c has joined #linux-rockchip
cristian_c has quit [Read error: Connection reset by peer]
dlezcano has quit [Ping timeout: 264 seconds]
dlezcano has joined #linux-rockchip
hramrach_ has quit [Ping timeout: 246 seconds]
hramrach_ has joined #linux-rockchip
cristian_c has joined #linux-rockchip
antoinemaillard has quit [Quit: antoinemaillard]
dlezcano has quit [Ping timeout: 258 seconds]
dlezcano has joined #linux-rockchip
cristian_c has quit [Read error: Connection reset by peer]
wildea01 has joined #linux-rockchip
antoinemaillard has joined #linux-rockchip
cristian_c has joined #linux-rockchip
dlezcano has quit [Ping timeout: 265 seconds]
dlezcano has joined #linux-rockchip
dlezcano has quit [Ping timeout: 272 seconds]
dlezcano has joined #linux-rockchip
cristian_c has quit [Read error: Connection reset by peer]
Avagetto has joined #linux-rockchip
Avagetto has quit [Quit: Leaving.]
dlezcano has quit [Ping timeout: 256 seconds]
mrueg has quit [Remote host closed the connection]
mrueg has joined #linux-rockchip
Tony_ has quit [Quit: Leaving]
dlezcano has joined #linux-rockchip
cristian_c has joined #linux-rockchip
dlezcano has quit [Remote host closed the connection]
_whitelogger has joined #linux-rockchip
dlezcano has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
<cristian_c> uhm, I don't find sd fireware tool
<cristian_c> naobsd, are there particular parameter to use with dd command to flash the rom's image into the sd card?
<cristian_c> *parameters
<naobsd> cristian_c: no particular parameter
<cristian_c> ok, as seek, etc...
<cristian_c> I try to see in dd documentation
RayFlower_ has quit [Quit: RayFlower_]
<naobsd> well...
<naobsd> command is already provided on my page
<naobsd> no _more_
<cristian_c> naobsd, this: http://androtab.info/radxa_rock/sdboot/ ?
<naobsd> yes
<cristian_c> naobsd, ok, but I was told that maybe 'of' is overwritten without parameters in the command
<cristian_c> and I was usggested di try first without headers and loader
<cristian_c> *suggested
<cristian_c> *to try
<naobsd> "replace /dev/XXX with correct path for SD card on your machine."
<cristian_c> yes, the disk
<cristian_c> for example: sdc sdb, or smmcblksomething
<naobsd> cristian_c: you tried/confirmed commands on my page didn't work?
<cristian_c> the sequence of dd commands in the examples is executed with seek parameter
<cristian_c> naobsd, ok, but i've downloaded the new sdboot
<cristian_c> and it's needed a dd command for kernel.img, surely
<cristian_c> and the rom's image, obviously
<naobsd> what I asked is you tried
<cristian_c> ok
<naobsd> if you need kernel.img, write it
<cristian_c> naobsd, I'd like to do it, but I don't own sdboot_rk3188.img
<naobsd> if you need rom's image, write it
<cristian_c> naobsd, without seek parameter in the dd commands?
<naobsd> what are you talking???
<cristian_c> the steps to prepare the sd card
<naobsd> you said you downloaded
<cristian_c> yes
<naobsd> and you can download my files at any time
<cristian_c> I've downloaded sdboot_rk3188
<naobsd> then?
<cristian_c> it doesn't contain sdboot_rk3188.img
<cristian_c> so, I can't execute the first dd command in the page
<naobsd> it contains README and necessary files
<naobsd> you can download zip file on that page, then you can do dd command on that page
<cristian_c> naobsd, ok, but the readme contains a list of commands (without dd commands for kernel.img and rom's image
<naobsd> I explain several times
<cristian_c> )
<cristian_c> ok
<cristian_c> I try to see if the old package contains all the commands
<naobsd> why I (my page) explain how to write your rom image???
<naobsd> it's your image
<naobsd> ^I need to explain
<cristian_c> yes, I've read the 'detail' paragraph
<cristian_c> naobsd, so, the package contains headers, but I don't know what loaders use with those
antoinemaillard has quit [Quit: antoinemaillard]
<cristian_c> what header is related to the loader
<naobsd> did you type any command in README???
<cristian_c> I can try
<cristian_c> but they are not all the commands
<naobsd> what I asked is you did or not
<naobsd> if you can try, please do it
<cristian_c> for example, is the second command needed, if i use a proprietary loader, also if commented
<cristian_c> ?
<cristian_c> naobsd, ok
<cristian_c> I'll try these commands and then i'll ask what further commands I've to type
<cristian_c> to complete the sd flashing
<naobsd> it's not good "I only try easy thing, so I ask other people until they make everything clear"
nighty^ has joined #linux-rockchip
<naobsd> I should write thing more clearly
<cristian_c> naobsd, you0ve told me that steps are in the readme or website
<cristian_c> *'
<naobsd> but I have no responsibility about what you want
<cristian_c> naobsd, yes
<cristian_c> you are right about this
<naobsd> I have to leave here now
<cristian_c> ok
antoinemaillard has joined #linux-rockchip
<cristian_c> ok, I can't type the third not commented command if the particular flasboot is not specified in the dd command
<cristian_c> *flashboot.bin
<cristian_c> anyway, sd_header_64.enc and FlashData.bin are flashed
<cristian_c> so i can aks the question about the loaders (and headers)
<cristian_c> *ask
cristian_c has quit [Quit: Sto andando via]
libv has quit [Ping timeout: 250 seconds]
dddd has joined #linux-rockchip
dddd has quit [Client Quit]
Avagetto has joined #linux-rockchip
cyrozap has joined #linux-rockchip
Avagetto has quit [Quit: Leaving.]
Avagetto has joined #linux-rockchip
Avagetto has quit [Ping timeout: 256 seconds]
Avagetto has joined #linux-rockchip
Avagetto has quit [Ping timeout: 244 seconds]
Avagetto has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
Avagetto has joined #linux-rockchip
Avagetto has quit [Ping timeout: 264 seconds]
Avagetto1 has joined #linux-rockchip
Avagetto1 has quit [Ping timeout: 256 seconds]
Avagetto has joined #linux-rockchip
Avagetto has quit [Ping timeout: 240 seconds]
naobsd has quit [Ping timeout: 246 seconds]
xmc has quit [Ping timeout: 246 seconds]
RaYmAn has quit [Remote host closed the connection]
architekt has quit [Ping timeout: 272 seconds]
architekt has joined #linux-rockchip
irsol has quit [Ping timeout: 256 seconds]
RaYmAn has joined #linux-rockchip
irsol has joined #linux-rockchip
AstralixNB has quit [Ping timeout: 250 seconds]
hramrach_ has quit [Ping timeout: 246 seconds]
hramrach_ has joined #linux-rockchip
Avagetto has joined #linux-rockchip
Avagetto has quit [Ping timeout: 244 seconds]
antoinemaillard has quit [Ping timeout: 250 seconds]
libv has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
Avagetto has joined #linux-rockchip
Avagetto1 has joined #linux-rockchip
Avagetto has quit [Ping timeout: 255 seconds]
Avagetto1 has quit [Ping timeout: 256 seconds]
<rperier> linux-next with tag next-20141103 is just unbootable on the radxa :O
<cristian_c> Hi
<rperier> (it panics and displays backtrace indefinitely...)
<rperier> works just fine with next-20141030
<rperier> even with next-20141031
<cristian_c> what flashboot is needed if I've flashed sd_header_64.enc?
<cristian_c> Any ideas?
<rperier> not sure but... it seems to be caused by nfs4 ^^
akaizen has quit [Remote host closed the connection]
cosm has joined #linux-rockchip
wildea01 has quit [Quit: leaving]
akaizen has joined #linux-rockchip
bengal has joined #linux-rockchip
akaizen has quit [Ping timeout: 264 seconds]
RayFlower_ has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
akaizen has joined #linux-rockchip
akaizen has quit [Ping timeout: 244 seconds]
<dlezcano> mmind00: Hi Heiko !
<mmind00> dlezcano: Hi Daniel :-)
<dlezcano> mmind00: do you have a config file to share for your for-next branch ?
<dlezcano> mmind00: great ! thx
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
cristian_c has quit [Quit: Sto andando via]
<dlezcano> mmind00: it does not work either, I am stuck at "waiting for root device ..."
<dlezcano> mmind00: http://pastebin.com/CTHKhxqN
akaizen has joined #linux-rockchip
<mmind00> dlezcano: ah, shot ... try the same defconfig again, I've enabled the new option for the now separate rockchip dw_mmc
<mmind00> dlezcano: I miss these changes sometimes, as I'm normally just booting into an initramfs
akaizen has quit [Ping timeout: 265 seconds]
<dlezcano> mmind00: ok, it booted but with a bunch of errors
<dlezcano> mmind00: the first one is "rockchip_boot_secondary: sram or pmu missing for cpu boot"
<dlezcano> mmind00: "CPU1: failed to boot: -6"
<mmind00> dlezcano: which is of course not in my tree, but in the mfd tree instead
akaizen_ has joined #linux-rockchip
akaizen_ is now known as akaizen
<dlezcano> mmind00: ok, now it booted correctly but it hangs in userspace, any clue ?
bengal has quit [Ping timeout: 255 seconds]
<mmind00> dlezcano: any indication what fails? my initramfs seems to be holding up normally
<dlezcano> mmind00: nope
<dlezcano> mmind00: just getting stuck when I get the prompt
naobsd has joined #linux-rockchip
<dlezcano> mmind00: but I am not using an initramfs
<mmind00> dlezcano: but in theory it shouldn't matter where the userspace comes from
<mmind00> dlezcano: I'll try to find a rootfs tomorrow and try to see if it's also stopping for me
<dlezcano> mmind00: do you mind to share your initramfs ?
<mmind00> sure ... I'll send it to you
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
<dlezcano> mmind00: thx
RayFlower__ has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower__ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip