03:52
Astralix1 has joined #radxa
03:54
Astralix has quit [Ping timeout: 250 seconds]
06:35
naobsd has quit [Quit: Page closed]
06:41
naobsd has joined #radxa
06:47
<
naobsd >
Astralix1: do you still have a problem with rockchip 3.0 kernel on your RR ES?
07:10
<
naobsd >
Astralix1: kernel is compiled from radxa-dev-kk branch with official toolchain
07:10
<
naobsd >
Astralix1: it worked on my RR ES/Full/Lite2013
07:11
<
naobsd >
Astralix1: please don't assume anything, just try it and tell me result
07:11
<
naobsd >
Astralix1: if it doesn't work, your hardware may be broken
08:07
gb_master has joined #radxa
08:07
<
gb_master >
do you know which could be the reason causing my /sys/class/mtd/ to be empty?
08:25
<
naobsd >
gb_master: kernel module is not loaded?
08:25
<
gb_master >
which one?
08:26
<
naobsd >
gb_master: what are you talking about? I thought you talked about NAND
08:26
<
gb_master >
I actually have the whole system on SD
08:27
<
gb_master >
I'm trying to update the boot partition
08:27
<
naobsd >
then it is the reason
08:27
<
naobsd >
SD card is not MTD device
08:27
<
gb_master >
there's no equivalent?
08:28
<
naobsd >
too less information to answer. I don't know which "system" you're using
08:28
<
gb_master >
operating system: gentoo
08:29
<
gb_master >
I don't know if that's what you're interested into
08:30
<
naobsd >
I'm asking things specific to RR such as loader, kernel, etc
08:33
<
gb_master >
well, the kernel is the default one shipped with the ubuntu SD image 3.0.36+
08:34
<
gb_master >
for the loader, how do I get info?
08:35
<
naobsd >
what is "default one shipped with the ubuntu SD image" ?
08:36
<
naobsd >
I have RR Full/Lite, how can I reproduce your environment on my RR?
08:37
<
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
08:38
<
gb_master >
I guess that the kernel is on the SD as well, right?
08:39
<
naobsd >
it should be
08:39
<
naobsd >
(I don't have Pro/Lite2014, all I can do is guessing...)
08:40
<
gb_master >
problem is that I need to update the kernel
08:41
bengal has joined #radxa
08:43
<
naobsd >
I can see kernel by
08:44
<
naobsd >
dd if=radxa_rock_pro_ubuntu_14.04_server_140819_sdcard.img skip=$((0x2000+0x2000)) count=1 | hexdump -C
08:45
<
gb_master >
so I could just dd my boot.img there?
08:45
<
naobsd >
you should have /dev/mmcblk0 or /dev/block/mmcblk0
08:46
<
gb_master >
I have /dev/mmcblk0
08:47
<
naobsd >
then you can read/write kernel with it
08:47
<
naobsd >
+0x2000 is not fixed, depend on kernel command line in parameter
08:48
<
naobsd >
I guess your parameter has mtdparts=rk29xxnand:0x00008000@0x00002000(boot),-@0x0000A000(linuxroot)
08:48
<
gb_master >
correct
08:48
<
naobsd >
then +0x2000 should work
08:49
<
gb_master >
I generated boot.img with "mkbootimg --kernel kernel_rockchip/arch/arm/boot/Image --ramdisk initrd.img -o boot.img"
08:49
<
gb_master >
it's this one that I should dd, correct?
08:49
<
naobsd >
max size of boot area (boot.img) is 0x8000
08:50
<
naobsd >
if you're using mkbootimg
_for RK_ and initrd.img is cpio+gz, correct
08:52
<
gb_master >
dd if=boot.img of=/dev/mmcblk0 conv=sync,fsync seek=$((0x2000+0x2000))
08:52
<
gb_master >
if I'm not wrong
08:52
<
naobsd >
I cannot confirm that guide for now, I don't try that long time
08:53
<
naobsd >
I hope it should work
08:53
<
gb_master >
well, I have an image for backup
08:54
<
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
08:54
<
naobsd >
^if you need confirmation
08:55
<
naobsd >
I don't know it's really needed
08:55
<
gb_master >
IT WORKED
08:55
<
gb_master >
a-w-e-s-o-m-e
08:57
<
naobsd >
I think it's described somewhere on wiki, but I cannot find it for now
08:58
<
gb_master >
well, what I was doing wrong was setting the wrong skip value in the dd
08:59
<
naobsd >
it seems info is missing from wiki :(
09:00
<
naobsd >
first 0x2000 is fixed, it's starting point of logical partition
09:00
<
naobsd >
parameter is stored at 0x2000 on SD == logical 0x0
09:01
<
naobsd >
then, on your environment, kernel is in boot, and boot is at logical 0x2000
09:02
<
naobsd >
+0x2000 depends on logical partition layout defined in command line in parameter
09:02
<
naobsd >
now you can write wiki about it:)
09:03
<
gb_master >
ok, got it
09:04
<
gb_master >
is there a page I need to update?
09:04
<
gb_master >
or should I create one from scratch?
09:05
<
naobsd >
page name may not be good.... it explains how to make/write sd card...
09:21
<
gb_master >
well, I don't know...
09:32
gb_master has quit [Ping timeout: 246 seconds]
10:22
akaizen has quit [Remote host closed the connection]
10:23
akaizen has joined #radxa
10:28
akaizen has quit [Ping timeout: 272 seconds]
10:33
wickwire has quit [Quit: Leaving]
10:34
wickwire has joined #radxa
14:37
ganbold__ has joined #radxa
14:40
ganbold_ has quit [Remote host closed the connection]
18:48
akaizen has joined #radxa
19:57
jceel has joined #radxa
19:57
<
jceel >
is it possible to upload kernel to SDRAM through OTG and boot from ram?
20:00
amstan has quit [*.net *.split]
20:00
hramrach_ has quit [*.net *.split]
20:01
amstan has joined #radxa
20:06
hramrach_ has joined #radxa
20:06
acid--- has joined #radxa
21:06
Astralix1 has quit [Read error: Connection reset by peer]
21:29
gb_master has joined #radxa
21:30
<
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
21:30
<
gb_master >
do you have any idea why this is happening?
21:43
bengal has quit [Quit: Leaving]
22:41
wickwire has quit [Remote host closed the connection]
23:32
gb_master has quit [Quit: Page closed]
23:41
hipboi has joined #radxa
23:44
hipboi_ has quit [Ping timeout: 255 seconds]