leowt changed the topic of #linux-rockchip to: Rockchip development discussion | http://linux-rockchip.info | http://irclog.whitequark.org/linux-rockchip
arokux2 has quit [Remote host closed the connection]
<ganbold_> hm, what bootloader does rk3188 have? is it possible to change it?
lunra has quit [Ping timeout: 248 seconds]
lunra has joined #linux-rockchip
hramrach has joined #linux-rockchip
<naobsd> ganbold: rockchip's closed bootloader, there is no alternative bootloader yet
<naobsd> ganbold: I think making bootloader which is loaded by rockchips bootloader, is not so bad
<naobsd> ganbold: but to support nand will be hard, it's also closed even on kernel
<naobsd> arokux: UART just works http://androtab.info/radxa_rock/
<lunra> Has anyone managed to chain u-boot from the proprietary bootloader?
<ganbold_> naobsd: yes, nothing much about the loader, I was thinking to put freebsd kernel into nand similar way like linux and see how that works, or if the loader can load u-boot then that opens other possibilities
<naobsd> I never heard about u-boot for chain-load from RK bootloader. maybe same for kexec.
<naobsd> ganbold: RK bootloader checks header of images on kernel/boot/recovery partition, it should have proper magic, size for trailing data, and CRC for data at end
<lunra> Is FreeBSD running on any armv7 let alone RK3188/Cortex-A9?
<ganbold_> naobsd: do we have such formats and details somewhere?
<naobsd> oh I forgot to add parameter partition which is also need header
<ganbold_> naobsd: can you put all these information on either androtab or linux-rockchip.info wiki? I think those informations are valuable
<naobsd> for boot/recovery, currently there are 2 kind of format which is used by RK bootloader
<naobsd> ganbold: I will
<ganbold_> naobsd: that would be great
<naobsd> parameter partition contain parameter file with PARM header (rkcrc -p)
<naobsd> kernel partition can have kernel image (vmlinuz, i.e. just a binary) wich KERN header (rkcrc -k)
<naobsd> boot/recovery can be used to store ramdisk(for Android/Linux), cpio+gz with KERN header
<naobsd> and boot/recovery can be used to store kernel+ramdisk image, in this case kernel in kernel partition is not used(not needed)
<ganbold_> how many partitions in nand?
<naobsd> for kernel+ramdisk image, another format is used, it's almost same as standard Android boot image
<naobsd> standard Android boot image but different formula to calc hash in header https://github.com/naobsd/cm_system_core/commit/ab55eff50f699c8c4bec5f7e0a32da654779e44a#L0R231
<naobsd> (it's old, there is RK's mkbootimg source in RK's Android 4.2.2 SDK)
<naobsd> ganbold: partition information is defined in parameter, but you can ignore it
<naobsd> ganbold: did you get any RK device?
<ganbold_> I've got radxa rock
<naobsd> ganbold: nice
<ganbold_> just yesterday
<naobsd> you can get parameter from parameter partition on rock with rkflashtool
<ganbold_> so I need to find time experiment it with freebsd
<naobsd> rkflashtool can communicate bootloader via USB
<ganbold_> interesting
<naobsd> probably it will work with FreeBSD's libusb
<naobsd> or if you need a tool for old ugen(4) interface, my original rkflash tool will work ;)
<ganbold_> I was thinking to build kernel and then using some of those tools like mkbootimg to make kernel in proper format and put it in nand and try
<naobsd> rkcrc -k will be enough
<naobsd> (if you have kernel+ramdisk image built with mkbootimg on boot or recovery partition, it will be preferred)
<ganbold_> ok and if it works that way then need to experiment other things like usb ehci, sd
<naobsd> rkcrc -k in out, in is generally vmlinuz, just a data
<ganbold_> so preferred way is boot to recovery partition?
<naobsd> ganbold: I'm not sure which is preferred, it may vary by purpose
<naobsd> you can choose any way which you like :)
<naobsd> rkflashtool can write any data to any (logical) location of nand
<naobsd> logical location = bootloader and some other important information are hidden, only partitions which can be accessed by Linux/Android are visible
<ganbold_> good, but do I need to worry about breaking it? it seems it doesn't have jtag
<naobsd> ganbold: try rkflash -p, it reads parameter partition (offset 0) from nand
<ganbold_> naobsd: did you get radxa too?
<naobsd> banbold: there is mask rom mode, which doesn't use bootloader on nand
<naobsd> ganbold: yes I have 1 rock too
<ganbold_> cool
<naobsd> in mask rom mode, boot code in rom in CPU wait next code from USB
<naobsd> unfortunately currently rkflashtool can't do anything with mask rom mode.
<ganbold_> seems lots of complications
<naobsd> if bootloader or some other important data is broken, you need to reflash some file with RK's Windows tools
<ganbold_> ok, so I don't need to worry about breaking things :)
<naobsd> ganbold: unless you are the man who don't like microsoft/windows ;)
<ganbold_> I can use my son's windows :)
<naobsd> I'm using my wife's one, sometimes she claims 'unknown program is installed on my PC!'
<ganbold_> :)
<ganbold_> naobsd: when you think you will be able to put all these informations on web/wiki?
<naobsd> 'when' is most difficult part for me for long time...
<naobsd> I tried to write something about them several times...
<ganbold_> yeah, that is the problem
<naobsd> but now it's good time to try it again, radxa rock seems very nice and developer community is growing
<ganbold_> that is true, we need all these detailed informations somewhere and developers can use it later on
<ganbold_> like memory addresses of devices, registers etc.
<naobsd> unfortunately there was no device and no vendor for open development community.
<naobsd> until radxa rock.
<naobsd> so information are guessed and/or result of trial&error
<ganbold_> yeah, that is no good :(
<naobsd> ganbold: there are some amount of code in linux mainline
<naobsd> written from scratch
<naobsd> it may help porting another kernel (but it's GPL of course)
<ganbold_> yeah, have to look those files definetely
<naobsd> I forgot detail but uart, clock things, and probably mmc and/or usb is supported
<naobsd> I heard synopsys dwc is used
<ganbold_> I see
<ganbold_> I trying to build linux now, will see how it works on it
<ganbold_> did you try linux already?
<naobsd> http://androtab.info/radxa_rock/ you can see linux desktop at bottom :)
<ganbold_> cool :) which usb is used for flashing? otg?
<naobsd> OTG
<ganbold_> ok
<naobsd> I way lazy...err busy, I just modified boot command line to use mmc as rootfs
<naobsd> from Android kernel
<ganbold_> I see
<naobsd> to boot bootloader, run "reboot bootloader"(adb reboot bootloader) on Android, or
<naobsd> unplug POWER(include OTG) cable, press & hold recovery(left side) key, plug OTG cable
<ganbold_> interesting
<ganbold_> so it tries to boot from USB OTG
<naobsd> well, no, bootloader is loaded from nand, then it waits commands from OTG
<naobsd> you can read/write nand via USB with rkflashtool
<naobsd> (you can use RK's windows tools too)
<ganbold_> I see
<naobsd> if you 1: press & hold recovery key 2: plug POWER (w/o OTG-PC connection), bootloader wait OTG connection few secs, then (if no OTG) bootloader try to start recovery mode
<naobsd> recovery mode: load kernel+ramdisk from recovery partition (or kernel in kernel part and ramdisk in recovery part), and generally Android recovery(upgrade) program will run in this mode
<naobsd> you may rewrite image in recovery
<naobsd> you can read/write nand partition on Android/Linux, so you may use recovery mode to flash new image to kernel/boot/etc partition
<naobsd> it may be useful because you can use shell and commands on Linux :)
<ganbold_> let me try to build kernel and flash nand :)
<naobsd> I see :)
<ganbold_> naobsd: do you have script to build linux kernel?
<naobsd> did you get source for radxa rock? probably other source for other RK3188 will boot but
<ganbold_> I'm following wiki
<naobsd> make ARCH=arm CROSS_COMPILE=/home/fun/linux-sunxi/gcc-linaro-arm-linux-gnueabihf-4.7-2013.04-20130415_linux/bin/arm-linux-gnueabihf- rk3188_steak_defconfig
<naobsd> make ARCH=arm CROSS_COMPILE=/home/fun/linux-sunxi/gcc-linaro-arm-linux-gnueabihf-4.7-2013.04-20130415_linux/bin/arm-linux-gnueabihf- -j 4
<naobsd> very standard 2 steps!
<naobsd> ah
<naobsd> well
<naobsd> ganbold: can you wait some minutes? I'll make kernel source tarball for radxa rock
<ganbold_> ok
<naobsd> there is only single big repo which contain whole android sdk :(
<naobsd> I'm thinking to do "git subtree" to extract kernel, but not yet done... just make tarball for now
<naobsd> it has full git history from RK, it should be preserved
<naobsd> about toolchain, prebuilt android toolchain is better (RK uses toolchains in their Android SDK)
<naobsd> but I recommend to use linaro's
<ganbold_> I started building linux, let's see how that works
<ganbold_> make complained about missing KDIR for ct11mp in /home/tsgan/rkutils/rk3188_kernel_3.0.36/drivers/gpu/drm/mali_drm/Makefile, but second make is somehow continuing
<ganbold_> probably mali_drm isn't built and I don't need it right now
<naobsd> I'm sorry I have no idea about current status of other's kernel source...
<naobsd> ganbold: my rock has 4GB memory and RTL8188ETV wifi-only chip but 2GB ram
<naobsd> I'm not it should be called "lite" or not... probably just a noname ES
<naobsd> I'm sure rk3188_steak_defconfig is good for mine
<naobsd> but I don't know all ES are same
<ganbold_> still building linux :)
<naobsd> my rock has kernel in kernel, android ramdisk(rootfs) in boot, and kernel+ramdisk in recovery. so I just reflash kernel image by rkcrc -k to kernel
<naobsd> in this case, my kernel is used when normal boot, but not recovery boot
<ganbold_> wise
<ganbold_> it is probably linking now , vm is very slow responding
<naobsd> hehe
<naobsd> I want new machine to build!
<naobsd> something like Ivy Bridge 4core 8GB ram
<naobsd> lower TDP model is preferred ;)
<ganbold_> I bought for my son Ivy bridge 4core i7-3820 with 16GB ram, 128GB SSD and 2TB HDD, nvidia GTX770 gaming desktop, I should ask him to put vm for me :)
<naobsd> you should!!!
<naobsd> and for me too ;)
<naobsd> only 60GB is left on my 1TB HDD on build machine
<ganbold_> :)
<ganbold_> :) what I'm doing, I should ask you to give some files like zImage, Image etc :) but anyhow I should try myself :)
<naobsd> ah, I wiped them to make tarball!
<naobsd> ganbold: your kernel can be booted?
<ganbold_> still linking I think
<ganbold_> I see "LD vmlinux.o" line and nothing more yet
Super-noob has quit [Ping timeout: 245 seconds]
<naobsd> lol
<naobsd> you should try to build kernel on radxa rock!
<naobsd> I/O must be weak, but...well, kernel source + output consumes only 800MB
<naobsd> we will have 4core 2GB(ram and storage) small build machine!
hipboi has joined #linux-rockchip
<hipboi> linux-rockchip.info accessing is slow
<hipboi> only me?
hipboi has quit [Quit: Leaving]
mmind00 has joined #linux-rockchip
hipboi has joined #linux-rockchip
<naobsd> hipboi: seems fine for me
mmind00 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
hipboi has quit [Ping timeout: 252 seconds]
akaizen_ has joined #linux-rockchip
akaizen has quit [Ping timeout: 248 seconds]
hipboi has joined #linux-rockchip
massi has joined #linux-rockchip
arokux2 has joined #linux-rockchip
<arokux2> naobsd: hey, I cannot understand how do you connect that connector to the holes..
<naobsd> oops, hole?
<naobsd> there are 3 pings on my rock...
<naobsd> pins
<arokux2> hm......... hipboi ^
<naobsd> sorry, but it's funny :)
<hipboi> naobsd, what pins?
<naobsd> UART
<naobsd> arokux said holes
<arokux2> through holes
<hipboi> oh, sorry, arokux2 i forgot send ttl to usb in very package of the first batch
<naobsd> well
<naobsd> I have USB-serial cable for CB(2)
<arokux2> hipboi: I have ttl 2 usb
<naobsd> I can use it for rock too because there are 3 pins http://androtab.info/uploads/images/radxa_rock/radxa_rock_2.jpg
<hipboi> arokux2, good
<naobsd> but there are holes, not pins on arokux radxa rock board
<arokux2> hipboi: but you didn't understand, i'll make an image, wait
mmind00 has joined #linux-rockchip
<naobsd> off-topic: I have a wire good for thru-hole http://www.sunhayato.co.jp/products/details.php?u=1583&id=300011 :)
<naobsd> I'm lazy, sometimes I don't solder, just insert wire into hole ;)
<arokux2> naobsd: ^
<naobsd> let's soldering time!
<arokux2> never soldered in my life.. I do not want the fist time I solder is something like this :)
<naobsd> just put wire over the hole, you may get output if you're lucky! ;)
<hipboi> arokux2, sorry... but you are lucky...
<arokux2> hipboi: lucky? :)
<naobsd> only 1/100 ? :)
<hipboi> arokux2, ask some friend who can solder to help you
<arokux2> what about those cables naobsd has shown?
<arokux2> they looked nice :)
<arokux2> hipboi: should I solder: what should I attach to those holes, just pins or is there some connector? (sorry, I'm total noob here..)
<hipboi> arokux2, you need some 2.54mm headers
<hipboi> arokux2, or you can directly solder the wire of ttl to use cable on it
<naobsd> 2.54mm header pin is very common
<arokux2> hipboi: I see some other empty holes just under the power connector
<arokux2> naobsd: do you have them?
<arokux2> 3 of them, one is soldered to smth
<hipboi> arokux2, have you checked if your board works?
<naobsd> I always have some spare parts
<arokux2> hipboi: I need UART, before I check :p
<naobsd> I can send pin or cable for thru-hole, but it needs several days... I'm in Japan ;)
<hipboi> arokux2, the hole under the power jack is ok
<naobsd> I guess if your board doesn't work completely, hipboi can send another board
<arokux2> hipboi: no hdmi monitor here (no convertors.. ). any other possibility to check if the board works?
<naobsd> there is CVBS output in AV mini jack but default should be NTSC ;)
<arokux2> hipboi: empty holes for ttl is not a problem, just a bit more fun, don't worry :)
<hipboi> arokux2, no...
<hipboi> adb is not enabled by default
<hipboi> no other way i can think of
<naobsd> only LED? ;)
<hipboi> naobsd, btw, you already have ubuntu running right?
<hipboi> yes, only led...
<hipboi> naobsd, ubuntu on RR
<naobsd> hipboi: yes, run ubuntu is easy but there is no optimization for RR
<arokux2> hipboi: apart from that, radxa is extremely sexy board!
<naobsd> sorry, I'm away for a while
<naobsd> will back soon
<hipboi> arokux2, what defines sexy
<arokux2> hipboi: full of features packed in so small form: wifi, mic, 2xusb..
<hipboi> arokux2, same to me
<arokux2> hipboi: so I need something like this? (please take a closer look :p) http://www.digikey.com/product-detail/en/2-644486-4/A30894-ND/698402
<hipboi> no...
<hipboi> that's double ones
<arokux2> hm.. what do you mean? the bottom part is soldered to a board, and I connect to the upper part.
<hipboi> arokux2, google 2.54mm pin header picture you will see a lot of them
<hipboi> arokux2, the first one, you only need 3 of them
<arokux2> hipboi: yeah, I've seen them, but I'd like a nice connector.
<ganbold_> hipboi: thanks a lot, I got radxa board yesterday :)
<hipboi> ganbold_, so soon
<ganbold_> yes :)
<arokux2> hipboi: at the bottom
<hipboi> arokux2, yes, i know what you mean
<arokux2> hipboi: why did you say this digikey part is bad? it is also "Pitch0.100" (2.54mm)"
<hipboi> isn't it's double column?
<hipboi> arokux2, oh, sorry, i thought there are 8
<hipboi> arokux2, i must be tired...
<arokux2> hipboi: no prob. so this connector will do, right? (I selected it black, so it fits the color of the sexy board :) )
<vgrade> picks up wifi as well :)
massi has quit [Remote host closed the connection]
massi has joined #linux-rockchip
<naobsd> back
<arokux2> shit, digikey shipment cost fortune - 18EUR
<ganbold_> had to build linux again, previous one was stuck there forever
Theueip has quit [Quit: Leaving...]
<ganbold_> naobsd: so now I have kernel.img, maybe will try to flash it
<naobsd> ganbold: please check offset of kernel partition from parameter(rkflashtool -p)
<arokux2> guys, why not set up central github repo like linux-sunxi
<hipboi> +1
<hipboi> naobsd, i remember you setup the linux-rockchip on github
<arokux2> your repos are scattered all over the world
hramrach has quit [Ping timeout: 240 seconds]
<naobsd> I'll put radxa kernel source with full history (using git subtree) to github/linux-rockchip/linux-rockchip-3.0
<hipboi> naobsd, can you add me into the github organization?
<naobsd> I'm not a person who made github group account, but I made linux-rockchip-3.0 repo on it
<naobsd> hipboi: sure, wait for a moment
<hipboi> maybe we should add it on the wiki
<arokux2> naobsd: add me too please
<naobsd> currently there is no working organization, no rule, etc for that account...
<naobsd> arokux: ok
<naobsd> please wait a bit
<arokux2> no prob
<naobsd> hipboi: arokux: github.com/hipboi and github.com/arokux ?
hipboi has quit [Ping timeout: 260 seconds]
akaizen_ has quit [Remote host closed the connection]
<naobsd> arokux: please tell me your github account
hramrach has joined #linux-rockchip
<arokux2> naobsd: yes
<naobsd> arokux: added
<naobsd> I'm not sure I can say I'm owner of that org account, but there is only "Owners" team
<naobsd> probably no one except me push to it
<naobsd> currently linux-rockchip-3.0 has some kernel source for some RK devices that source is released/leaked
<naobsd> no local change are done, they are same as original tarball (including generated .o files)
<arokux2> do we have some git history or just an ugly code drop?
<naobsd> only kernel source for "mk802iv with ap6210 wifi" had history, I kept it as much as possible. there is no history for other taball
mmind00 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<naobsd> there are some developers who pushed source from same taballs, they made/are making own changes on his repo, but I don't merge/pull any of them
<ganbold_> hm, how to connect this OTG to vm in mac?
<naobsd> there are some repos for RK30/31 on github, but they didn't share history. same for me, currently linux-rockchip-3.0 is same as my personal repo, it's not central thing at all.
<naobsd> ganbold: which VM are you using? I guess there is menu item or icon to do it
<naobsd> ganbold: you may need to change guest setting to include virtual USB host function
<ganbold_> ah, I had to do reboot bootloader
<ganbold_> should I paste rkflashtool p output here?
<naobsd> ganbold: only CMDLINE please
<ganbold_> CMDLINE:console=ttyFIQ0 androidboot.console=ttyFIQ0 init=/init initrd=0x62000000,0x00800000 mtdparts=rk29xxnand:0x00002000@0x00002000(misc),0x00005000@0x00004000(kernel),0x00007000@0x00009000(boot),0x00010000@0x00010000(recovery),0x00020000@0x00020000(backup),0x00040000@0x00040000(cache),0x00200000@0x00080000(userdata),0x00002000@0x00280000(kpanic),0x00100000@0x00282000(system),-@0x00382000(user)
<naobsd> (I'm preparing my RR on desk now...)
<naobsd> ganbold: kernel partition offset is 0x4000, size is 0x5000
<naobsd> ganbold: you can change parameter, so you can use different partition layout
<naobsd> ganbold: rkflashtool w 0x4000 0x5000 < kernel.img
<naobsd> ganbold: it will flash kernel.img into 0x4000(kernel). unit of offset/size is 512B
<arokux2> guys, please document everything on the wiki, I'd need to wait for my uart connector to get shipped so I'll catch with you later on :(
<naobsd> ganbold: if you want backup of kernel partition, please do "rkflashtool r 0x4000 0x5000 > kernel-orig.img" first
<ganbold_> ok
<naobsd> rkdump can extract actual kernel.img from dumped file which has trailing garbage
<naobsd> it checks header and CRC
<naobsd> you can run rkdump on Android too ;)
<ganbold_> so "rkflashtool: info: EOF reached." means finished writing?
<naobsd> I'm not sure exact output of rkflashtool...
<naobsd> I'll try myself soon
<ganbold_> yeah, so it boots my kernel :)
<naobsd> ah, very nice :)
<ganbold_> and waits so it must be looking rootfs :)
<naobsd> ganbold: you changed config? CMDLINE in parameter should be used with default config
<ganbold_> didn't change anything :)
<ganbold_> I just wanted to see whether it boots my linux
<naobsd> hmm, then ramdisk in boot partition should be used, which is Android rootfs include NAND driver...
<ganbold_> yeah, that is most probably since android and linux is not really same I guess
<naobsd> which kernel source are you using? only Android kernel source is available for RK
<ganbold_> linux
<ganbold_> :)
<naobsd> ah, I see
leowt has joined #linux-rockchip
<naobsd> I don't know how it behaves
leowt has quit [Remote host closed the connection]
<ganbold_> Kernel command line: root=LABEL=linuxroot init=/sbin/init loglev
<ganbold_> el=8 rootfstype=ext4 rootwait mtdparts=rk29xxnand:0x00002000@0x00000000(paramet
<ganbold_> er),0x00002000@0x00002000(misc),0x00004000@0x00004000(kernel),0x00008000@0x0000
<ganbold_> 8000(boot),0x00008000@0x00010000(recovery)
leowt has joined #linux-rockchip
<naobsd> radxa kernel source should contain newer changes from RK and small RR specific changes
<ganbold_> which one?
<naobsd> ganbold: I told you some hours ago
<ganbold_> ah, ok
<naobsd> rk3188_steak_defconfig is for RR
<naobsd> on that source
<ganbold_> but that is android, right?
<arokux2> naobsd: is the wire you have shown to me something special or can I find it somewhere else?
<naobsd> I feel it's special, but I'm not sure about connector/wire world... I gues technically it should not be special, but it's a "nice idea!" thing
<naobsd> in short: I don't know any other online shop that sells that wire
<naobsd> I ask my friends
<arokux2> naobsd: no need, thanks
<arokux2> you can brake those apart, right?
<naobsd> yes, by nipper, or just bend it
<ganbold_> yes, so flashed back again original image :) works
<ganbold_> so this recovery button is nice thing :)
<ganbold_> now I should know about uart address
<naobsd> no need to connect 3.3V
<ganbold_> naobsd: pastebin.ca/2459424 the linux I built and tried
<naobsd> ganbold: device tree in linux mainline should know basic things
<ganbold_> you mean dts file? I looked for rockchip related dts files, but couldn't fine one
<ganbold_> ah, found
<ganbold_> cool :)
<ganbold_> so uart is same as allwinner a10 one?
<naobsd> https://github.com/Astralix/linux-rockchip/commits/topgit/devel astralix doing mainlining for RK3188
<naobsd> it's WIP thing
<ganbold_> nice :)
<arokux2> yay, i've found something cheap without shipping costs
<naobsd> btw, you are currently not working for A10/20 support in FreeBSD?
<arokux2> me?!
<ganbold_> naobsd: yes, but since radxa rock came, would like to try it :)
<naobsd> ganbold: ah, sorry, little off-topic here, but thank you for answer. I see
<naobsd> arokux: sorry :)
<arokux2> naobsd: i have a question btw. do you have wifi dongle?
<naobsd> I just curious about how difficult SMP support in FreeBSD
<naobsd> arokux: ah I remembered you asked it
<naobsd> arokux: lets moving -sunxi
leowt has quit [Quit: leowt]
hipboi has joined #linux-rockchip
<ganbold_> naobsd: seems some patches aren't committed yet to support SMP in arm
<naobsd> ganbold: in any ARM SoC? surprising...
<ganbold_> naobsd: in some SoC probably working iirc, like armadaxp
<ganbold_> btw, which uart are we using for radxa rock? uart0 or something different?
<arokux2> is there a TODO plan of the linux-rockchip? what are you personally going to do?
<hipboi> ganbold_, RR uses uart2 for serial console
<hipboi> naobsd, thanks for the github
<naobsd> ganbold: http://radxa.com/specification/ there is schematic in under block diagram
<hipboi> naobsd, i should put the link on the wiki
<naobsd> hipboi: please
<naobsd> arokux: as far as I know, there is no real working organization. there are people on here, that's all. so there is also no organization plan.
<arokux2> please ping me correctly :)
<arokux2> naobsd: I see. but what is your plan for example?
<arokux2> naobsd: I'd like to mainline. I can easily add USB host support, as I have some experience now.
<naobsd> no strong plan for me ;) I'm floating around Linux, Android, and *BSD... (because usually I don't have enough time...)
<arokux2> hipboi: what about you? what are your intentions here?
<hipboi> arokux2, i want to get some usable firmware
<hipboi> arokux2, running from sd card
<arokux2> hipboi: so it's a bootloader what is most interesting for you?
<hipboi> arokux2, bootloader yes
<hipboi> not my first priority
<naobsd> maybe writing wiki should be first for me ;)
<hipboi> we have Astralix working on bootloader now
<hipboi> and maybe sarg, too
<hipboi> naobsd, yeah
leowt has joined #linux-rockchip
<arokux2> hipboi: once there is u-boot i can add usb support to it too.
<hipboi> arokux2, thanks :D
vinifr has joined #linux-rockchip
massi has quit [Quit: Sto andando via]
arokux2 has quit [Remote host closed the connection]
arokux2 has joined #linux-rockchip
mmind00 has joined #linux-rockchip
leowt has quit [Quit: leowt]
mcbrick has joined #linux-rockchip
mmind00 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
vinifr has quit [Ping timeout: 240 seconds]
<ganbold_> So "Starting kernel...@0x60408000" means always load kernel at that address? Is it possible to change it
<arokux2> ganbold: how you have loaded the kernel?
<ganbold_> just trying to load new kernel and I was wondering about that
<arokux2> ganbold: hm, you specify the address where the kernel should be loaded..
<arokux2> ganbold: fatload mmc 0 0x46000000 uImage
<arokux2> for example.
<ganbold_> I know in uboot case, but rockchip loader is different
<arokux2> ganbold: ah.......
<arokux2> ganbold_: so rk loader isn't derived from u-boot?
<ganbold_> different
tonikasch has joined #linux-rockchip
<arokux2> ganbold: so they should have developed it from scratch?
<ganbold_> I don't know yet
<ganbold_> :) I was able to print at least one char
<tonikasch> this kernel is fully working on mk888 and has selectable GPIO parameters on menuconfig
<tonikasch> 3.0.72 kernel with latest rockchips patches
<ganbold_> haven't seen it, but I'm trying different OS :)
<tonikasch> oh, yes, freebsd
<tonikasch> sorry, reading the log now
<arokux2> how is omegamoon?
<tonikasch> mmmm, I don't understand
<ganbold_> seems omegamoon repo is newest
* ganbold_ thinks it is now beer time :)
<tonikasch> :)
<arokux2> who is omegamoon guys?
tonic_ has joined #linux-rockchip
tonic_ has quit [Changing host]
tonic_ has joined #linux-rockchip
tonikasch has quit [Disconnected by services]
tonic_ is now known as tonikasch
<tonikasch> mmm, omegamoon is a developer as well :)
<arokux2> tonikasch: yeah, but where does he have those RK patches from?
<arokux2> tonikasch: also, why is he dropping code without history :(
<tonikasch> I don't know
<tonikasch> I'll ask
<hipboi> arokux2, you have the latest code too
<hipboi> i have created the account for you
<arokux2> hipboi: where, on nand?
<hipboi> check your email
<hipboi> from git@git.linux-rockchip.org
<tonikasch> I'm still tyding up my environment, have just passed exams and for much time I've been almost away
<hipboi> omegamoon is merging his 3.0.72 kernel with latest rk kernel
<arokux2> hipboi: nothing.
<hipboi> arokux1, :O
<hipboi> let me check
<hipboi> arokux2, arokux@gmail.com?
<arokux2> hipboi: yep
<hipboi> arokux2, i sent you the information
<hipboi> good night all
<arokux2> hipboi: oh, it was from gitlab@linux-rockchip.org and landed in spam!
hipboi has quit [Quit: Leaving]
<tonikasch> arokux2 oh, yes, latest rk patches were taken from the git.linux.rockchip.org radxa repository
tonikasch has quit [Quit: Bye!]
tonikasch has joined #linux-rockchip
Omegamoon has joined #linux-rockchip
<Omegamoon> hi there
<Omegamoon> just reading the IRC logs...
<Omegamoon> so @arokux2, please explain, what is the problem?
<Omegamoon> @arokux2 if you say "also, why is he dropping code without history"
<arokux2> Omegamoon: yes :) it is nice to have history, like 3.0.72 kernel history plus other commits.
<arokux2> Omegamoon: so that it can be easily see what rk added.
<Omegamoon> well, then clone the repo and help start making the history
<tonikasch> Me, I have already cloned the repo and noticed the GPIOs are specifiable now :D As soon as I receive the radxa board I'll begin testing it
<arokux2> Omegamoon: sure. but didn't you have it?
<Omegamoon> arokux: what I had was tons of kernels for all kind of devices, which I merged and changed, then I upgraded the kernel to 3.0.72, and after that I merged the result with the radxa git, which contains the latest rockchip changes. It's hard to get this done in the first place, so forgive me if I didn't build a history of each and every change I made
<tonikasch> :)
<Omegamoon> That was for arokux2 previously, not arokux... all these personalities ;-)
<arokux2> Omegamoon: I apologize if said it to blunt.
<arokux2> I've just get used to the way it is done in linux-sunxi.
<arokux2> Omegamoon: yeah.. I'm logged in from two machines, so that is why two nicks.
<Omegamoon> no offense taken, maybe it's just me having to deal with too many people acting in a gimme-gimme-gimme fashion, where good is never good enough it seems ;-)
<arokux2> Omegamoon: you know it can be always better. I'm not working in that fashion really, I'd like to help with mainlining...
<arokux2> Omegamoon: what are your plans?
<Omegamoon> one code base to begin with, which is what I tried
<arokux2> Omegamoon: and then mainline?
<Omegamoon> that's a huge step!
<arokux2> Omegamoon: what is the next one then?
<arokux2> :)
<Omegamoon> but if you have experience in that field...
<Omegamoon> feel free to join!
<arokux2> I have joined already.
<arokux2> I can add usb host to kernel
<arokux2> I (almost) added it to sunxi
<Omegamoon> I was thinking more about getting these annoying closed sourced stuff out
<Omegamoon> like Mali, wifi etc
<Omegamoon> proper bootloader
<arokux2> Omegamoon: what wifi chip is it?
<Omegamoon> which device?
<tonikasch> there are many
<arokux2> the rtl8188cu which you can find with sunxi devices works with mainline kernel driver - rtl8192cu
<Omegamoon> we have realteks, broadcoms, espressif, marvell...
<arokux2> oh..
<Omegamoon> that's cool, but there are some 20 to support accross different devices
<tonikasch> and the always-present gpios mapped differently for every device
<Omegamoon> which is not nice in the current situation where these are handled through a few closed source kernel modules
<Omegamoon> so that has a high priority :-)
<Omegamoon> Mali support for linux distros like ubuntu... same problem
<tonikasch> brcmsmac was supposed to support bcm40181 and bcm40183 wifi chips but I don't remember the actual status...
akaizen has joined #linux-rockchip
akaizen has quit [Remote host closed the connection]
tonikasch has quit [Quit: Bye!]
Omegamoon has left #linux-rockchip [#linux-rockchip]
tonikasch 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 [Remote host closed the connection]
akaizen has joined #linux-rockchip
akaizen has quit [Remote host closed the connection]
<naobsd> arokux: origin of rockchip's 3.0 kernel source are not sure. they based on AOSP 3.0, but it also contain some changes outside of AOSP 3.0 history.
<naobsd> arokux: my linux-rockchip-3.0 is based on AOSP 3.0. I chosen most similar point (my guess) to make branches to put RK kernel sources
<naobsd> arokux: so if you want to merge latest AOSP 3.0, you can do as usual... git merge android-3.0 on linux-rockchip-3.0 (and resolve conflict).
<naobsd> 5310c3c75b0dd301da8c76e0971e82d194df6fdb this is the point I chosen to merge RK 3.0.36 source
<naobsd> I will push RK kernel source in 4.2.2 SDK on top of this point with RK's history
<naobsd> so you can see both AOSP and RK history as much as possible
<arokux2> naobsd: thanks for explanation. no I have no interest in android, only in some clue how RK hardware works so it can be mainlined.
<naobsd> history contain author info, it's very important
<naobsd> if you want to cherry-pick
<naobsd> to mainline
<naobsd> it's difficult to know who wrote some lines without history... I think "committer"(developer around here) is recorded as "author" other RK kernel source repo
<arokux2> naobsd: I doubt you can cherry pick something at all. normally a rewrite from scratch is needed.
<naobsd> arokux: yes, actually I think so too :)
<naobsd> but I like source with history
<arokux2> naobsd: this is just from what I've see in sunxi land.
<arokux2> naobsd: yes, me too, that is why I've asked.
<naobsd> if I made change somewhere and record history, I can show commit id to tell what I changed
<naobsd> "please run diff between other-tree and my-tree to get my change" is not good
<naobsd> ganbold: there is "KERNEL_IMG: 0x60408000" in parameter, but I'm not sure it can be changed