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
naobsd has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
hramrach has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
naobsd has quit [Quit: naobsd]
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
naobsd has joined #linux-rockchip
field^Mop has quit [Ping timeout: 245 seconds]
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 264 seconds]
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 244 seconds]
<naobsd> AstralixNB: can you give us any more information such as parameter file?
<naobsd> AstralixNB: sorry, forgot to say, _later_
dugz has joined #linux-rockchip
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 244 seconds]
field^Mop has joined #linux-rockchip
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 264 seconds]
Tony__ has joined #linux-rockchip
<Tony__> hi, the rk3188's kernel said that "2103... cmd=55(arg=0x0), INT_CMD_DONE timeout, errorStep=0xfd, host->state=1 [sd_mmc]"
<Tony__> who can help me ?
<Tony__> and "I am very sorry to tell you,in order to make the machine correctly,you must remove-insert card again."
cnxsoft has joined #linux-rockchip
field^Mop has quit [Ping timeout: 244 seconds]
field^Mop has joined #linux-rockchip
naobsd1 has joined #linux-rockchip
field^Mop has quit [Ping timeout: 240 seconds]
levd has joined #linux-rockchip
naobsd has quit [Ping timeout: 240 seconds]
levd1 has quit [Ping timeout: 255 seconds]
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
levd1 has joined #linux-rockchip
naobsd1 is now known as naobsd
levd has quit [Ping timeout: 256 seconds]
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 256 seconds]
<Tony__> naobsd, can you give me a hand ?
<naobsd> well?
<Tony__> The sdcard driver is failure on CMD55.
<Tony__> the rk3188's kernel said that "2103... cmd=55(arg=0x0), INT_CMD_DONE timeout, errorStep=0xfd, host->state=1 [sd_mmc]"
<Tony__> and "I am very sorry to tell you,in order to make the machine correctly,you must remove-insert card again."
<naobsd> no idea, it always happen?
<Tony__> no, It's only one board's case.
<naobsd> it always happen on that one board?
<Tony__> Yes, it always happen on that one board.
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
<naobsd> then I guess it's hardware issue...
<Tony__> naobsd, then I want to check it from software logic. ;)
<Tony__> I think it's time for your lunch.
FreezingCold has quit [Ping timeout: 265 seconds]
akaizen has joined #linux-rockchip
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
levd has quit [Remote host closed the connection]
levd has joined #linux-rockchip
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 256 seconds]
FreezingCold has joined #linux-rockchip
cnxsoft has quit [Quit: cnxsoft]
cnxsoft has joined #linux-rockchip
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 255 seconds]
cnxsoft1 has joined #linux-rockchip
levd1 has joined #linux-rockchip
cnxsoft has quit [Ping timeout: 245 seconds]
levd has quit [Ping timeout: 264 seconds]
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 264 seconds]
FreezingCold has quit [Ping timeout: 240 seconds]
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 256 seconds]
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 240 seconds]
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 264 seconds]
akaizen has quit [Remote host closed the connection]
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 255 seconds]
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
levd1 has joined #linux-rockchip
akaizen has joined #linux-rockchip
levd has quit [Ping timeout: 255 seconds]
<dugz> is there an updated rkcrc for rk3188t systems?
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 255 seconds]
<Tony__> the result of my case is the DAT0 connect into GND. so kernel can't get information from sdcard.
<Tony__> bad sdcard flute. ;)
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 265 seconds]
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 265 seconds]
AstralixNB has joined #linux-rockchip
Astralix has joined #linux-rockchip
<naobsd> dugz: what's the "updated rkcrc for rk3188t"? rkcrc is generic tool for Rockchip SoCs
<naobsd> Tony__: oh, hardware issue :)
<dugz> i'm having issues making bootable images
<Tony__> naobsd, ;)
<naobsd> dugz: what's the "issues"?
<dugz> they don't boot
<naobsd> dugz: what did you do?
<dugz> i've tried unpacking the stock recovery and repacking it several ways and none have worked yet
<naobsd> dugz: well, can you explain more about any one of "several ways"?
<dugz> naobsd: sure. mkboot and mkbootimg. one of the two emitted a list of offsets and told me to recompile it with those values, which i did. however none of these recoveries will boot. i have to press the reset switch to break them out
<naobsd> dugz: I have no idea about "mkboot". about "mkbootimg", are you sure you're using mkbootimg _for Rockchip_?
<dugz> naobsd: its worth checking ...
<dugz> i compiled it
<naobsd> dugz: can you tell me what you compiled?
<dugz> gimme a sec to fire up the VM
<naobsd> ah, I see, sorry
levd has quit [Remote host closed the connection]
levd has joined #linux-rockchip
<dugz> um, it looks pretty generic. i don't see any rockchip anything. well can you point me to the correct tools? its a rk3188T
<dugz> here's neo-technologies rockchip-mkbootimg on github
<naobsd> it that you compiled? then it's ok
<naobsd> actually I'm not using that ver. but I think it should work
<dugz> no i just cloned the source now
<naobsd> it seems that's basically my modified version https://github.com/naobsd/cm_system_core/tree/ics-rockchip-naobsd/mkbootimg
<rperier> what is download mode exactly in uboot for firefly ? over ethernet or over usb otg ?
<rperier> hi all btw :)
<naobsd> so that should work as same as mine
<dugz> i'll try yours if it doesn't :P
dlezcano has quit [Ping timeout: 265 seconds]
<naobsd> dugz: just run mkbootimg --kernel (unpacked) --ramdisk (unpacked ramdisk) -o new.img
<naobsd> dugz: then compare both original .img and new.img. both must be same
<dugz> sounds reasonable
<naobsd> rperier: what is download mode? flashing firmware to on-board eMMC? then USB OTG as usual
<rperier> no, apparently you can upload the boot.img to uboot and load it into memory directly
<rperier> and boot from it
<naobsd> rperier: see how to here http://androtab.info/rockchip/u-boot/
<naobsd> rperier: after unlock_accept, firefly will go to recovery mode to do factory reset. if you don't have working recovery, you may need to erase misc partition which has "reboot to recovery" command
<naobsd> manually
<naobsd> rperier: fastboot boot actually send fastboot image (i.e. boot.img), not plain zImage
<naobsd> rperier: well, you may be able to send ramdisk and resource.img in addition to kernel, but personally I never tried it (I'm not sure what will happen)
<naobsd> rperier: if you just want to send zImage, don't care about it ;)
<rperier> ok thanks for details, I will investigate
<rperier> wow... cool stuff
<naobsd> rperier: if you want to try mainline kernel and if you want to use separate ramdisk (not compiled in kernel),
<naobsd> rperier: you may need to wipe resource partition(3.10 dtb) or remove resource partition from parameter cmdline
<rperier> no I think that I will use an initramfs directly built into the kernel or boot over the network with NFS for the rootfs, don't know yet
dlezcano has joined #linux-rockchip
<naobsd> I'm not sure why I cannot mount separate ramdisk loaded by loader without atag information :(
<naobsd> (with atag, it just work)
<naobsd> btw it will be better if raw dtb (to resource.img) can be loaded from loader and passed to kernel
<naobsd> it will not be so difficult...
<naobsd> or, it may work, I didn't try it yet
<naobsd> I know current code try to handle "resource.img" in 2nd image in boot.img, I'm not sure it accept raw dtb or now
<naobsd> now -> not
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
<naobsd> sorry, I have to leave now
<naobsd> later
naobsd has quit [Quit: naobsd]
eebrah has joined #linux-rockchip
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 244 seconds]
dlezcano has quit [Ping timeout: 245 seconds]
<dugz> mkbootimg says i need this -> --base 0 --pagesize 16384 --kernel_offset 0x60408000 --ramdisk_offset 0x62000000 --second_offset 0x60f00000 --tags_offset 0x60088000
<dugz> that seem right?
Dumonde has joined #linux-rockchip
_Dumonde_ has joined #linux-rockchip
_Dumonde_ has quit [Client Quit]
apritzel has joined #linux-rockchip
dlezcano has joined #linux-rockchip
<Dumonde> hey all
<Dumonde> Astralix, can we get latest loader for 3066/3188 ? http://irclog.whitequark.org/linux-rockchip/2015-01-06#11394722
Dumonde has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
hipboi_ has quit [Ping timeout: 240 seconds]
maz has quit [Remote host closed the connection]
field^Mop has joined #linux-rockchip
levd1 has quit [Remote host closed the connection]
levd has joined #linux-rockchip
hipboi_ has joined #linux-rockchip
Tony__ has quit [Remote host closed the connection]
wildea01 has joined #linux-rockchip
naobsd has joined #linux-rockchip
<naobsd> dugz: please try what I explained. "mkbootimg --kernel (kernel) --ramdisk (ramdisk) -o new.img" then compare old/new image
<dugz> naobsd: different file sizes
<naobsd> dugz: how did you get original image?
<dugz> rom tools? i can flash it back and it boots
<dugz> naobsd: unmkbootimg reports to use --base 0 --pagesize 16384 --kernel_offset 0x60408000 --ramdisk_offset 0x62000000 --second_offset 0x60f00000 --tags_offset 0x60088000
Luke-Jr has quit [Remote host closed the connection]
markm_ has quit [Ping timeout: 264 seconds]
<naobsd> dugz: you dumped from device? then it has trailing unused garbage
<dugz> naobsd: i'll try booting the one i just made
<naobsd> dugz: my mkbootimg has proper default parameteres, please try my way
<dugz> allright. any compilation instructions?
<naobsd> dugz: you're using my mkbootimg in neo-technologies' repo
<naobsd> do you have rkdump command? I'm not sure which rom tools you're using
<naobsd> you may try if you made new image with command I explained
<dugz> no i don't seem to have it
<naobsd> sorry, I have to leave for a while
Luke-Jr has joined #linux-rockchip
<naobsd> please try new image with mkbootimg --kernel (kernel) --ramdisk (ramdisk) -o new.img
<naobsd> kernel is *-zImage, ramdisk is *-ramdisk.gz (if you used unpackbootimg)
<naobsd> I guess you original image size is exact 16MiB or so, right?
<naobsd> to compare old/new, you need to extract image size from dumped image
<naobsd> but I think new.img will work
<naobsd> sorry, I have to leave now, later
<dugz> hang on i am trying to compile this
<dugz> ok cya
levd has quit [Ping timeout: 244 seconds]
dugz has quit [Read error: Connection reset by peer]
dugz has joined #linux-rockchip
dugz has quit [Client Quit]
markm_ has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
naobsd has quit [Ping timeout: 265 seconds]
RayFlower_ has joined #linux-rockchip
naobsd has joined #linux-rockchip
hipboi_ has quit [Ping timeout: 264 seconds]
naobsd has quit [Ping timeout: 264 seconds]
hipboi_ 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
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
markm_ has quit [Read error: Connection reset by peer]
libv has quit [Remote host closed the connection]
nighty^ has joined #linux-rockchip
libv has joined #linux-rockchip
field^Mop has quit [Ping timeout: 256 seconds]
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
hipboi_ has quit [Ping timeout: 256 seconds]
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
hipboi_ has joined #linux-rockchip
markm_ 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
cnxsoft has joined #linux-rockchip
cnxsoft1 has quit [Ping timeout: 240 seconds]
dlezcano_ has joined #linux-rockchip
dlezcano_ has quit [Remote host closed the connection]
dlezcano has quit [Ping timeout: 256 seconds]
dlezcano has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
cnxsoft has quit [Quit: cnxsoft]
naobsd has joined #linux-rockchip
RayFlower_ has joined #linux-rockchip
RayFlower_ has quit [Quit: RayFlower_]
RayFlower_ has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
<AstralixNB> naobsd?
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
<naobsd> AstralixNB: hi?
<naobsd> sorry, sleepy
RayFlower_ has quit [Quit: RayFlower_]
<AstralixNB> rperier, I compiled uboot according androtab, as you referenced. And I used the mentioned toolchain.
<AstralixNB> The thing is that I can't boot any kind of kernel.
<AstralixNB> uboot version: U-Boot 2014.01-g462446a (Jan 07 2015 - 17:02:23)
<AstralixNB> Then it lists my partitons
<AstralixNB> bad image magic.
<AstralixNB> load kernel image failed
<AstralixNB> ERROR: [do_booti]: booti: bad boot or kernel image
<AstralixNB> Ok, I do not have a kernel in boot
<AstralixNB> Unable to boot:boot
<AstralixNB> try to start recovery
<AstralixNB> I do not have any kernel in recovery too, but I do habe kernel.img installed
<AstralixNB> But after the recovery trial it says
<AstralixNB> LMemApiReadLba:0
<AstralixNB> LMemApiReadLba:0
<AstralixNB> LMemApiReadLba:0
<AstralixNB> SecureBootCheckOK:0
<AstralixNB> booti: do_bootm_linux...
zombu2 has quit [Quit: ZNC - http://znc.in]
<AstralixNB> Starting kernel ...
<AstralixNB> That's all
<AstralixNB> I tried some kernel.img that I had working before and even original radxa rock kernel images.
<AstralixNB> Same result
<AstralixNB> If you could give me a hint?
<AstralixNB> Need to drive home now.
<AstralixNB> cul
Astralix has quit [Ping timeout: 264 seconds]
AstralixNB has quit [Ping timeout: 264 seconds]
apritzel has quit [Ping timeout: 264 seconds]
wildea01 has quit [Quit: leaving]
AstralixNB has joined #linux-rockchip
Astralix has joined #linux-rockchip
Astralix has quit [Read error: Connection reset by peer]
AstralixNB has quit [Read error: Connection reset by peer]
Astralix1 has joined #linux-rockchip
AstralixNB1 has joined #linux-rockchip
Astralix1 has quit [Remote host closed the connection]
AstralixNB1 has quit [Read error: Connection reset by peer]
Astralix has joined #linux-rockchip
FreezingCold has joined #linux-rockchip
<Astralix> back
JochenKauz has joined #linux-rockchip
bengal has joined #linux-rockchip
akaizen has quit [Ping timeout: 244 seconds]
zombu2 has joined #linux-rockchip
akaizen has joined #linux-rockchip
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-rockchip
akaizen has quit [Ping timeout: 265 seconds]
bengal has quit [Quit: Leaving]
bengal has joined #linux-rockchip
field^Mop has joined #linux-rockchip
markm_ has quit [Ping timeout: 244 seconds]
markm_ has joined #linux-rockchip
ynezz has quit [Ping timeout: 245 seconds]
JochenKauz has quit [Ping timeout: 264 seconds]
JochenKauz has joined #linux-rockchip
RayFlower_ has joined #linux-rockchip
JochenKauz has quit [Client Quit]
c0d3z3r0 has quit [Ping timeout: 245 seconds]
c0d3z3r0 has joined #linux-rockchip
ynezz has joined #linux-rockchip
bengal has quit [Quit: Leaving]
naobsd has quit [Quit: naobsd]
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
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
field^Mop has quit [Ping timeout: 245 seconds]
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip