ChanServ changed the topic of #radxa to: http://radxa.com/ - Logs: http://irclog.whitequark.org/radxa
<mhoney> probably not, its a developer board
zombu2 has joined #radxa
hipboi has quit [Read error: Connection reset by peer]
paowz has quit [Ping timeout: 255 seconds]
hipboi has joined #radxa
naobsd has quit [Quit: Page closed]
kaspter has joined #radxa
rokite has joined #radxa
naobsd has joined #radxa
rokite has left #radxa ["Leaving"]
kaspter1 has joined #radxa
kaspter has quit [Ping timeout: 252 seconds]
hipboi has quit [Ping timeout: 264 seconds]
hipboi has joined #radxa
ssvb has quit [Remote host closed the connection]
hipboi_ has joined #radxa
hipboi has quit [Read error: Connection reset by peer]
kaspter1 has quit [Remote host closed the connection]
bengal has joined #radxa
bengal has quit [Ping timeout: 245 seconds]
hipboi_ has quit [Ping timeout: 245 seconds]
hipboi_ has joined #radxa
naobsd has quit [Quit: Page closed]
<PaowZ__> hello ! Does anybody have ever flashed a linux kernel/rootfs on the radxa PRO (not on a radxa lite or so..) ?
naobsd has joined #radxa
naobsd has quit [Quit: Page closed]
<mrcan> PaowZ__: yes i flashed debian to NAND, it was very easy...
<PaowZ__> mrcan: coz I tried to go through several tutos to get a linux release running with no results so far..
<PaowZ__> at best, I could read kernel startup (with serial debug) and then rebooting in loop..
<mrcan> do you wanna build kernel or flash already built image?
<mrcan> pe
<mrcan> PaowZ__:
<PaowZ__> well, I wish I build a kernel to get flash it to NAND.
<mrcan> i applied this tut with using rkbatchtool : http://wiki.radxa.com/Rock/flash_the_image
<PaowZ__> I'm just able to flash ready-to-use image (KitKat Android) when I bricked my Radxa pro..
<mrcan> also you can use this tut flashing to nand for your built image
<PaowZ__> yes, I know this tuto and indeed rkbatchtool is better than upgrade_tool in many ways imo..
<PaowZ__> I tried this one.. http://wiki.radxa.com/Rock/Booting_Linux .. with no success..
<mrcan> btw rkbatchtool didnt recognize rock pro on my desktop cause of usb version. i tried on laptop and success
<mrcan> did you build successfully?
<PaowZ__> I have no trouble so far with rkbatchtool, either on a laptop or desktop :)
<PaowZ__> (at least, something that went well..)
<PaowZ__> mrcan: yup.. Build was successful. I got my arch/arm/boot/Image kerlen
<PaowZ__> *kernel
<PaowZ__> I tried several git repositories..
<mrcan> you build only kernel or with rootfs?
<PaowZ__> I've built kernel in one hand and, in the other hand, I've made a rootfs (linaro based)
<mrcan> wrote image to board using rkbatchtool is succesfull?
<PaowZ__> what image ? kernel image or rootfs image ?
<mrcan> kernel image
<PaowZ__> actually, I flashed kernel image with upgrade_tool -b
<PaowZ__> (this uses parameter at 0x0 of the NAND)
<mrcan> if you wanna write both images, you should use rkandroidtool
<mrcan> i dont prefer upgrade'
<mrcan> tool
<PaowZ__> (..which supplies address partition where to actually flash boot..)
<PaowZ__> really ?
<PaowZ__> interesting..
<mrcan> thats my opinion.. try with it
<PaowZ__> I've never tried flashing boot.img with rkbatchtool..
<mrcan> with gui application everything seem more clear
<PaowZ__> rkflashtool, I mean..
<PaowZ__> I don't know rkbatchtool, but rkflashtool..
<mrcan> try with it, you cant brick device its made by rock :P
<PaowZ__> I've already bricked it twice ;)
<PaowZ__> I mean, the needle trick works like a charm ;)
<mrcan> lol good luck than...
<PaowZ__> the GUI called rkflashkit has got a bug when it comes to read last partition (linuxrootfs for instance..)
<PaowZ__> what is the content of your parameter file ?
<mrcan> for rootfs?
<PaowZ__> your parameter file, found at 0x0 of the NAND..
<mrcan> ah let me check
<PaowZ__> >upgrade_tool rl 0 1
<PaowZ__> mrcan: here is the output of my kernel before rebooting..
<PaowZ__> one of the first error is the initramfs
naobsd has joined #radxa
<PaowZ__> ..then it pukes lot of errors related to CPU and so on.. (stack pointer etc...)
<naobsd> PaowZ__ why are you using kernel for full/lite?
<PaowZ__> hi naobsd. Sorry, I don't get your question..
<PaowZ__> you mean, tutos are for full/lite version ??
<naobsd> no
<PaowZ__> I've just tried the only available tutos out there.. maybe I missed the right one..
<naobsd> please read wiki carefully
<naobsd> it explain both, some parts are for full/lite, other parts are for pro
<PaowZ__> I did. I really did.
<naobsd> you did. what you did?
mrueg has quit [Remote host closed the connection]
<PaowZ__> I really did read this tuto carefully.. built kernel with make radxa_rock_pro_linux_defconfig etc..
<naobsd> radxa_rock_pro_defconfig/radxa_rock_pro_linux_defconfig disable CAT66121(IT66121) driver
<PaowZ__> what does this driver hand ?
<PaowZ__> what does this driver handle ?
mrueg has joined #radxa
<naobsd> HDMI
<naobsd> can you see 4penguins with your kernel?(before panic)
<PaowZ__> hm.. it happens I saw 4 penguins, indeed, during one of a previous test..
<PaowZ__> (I "make distclean" and currently build the kernel again..)
<PaowZ__> (kernel built.. building modules..)
<PaowZ__> (modules built.. generating ramdisk..)
<PaowZ__> (ramdisk generated.. generating boot.img)
<PaowZ__> (boot.img generated.. flashing boot.img)
<PaowZ__> (flashing green light at boot time..over and over again..)
<naobsd> console output please
mrcan_ has joined #radxa
mrcan has quit [Ping timeout: 246 seconds]
<naobsd> try "grep 66121 .config" in kernel_rockchip
<naobsd> and probably this causes panic: [ 1.032143] Initramfs unpacking failed: junk in compressed archive
<naobsd> well
<PaowZ__> about initramfs, this is what I suggested earlier.. but I don't know the cause..
<PaowZ__> I try your command.
<PaowZ__> naobsd: # CONFIG_HDMI_CAT66121 is not set
<PaowZ__> is it related to what you said before ?
<naobsd> grep RK616 .config
<PaowZ__> nothing
<PaowZ__> empty return.
<naobsd> strange :(
<naobsd> I don't have pro, I don't know correct console output from pro, but there is no RK616 lines in your's
<PaowZ__> one thing I haven't tried yet, is getting a complete archive of the kernel instead of git'ing it..
<naobsd> actually panic message is related to fb
<PaowZ__> no framebuffer ?
<naobsd> missing fb related driver may cause panic
<PaowZ__> those drivers are built-in into kernel or they appear as modules in the rootfs ?
<naobsd> "git branch" please
<naobsd> run "git branch" in kernel_rockchip please
<PaowZ__> oops sorry :$
<PaowZ__> * radxa/stable-3.0
<PaowZ__> below the full command line to retrieve the sources:
<PaowZ__> git clone -b radxa/stable-3.0 https://github.com/linux-rockchip/kernel_rockchip.git
<PaowZ__> the one you guys supply in the wiki
<naobsd> "git diff" shows nothing?
<PaowZ__> diff --git a/drivers/mtk_wcn_combo/Module.symvers b/drivers/mtk_wcn_combo/Module.symvers
<PaowZ__> deleted file mode 100755
<PaowZ__> deleted file mode 100755
<PaowZ__> index e69de29..0000000
<PaowZ__> diff --git a/drivers/mtk_wcn_combo/common/core/dbg_core.c b/drivers/mtk_wcn_combo/common/core/dbg_core.c
<PaowZ__> index e69de29..0000000
<PaowZ__> diff --git a/drivers/mtk_wcn_combo/drv_fm/mt6626/piv/mt6626_fm_priv.c b/drivers/mtk_wcn_combo/drv_fm/mt6626/piv/mt6626_fm_priv.c
<PaowZ__> deleted file mode 100755
<PaowZ__> index e69de29..0000000
<naobsd> hmm, distclean causes it
<naobsd> no problem for now
<naobsd> grep RK616 .config shows following lines
<naobsd> CONFIG_MFD_RK616=y
<naobsd> # CONFIG_RK616_USE_MCLK_12M is not set
<naobsd> # CONFIG_RK616_DEBUG is not set
<naobsd> # CONFIG_LCD_E242868_RK616_1024X600 is not set
<naobsd> CONFIG_RK616_LVDS=y
<naobsd> CONFIG_HDMI_RK616=y
<naobsd> # CONFIG_HDCP_RK616 is not set
<naobsd> # CONFIG_SND_RK_SOC_RK616 is not set
<PaowZ__> why don't I have such lines ??
<PaowZ__> when greping for RK616..
<PaowZ__> damn.. I have them.. what happened..
<PaowZ__> ok, well.. don't know what I missed, but I have those defines.
<PaowZ__> (ok, got it.. I was in wrong kernel sources.. anyway..)
<PaowZ__> what is RK616 ?? companion chip ?
<naobsd> HDMI/LVDS
<naobsd> you are sure you used correct kernel source to build?
<PaowZ__> let me check, naobsd. be right back in a minute.
ssvb has joined #radxa
<PaowZ__> naobsd: I figured things out..
<PaowZ__> here my report http://pastebin.com/cpBuu0Cy :)
<naobsd> framebuffer console doesn't work with stable-3.0 kernel
<naobsd> serial console output please
<naobsd> constant green light blinking = running
<PaowZ__> woow.. really ?? I don't have any output with serial.. only garbage..
<PaowZ__> like if it was not 115200 bauds
<naobsd> CMDLINE in parameter please
<PaowZ__> CMDLINE:console=ttyFIQ0,115200 console=tty0 root=/dev/block/mtd/by-name/linuxroot rw rootfstype=ext4 init=/sbin/init mac_addr=de:ad:de:ad:be:ef initrd=0x62000000,0x00800000 mtdparts=rk29xxnand:0x00008000@0x00002000(boot),0x00E00000@0x0000A000(linuxroot)
<PaowZ__> damn.. never noticed there were 2 consoles supplied..
<naobsd> remove "console=tty0", or place it before "console=ttyFIQ0,115200"
<PaowZ__> is it normal ?
<PaowZ__> ok..
<naobsd> 2 console is ok
<naobsd> but console=tty0 doesn't work with current stable-3.0
<PaowZ__> ok
<PaowZ__> I removed console=tty0
<PaowZ__> ..and flashed paramaters
<PaowZ__> ..and checked with "rl 0 1" at upgrade_tool prompt
<PaowZ__> still garbage on minicom
<PaowZ__> /me be right back..
* PaowZ__ be right back..
<naobsd> prebuilt image works fine? e.g. http://wiki.radxa.com/Rock/prebuilt_images#Ubuntu.2FLinaro
<PaowZ__> naobsd: I flashed KitKat several times as I bricked my board several times as well..but I haven't tried the link you're giving..
<PaowZ__> I bookmarked it and I will keep you posted, naobsd.
<PaowZ__> I have to leave, thanks for the help and the time you spent ;
<PaowZ__> see you later !
PaowZ__ is now known as PaowZ_afk
<naobsd> probably Android image doesn't use stable-3.0 kernel yet
<naobsd> latest Linux images use stable-3.0
<naobsd> please try latest linux image w/o modification, serial console should work
bengal has joined #radxa
npcomp has quit [Ping timeout: 246 seconds]
npcomp has joined #radxa
npcomp has quit [Ping timeout: 245 seconds]
npcomp has joined #radxa
<mrcan_> im trying to change resolution which connected on hdmi (fb0). but its only available 1024x600 in /sys/class/graphics/fb0/modes
<mrcan_> also tried cvt and xrandr adding new modes, no result...
<mrcan_> any ideas?
mrcan_ is now known as mrcan
<mrcan> naobsd: hipboi_
npcomp has quit [Ping timeout: 240 seconds]
npcomp has joined #radxa
bengal has quit [Ping timeout: 255 seconds]
_whitelogger has joined #radxa
_whitelogger has joined #radxa
PaowZ__ has joined #radxa
PaowZ_afk has quit [Ping timeout: 255 seconds]