ChanServ changed the topic of #radxa to: http://radxa.com/ - Logs: http://irclog.whitequark.org/radxa
Astralix1 has joined #radxa
Astralix has quit [Ping timeout: 250 seconds]
naobsd has quit [Quit: Page closed]
naobsd has joined #radxa
<naobsd> Astralix1: do you still have a problem with rockchip 3.0 kernel on your RR ES?
<naobsd> Astralix1: kernel is compiled from radxa-dev-kk branch with official toolchain
<naobsd> Astralix1: it worked on my RR ES/Full/Lite2013
<naobsd> Astralix1: please don't assume anything, just try it and tell me result
<naobsd> Astralix1: if it doesn't work, your hardware may be broken
gb_master has joined #radxa
<gb_master> do you know which could be the reason causing my /sys/class/mtd/ to be empty?
<naobsd> gb_master: kernel module is not loaded?
<gb_master> which one?
<naobsd> gb_master: what are you talking about? I thought you talked about NAND
<gb_master> I actually have the whole system on SD
<gb_master> I'm trying to update the boot partition
<naobsd> then it is the reason
<naobsd> SD card is not MTD device
<gb_master> there's no equivalent?
<naobsd> too less information to answer. I don't know which "system" you're using
<gb_master> operating system: gentoo
<gb_master> I don't know if that's what you're interested into
<naobsd> I'm asking things specific to RR such as loader, kernel, etc
<gb_master> well, the kernel is the default one shipped with the ubuntu SD image 3.0.36+
<gb_master> for the loader, how do I get info?
<naobsd> what is "default one shipped with the ubuntu SD image" ?
<naobsd> well
<naobsd> I have RR Full/Lite, how can I reproduce your environment on my RR?
<naobsd> if you can't explain how did you make your "system", I have no idea about your system, I have no answer about your question
<gb_master> what I did is just to flash http://dl.radxa.com/rock_pro/images/ubuntu/sd/radxa_rock_pro_ubuntu_14.04_server_140819_sdcard.zip on SD and then unpacking gentoo's stage3 on the rootfs
<gb_master> I guess that the kernel is on the SD as well, right?
<naobsd> it should be
<naobsd> (I don't have Pro/Lite2014, all I can do is guessing...)
<gb_master> problem is that I need to update the kernel
bengal has joined #radxa
<naobsd> I can see kernel by
<naobsd> dd if=radxa_rock_pro_ubuntu_14.04_server_140819_sdcard.img skip=$((0x2000+0x2000)) count=1 | hexdump -C
<gb_master> so I could just dd my boot.img there?
<naobsd> you should have /dev/mmcblk0 or /dev/block/mmcblk0
<gb_master> I have /dev/mmcblk0
<naobsd> then you can read/write kernel with it
<naobsd> +0x2000 is not fixed, depend on kernel command line in parameter
<naobsd> I guess your parameter has mtdparts=rk29xxnand:0x00008000@0x00002000(boot),-@0x0000A000(linuxroot)
<gb_master> correct
<naobsd> then +0x2000 should work
<gb_master> I generated boot.img with "mkbootimg --kernel kernel_rockchip/arch/arm/boot/Image --ramdisk initrd.img -o boot.img"
<gb_master> it's this one that I should dd, correct?
<naobsd> max size of boot area (boot.img) is 0x8000
<naobsd> if you're using mkbootimg _for RK_ and initrd.img is cpio+gz, correct
<gb_master> dd if=boot.img of=/dev/mmcblk0 conv=sync,fsync seek=$((0x2000+0x2000))
<gb_master> if I'm not wrong
<naobsd> I cannot confirm that guide for now, I don't try that long time
<naobsd> I hope it should work
<gb_master> well, I have an image for backup
<naobsd> you can try to unpack boot.img on SD and repack it w/o modification, then compare original/new image. it will confirm your tool/procedure is fine or not
<naobsd> ^if you need confirmation
<naobsd> I don't know it's really needed
<gb_master> IT WORKED
<gb_master> a-w-e-s-o-m-e
<naobsd> I think it's described somewhere on wiki, but I cannot find it for now
<gb_master> well, what I was doing wrong was setting the wrong skip value in the dd
<naobsd> it seems info is missing from wiki :(
<gb_master> :(
<naobsd> first 0x2000 is fixed, it's starting point of logical partition
<naobsd> parameter is stored at 0x2000 on SD == logical 0x0
<naobsd> then, on your environment, kernel is in boot, and boot is at logical 0x2000
<naobsd> +0x2000 depends on logical partition layout defined in command line in parameter
<naobsd> now you can write wiki about it:)
<gb_master> ok, got it
<gb_master> is there a page I need to update?
<gb_master> or should I create one from scratch?
<naobsd> http://radxa.com/Rock/SD_images or new page?
<naobsd> page name may not be good.... it explains how to make/write sd card...
<gb_master> well, I don't know...
gb_master has quit [Ping timeout: 246 seconds]
akaizen has quit [Remote host closed the connection]
akaizen has joined #radxa
akaizen has quit [Ping timeout: 272 seconds]
wickwire has quit [Quit: Leaving]
wickwire has joined #radxa
ganbold__ has joined #radxa
ganbold_ has quit [Remote host closed the connection]
akaizen has joined #radxa
jceel has joined #radxa
<jceel> hi all
<jceel> is it possible to upload kernel to SDRAM through OTG and boot from ram?
amstan has quit [*.net *.split]
hramrach_ has quit [*.net *.split]
amstan has joined #radxa
hramrach_ has joined #radxa
acid--- has joined #radxa
Astralix1 has quit [Read error: Connection reset by peer]
gb_master has joined #radxa
<gb_master> I have an external HDD connected to the radxa, but I keep getting "reset high speed USB device number 4 using usb20_host" in the dmesg
<gb_master> do you have any idea why this is happening?
bengal has quit [Quit: Leaving]
wickwire has quit [Remote host closed the connection]
gb_master has quit [Quit: Page closed]
hipboi has joined #radxa
hipboi_ has quit [Ping timeout: 255 seconds]