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
akaizen__ has quit [Ping timeout: 258 seconds]
RayFlower has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
naobsd has quit [Quit: Page closed]
naobsd has joined #linux-rockchip
<naobsd> about radxa rock, firefly, and rayeager, there are (at least) 2 version that size of RAM is different
<naobsd> should we make 1 common dtsi, 2 dts for every boards?
<naobsd> (size of RAM will be detected at run time, but not yet)
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
Tony_ has joined #linux-rockchip
<Tony_> morning guys.
<akaizen> are you guys working on Firefly?
<akaizen> I'm thinking about getting a board and it had a SDK and linux support
levd has joined #linux-rockchip
<Tony_> akaizen, naobsd is working on Firefly. I have no this board.
<naobsd> levd: ping
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
<ganbold__> aliexpress shipping cost is 68$
<ganbold__> ridiculous
<naobsd> oh
<naobsd> I'll ask EMS option ;)
<ganbold__> aren't there other options?
<naobsd> EMS and/or another cheaper method
<naobsd> ok?
<ganbold__> and I don't have credit card :D
<ganbold__> only DHL to Mongolia? I don't believe it
<Tony_> sf-express
<Tony_> I recommend.
<ganbold__> fun, aliexpress doesn't have China in country list
<Tony_> Yep, so I recommend sf-express, I'm a Chinese guy.
<naobsd> oh
<naobsd> levd: ping
<ganbold__> I know :) sf-express should be good
<levd> We have sf-express for China only.
<ganbold__> HK post should be good
<levd> I'll ask why shipment fee to Mongolia is so high.
<naobsd> levd: sorry, I sent e-mail. can we talk here now?
<naobsd> 1. please add some cheaper shipping method
<naobsd> 2. which screen should I wait & inform you
<naobsd> 3. can you/we do something for people who don't have credit card?
<ganbold__> I have paypal :)
<naobsd> I think I need to click "Place Order" to enter that word
<ganbold__> but I doubt China directly accepts paypal
<levd> We're always wanting to add cheaper shipping method, but for some reason, those don't fit.
<naobsd> hmm
<Tony_> We use Alipay likes paypal.
<levd> 2. Generally speaking, once you place the order, we'll see the order.
<naobsd> levd: thanks. I did 2 times for testing, please ignore for now
<naobsd> then
<naobsd> for me, $30 dhl is acceptable
<ganbold__> for Japan of course ;)
<ganbold__> kidding
<naobsd> but $68 is too expensive :(
<levd> I'm afraid it'll cost $68 for Mongolia really.
<naobsd> I have no idea to help for it :(
cnxsoft has joined #linux-rockchip
<Tony_> levd, are you from Mongolia ?
<naobsd> (off-topic: I should pool some $$$ by donation to help this kind of situation... but I didn't receive any money donation)
<naobsd> Tony_: he is firefly person
<ganbold__> levd: is it possible to send to China?
<naobsd> levd: I'm sorry I didn't notice that this promotion causes such a problem...
<Tony_> naobsd, how to create ramdisk for ubuntu ?
<levd> ganbold_ if we send to China, how do you get it?
<ganbold__> I can send to my Chinese friend and he can bring it to me
<levd> I'll ask first, please wait.
<ganbold__> ok
<naobsd> levd: thank you for your kind work
<levd> naobsd: you and the community are welcome.
<naobsd> are other people have no problem?
<Tony_> naobsd, My Ubuntu on RK3188 can't be online.
<naobsd> (I don't know who can get firefly)
<Tony_> This is Log
<naobsd> Tony_: please explain detail...
<naobsd> Tony_: it seems eth1 is running
<Tony_> install Ubuntu follow this: http://androtab.info/radxa_rock/ubuntu/
<naobsd> Tony_: you need to configure /etc/network/interfaces or
<naobsd> s/or//
<naobsd> probably other people in EU are in bed now...
<levd> ganbold_ : yes, we can send it to your friend first. Detail in private chat.
<Tony_> naobsd, it can't works fine.
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
<naobsd> Tony_: it should work
<naobsd> Tony_: you can configure eth1 by hand too
<Tony_> its name is eth0 in miniroot, but after Ubuntu its name change to "eth1"
<Tony_> I don't know where I do wrong.
<naobsd> Tony_: check /etc/udev/rules.d/
<naobsd> anyway it's just a how to use ubuntu thing
<Tony_> okay, I will google it at first.
<naobsd> aaaaaaaaah
<naobsd> lol
<naobsd> I cannot order now ;)
<Tony_> it was dead. ;)
<naobsd> levd: by the way, firefly 4GB ver. uses same board as 2GB (production) ver.?
<Tony_> naobsd, where I can fond the miniroot's source ?
<Tony_> I can only get images now.
<naobsd> Tony_: main parts are script, you can see them.
<naobsd> rest of binary files are picked from ubuntu 14.04 rootfs
<naobsd> anyway that's outdated a little
<naobsd> I'm using a little different version
<Tony_> Could you share your miniroot's files ?
<naobsd> I think I need to do some cleanups
<naobsd> I always ignore some errors ;)
<naobsd> I'm doing some mainline things
<naobsd> I'll update my miniroot for it
<Tony_> okay, thank you.
<naobsd> I want to finish dts work 1st...
<naobsd> for firefly and rayeager
<levd> naobsd: yes, firefly 4GB uses same board as 2GB.
<naobsd> levd: thanks, then only 1 line in .dts needs to be modified ;)
<naobsd> I'm not sure we can specify value of 4GB in dts and kernel can run w/o modification
<naobsd> oh I should ask it...
<naobsd> levd: are you(or someone in firefly) already trying mainline Linux?
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
<levd> naobsd: we tried the mainline Linux, but got stuck. We're not familiar with mainline kernel yet, a lot of differences from SDK kernel.
<naobsd> levd: I see, I'll prepare it and ask to test on 4GB board :)
<levd> Good
<levd> The same firmware can be used in both version. The DDR and eMMC size are auto detected.
_andrew_ has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
<_andrew_> naobsd: Hi, do you have a working (or working enough to boot to /bin/sh over serial console from the eMMC) device tree for the Firefly and current mainline kernel that I'd be able to try?
<_andrew_> Currently fiddling with one based on rk3288-r89.dts from the devel/workbench branch of https://github.com/mmind/linux-rockchip.git but it's getting stuck at the eMMC with
<_andrew_> dwmmc_rockchip ff0f0000.dwmmc: No vmmc regulator found
<_andrew_> dwmmc_rockchip ff0f0000.dwmmc: No vqmmc regulator found
<naobsd> _andrew_: no
<naobsd> _andrew_: I cannot understand why you said "give me" just after joined here. if you saw log, you should know answer.
<naobsd> good news, gyroscope doesn't exist on rayeager, "cannot find" problem is solved ;)
<naobsd> let delete lines from dts and kernel config... ;)
RayFlower has quit [Read error: Connection reset by peer]
<_andrew_> naobsd: Well, I didn't just say "give me", I asked politely. It seemed, yes, from the log, that you are working on creating a Firefly device tree file. Sorry if I read that wrong?
RayFlower has joined #linux-rockchip
<naobsd> "are working on creating a Firefly device tree file"
<naobsd> sorry, who said "working version is ready"?
<_andrew_> naobsd: No one.
<naobsd> usually we share a lot of things
<naobsd> because we are talking frequently
<naobsd> I may be wrong, but, I surprised
<naobsd> suddenly appeared and said "give me" very politely
<_andrew_> That sentence you quoted, doesn't imply a "working version" if that's what you thought. It means I got the impression that you are in the process of creating one.
<naobsd> "in the process of creating" yes
<_andrew_> Right. That's what I was asking, if it was even in some minimally working state? From your reply, I guess not...
<naobsd> levd: mainline kernel doesn't autodetect size of RAM (for now)
<naobsd> oh, RK3288 board from chipspark http://en.chipspark.com/goods/PopMetal/17
<Tony_> naobsd, how to covert boot.img to file tree ?
<Tony_> cpio ?
<ganbold__> naobsd: seems expensive
<naobsd> Tony_: it's cpio+gz with 8bytes header and 4bytes trailer
<naobsd> oh, popmetal has GPS/NFS
<naobsd> maybe one of AP6xxx
<naobsd> NFS -> NFC
<_andrew_> Obviously English isn't the natively spoken language around here, so some communications issues. No hard feelings I hope...
_andrew_ has quit [Quit: I'll be back]
<ganbold__> naobsd: yeah, NFC+GPS
<naobsd> as like as rayeager board, there are a lot of parts. pin headers are small(1.27mm pitch? not sure) but board size is relatively large (compared to firefly)
<naobsd> both rayeager and popmetal are 15cm x 9.?cm
<naobsd> oh, chipspark supports paypal :D
<naobsd> aliexpress is still dead ;)
<naobsd> I forgot to say, that logo was made by me _and hipboi_
<naobsd> he gave me idea, I draw it with some tweak
<ganbold__> is chipspark and hipboi related?
<naobsd> no
<naobsd> that logo is linux-rockchip logo (I intended)
RayFlower has quit [Quit: RayFlower]
<ganbold__> oh, so does RK3288 support LPAE?
<naobsd> C-A17 should support it, I don't know detail about it
<naobsd> is it important?
<ganbold__> 4GB
<naobsd> sure
<naobsd> maybe >=
<naobsd> I don't know how many products with 4GB RAM are available before 64bit arm becomes common
<ganbold__> LPAE (Large Physical Address Extensions), support up to 8GB address space Virtualization Extensions Support
<ganbold__> oh :)
<ganbold__> looks like it
<naobsd> same as PAE on x86
<naobsd> ^I guess
<ganbold__> yeah
<naobsd> but I didn't see so much people who uses >= 4GB on 32bit arch
<ganbold__> naobsd: have you seenn x-gene or mustang board?
<naobsd> 64bit board? I know only name
<naobsd> aliexpress is alive
<naobsd> this is 3rd time I used aliexpress... I'm not familiar with it :(
<naobsd> levd: I received adjust mail, and ordered. thanks.
<naobsd> lately I really don't have any time for anything except rockchip(and allwinner, a little) :(
<naobsd> for rockchip, not only dev work,
<naobsd> I need to do some "organize" thing :(
<ganbold__> yeah, you seem like giving very good work for rockchip SoC based boards
<naobsd> I'm not sure who want it ;)
<naobsd> I want to prepare download server and periodic mainline kernel building
<naobsd> mainline Linux and FreeBSD and NetBSD if possible
<naobsd> but I don't have good FreeBSD build machine yet ;)
<ganbold__> yeah, sometimes doing all this without getting paid is not so easy
<naobsd> ganbold__: who build F/arm snapshot?
<ganbold__> gjb I think
<naobsd> can you ask him to build rockchip kernel?
<naobsd> I know I can use userland for other armv6(v7 now?) boards
<naobsd> but I cannot build FreeBSD kernel without FreeBSD :(
<naobsd> (no problem for NetBSD)
<ganbold__> yeah, ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/arm/armv6/ISO-IMAGES/11.0/ no images for Allwinner and Rockchip SoC based boards
<naobsd> I wonder why userland is not shared ;)
<naobsd> I know it's whole disk image
<ganbold__> yeah, I guess kernels should be also good
Astralix has joined #linux-rockchip
Astralix1 has quit [Ping timeout: 250 seconds]
<naobsd> ganbold__: btw, any A12/15/17 board is supported in -CURRENT?
<ganbold__> naobsd: I was trying ifc6410 board which has Krait CPU similar to A15
<ganbold__> naobsd: I'm kind of stopped hacking on it, not much time and enthusiasm, hacking alone is not so fun
GriefNorth has joined #linux-rockchip
<ganbold__> naobsd: Exynos 5x series, I think arndale board is supported
<ganbold__> which has A15
<ganbold__> samsung chromebook etc
<ganbold__> br@ knows more
<naobsd> hm, I see, thanks
<naobsd> on NetBSD it seems matt@netbsd does something for A17
<naobsd> but I think nothing is supported yet
<naobsd> I hope RK3288 will be good platform... ;)
<ganbold__> yeah
<ganbold__> firefly board looks nice
<ganbold__> naobsd: you live in Tokyo? just curious
<ganbold__> my wife is studiyng in Niigata
<Tony_> naobsd, but I don't how to unpack it.
<Tony_> naobsd, I want to uppack booting in sdboot_rk3188_miniroot.
<naobsd> Tony_: use my rkunpack in my rkutils repo, or "tail -c +9 boot.img | gzip -dc | cpio -i"
<Tony_> naobsd, made it. ;)
<naobsd> rkunpack is also (at least) 2 version... sigh
<naobsd> I cannot answer so much today
<Tony_> naobsd, okay, I will answer if it's possible.
cnxsoft has quit [Ping timeout: 256 seconds]
Danukeru has joined #linux-rockchip
<naobsd> mmm
<Tony_> naobsd, It can works fine - boot.img be created myself.
<Tony_> eventhough I use the rk's tools.
<Tony_> miniroot
hramrach_ has joined #linux-rockchip
<Tony_> naobsd, get this "Failed to execute /init".
<Tony_> naobsd, I used "tail -c +9 boot.img | gzip -dc | cpio -i" to unpack boot.img.
<naobsd> Tony_: you can compere original
<Tony_> naobsd, Yes, I did. there are so many diffes.
<Tony_> I don't know why.
Danukeru has quit [Remote host closed the connection]
<Tony_> I'm trying the other way.
<Tony_> rkunpack.
Danukeru has joined #linux-rockchip
<Tony_> hope it can works fine.
<Tony_> the results is it can't works fine too.
<Tony_> my steps is: ./mkbootfs boot.img-raw/ | ./minigzip > ramdisk.img
<Tony_> ./mkkrnlimg ramdisk.img ramdisk-rk.img
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 244 seconds]
cnxsoft has joined #linux-rockchip
<Tony_> naobsd, there is Log.
ferric has quit [Ping timeout: 252 seconds]
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 255 seconds]
naobsd has quit [Ping timeout: 246 seconds]
naobsd has joined #linux-rockchip
<Tony_> naobsd, could you give me a hand ?
<Tony_> I think I'm close to successful.
naobsd has quit [Ping timeout: 246 seconds]
naobsd has joined #linux-rockchip
levd has quit [Remote host closed the connection]
levd has joined #linux-rockchip
ferric has joined #linux-rockchip
Tony_ has quit [Remote host closed the connection]
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 244 seconds]
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 258 seconds]
ferric has quit [Ping timeout: 258 seconds]
AstralixNB has joined #linux-rockchip
ferric has joined #linux-rockchip
levd1 has joined #linux-rockchip
Tony_ has joined #linux-rockchip
levd has quit [Ping timeout: 245 seconds]
<AstralixNB> hello everyone...
levd has joined #linux-rockchip
<naobsd> Tony_: solved?
levd1 has quit [Ping timeout: 264 seconds]
antoinemaillard has joined #linux-rockchip
<Tony_> naobsd, no ... I'm confused.
<Tony_> from boot.img-raw to boot.img can work fine.
<Tony_> from file tree to boot.img can't work fine.
<Tony_> AstralixNB, hello.
<AstralixNB> Hey Tony_
<AstralixNB> Tony_ I use a separate boot.img and kernel.img as I need to change the one or the other frequently, depending on what I am doing.
<AstralixNB> So to unpack the boot.img, I do rkunpack boot.img so I have a boot.img-raw
<AstralixNB> Then I create an empty folder and cd into it like mkdir boot; cd boot
<AstralixNB> then I pull the content of the raw image like "cat ../boot.img-raw | gunzip | cpio -i"
<AstralixNB> after making changes, I repack just staying in the boot folder..
<AstralixNB> find . | cpio -o -H newc | gzip > ../boot-new.img
<AstralixNB> And don't forget to sign the resulting image before flashing it: rkcrc -k test-boot.img boot-new.img
<AstralixNB> ah in this case rkcrc -k boot-new.img boot.img
<AstralixNB> Here it was explained very simple:
mrcan has quit [Read error: Connection reset by peer]
mrcan has joined #linux-rockchip
<Tony_> I have not make it. so you can ask naobsd.
<Tony_> AstralixNB, I'm sorry.
<AstralixNB> reading the backlog, I thought you had troubles to create a modified boot.img?
<Tony_> Yep. I'm confusing.
<AstralixNB> hehe... yes you are...
<AstralixNB> So some questions...
<AstralixNB> Do you have separate kernel and boot images?
<Tony_> I want to create a boot images.
<AstralixNB> i know
<AstralixNB> do you have a kernel.img?
mrcan has quit [Quit: pai]
<Tony_> yep.
<Tony_> I don't need to separate kernel.img.
<Tony_> I have source of kernel.
<AstralixNB> As I wrote before it is easier to handle separate images for the first steps
<AstralixNB> Every step you take to process something might be a point of failure
<AstralixNB> So have a (kernel) partition in your parameter file and flash the kernel there.
<AstralixNB> Then take care of boot.img
<naobsd> Tony_: you didn't mention you're using kernel+ramdisk image (made by mkbootimg)
<naobsd> Tony_: are you really sure "I don't need to separate kernel.img."
<naobsd> ?
<Tony_> naobsd, I don't use kernel+ramdisk.
<Tony_> ramdisk only.
<Tony_> kernel is alone.
<naobsd> did you want to say "I already have working kernel.img",
<naobsd> ?
<Tony_> Yes.
<Tony_> I already have working kernel.img
<naobsd> in kernel partition
<Tony_> Yes again.
<naobsd> and just trying modified boot.img(ramdisk) in boot partition
mrcan has joined #linux-rockchip
mrcan has joined #linux-rockchip
<Tony_> Yes, again. And I use your boot.img can works fine.
<Tony_> miniroot.
<naobsd> can you upload non-working(modified) boot.img?
<Tony_> Yes, I could. but if I create from file tree.
<Tony_> It can't works fine.
<naobsd> upload != flash
<naobsd> I want to see it to get information
naobsd has quit [Ping timeout: 246 seconds]
Tony_ has quit [Remote host closed the connection]
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 260 seconds]
Tony_ has joined #linux-rockchip
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 255 seconds]
apritzel has joined #linux-rockchip
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 255 seconds]
levd1 has quit [Remote host closed the connection]
levd has joined #linux-rockchip
levd1 has joined #linux-rockchip
wildea01 has joined #linux-rockchip
levd has quit [Ping timeout: 264 seconds]
levd has joined #linux-rockchip
<Tony_> naobsd, actually, I haven't upload non-working(modified) boot.img alone.
<Tony_> before.
naobsd has joined #linux-rockchip
levd1 has quit [Ping timeout: 244 seconds]
Tony_ has quit [Remote host closed the connection]
levd has quit [Ping timeout: 265 seconds]
<naobsd> mm
naobsd has quit [Ping timeout: 246 seconds]
naobsd has joined #linux-rockchip
RayFlower has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
antoinemaillard has quit [Quit: antoinemaillard]
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
naobsd has quit [Quit: Page closed]
antoinemaillard has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
bengal has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
Omegamoon has joined #linux-rockchip
<AstralixNB> hey omegamoon :)
<Omegamoon> Hi there astralix
<AstralixNB> everything fine?
<Omegamoon> Busy as always
<AstralixNB> same here
<Omegamoon> Struggling to get the rtl8723bs bluetooth working currently
<AstralixNB> Which board?
<Omegamoon> Mk809iii
<AstralixNB> ... mainline kernel or which one?
<Omegamoon> No, this is on the 3.0.x branch
<AstralixNB> ah... so is it ON and communicating?
bengal has quit [Ping timeout: 244 seconds]
<Omegamoon> Yes, it is
<Omegamoon> But it is giving trouble downloading the firmware
<AstralixNB> Ah, we have this at least ... wait a second...
naobsd has joined #linux-rockchip
<Omegamoon> Would be nice if this is a 'known issue' which has been solved before
<AstralixNB> We struggled at the very same point some Weeks ago with an older KK and an Omni release. But after an update of the AOSP and Omni sources, the problem was just solved
<Omegamoon> Are the omni sources freely available?
<AstralixNB> We got stuck at the point where all chipsets load the firmware blob, except this RTL. Even it was handled the same and got the right rights.
<AstralixNB> Omni is available at their site
<Omegamoon> Could you point me to the known working source?
<AstralixNB> hmm... let me check
<AstralixNB> You probably might need this too
Tony__ has joined #linux-rockchip
<Omegamoon> Okay thank, I'll have a look
<AstralixNB> If you could provide some hwacc I check for the 809iii or 908iv
<Omegamoon> The links you mention are both android related... Do you have the kernel as well? Because that's the part that interests me the most :-)
<AstralixNB> unfortunately not open due to some licensing issue.
<AstralixNB> Still investigating that... But you should have access to that...
Omegamoon has quit [Ping timeout: 265 seconds]
nighty-_ 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
<naobsd> sleepy...
<AstralixNB> so take a hat full of sleep and sweet dreams
<naobsd> I want to finish dts work...
Tony__ has quit [Remote host closed the connection]
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
GriefNorth has quit [Ping timeout: 250 seconds]
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
cnxsoft has quit [Quit: cnxsoft]
markm_ has quit [Ping timeout: 264 seconds]
markm_ has joined #linux-rockchip
antoinemaillard has quit [Quit: antoinemaillard]
Danukeru has quit [Ping timeout: 250 seconds]
Danukeru has joined #linux-rockchip
antoinemaillard has joined #linux-rockchip
GriefNorth has joined #linux-rockchip
RayFlower has quit [Quit: RayFlower]
Pulp_ has joined #linux-rockchip
<Pulp_> Hello, i am trying to create boot.img for rk3288 following firefly wiki page
<Pulp_> but it won't boot :(
<Pulp_> extracted their linux-boot.img from 11.11 lubuntu img and it works fine
<Pulp_> kernel compilation went smooth, i did not do any config changes
<Pulp_> but it still won't boot .. maybe their git src is not working anymore?
<Pulp_> any help please?
<Pulp_> i even unpacked their boot.img and took their ramdisk from it
<Pulp_> but still , just a black screen..
pulp__ has joined #linux-rockchip
<pulp__> anyone alive?
Pulp_ has quit [Quit: Page closed]
<pulp__> greetings all ?
RayFlower has joined #linux-rockchip
<rperier> @dev: we received news from firefly, however no news from RR pro. Did you receive something ?
<rperier> hi btw
<pulp__> what kind of news?
RayFlower has quit [Read error: Connection reset by peer]
<mrueg> btw. is firefly box same formfactor as radxa rock dev board?
RayFlower has joined #linux-rockchip
antoinemaillard has quit [Quit: antoinemaillard]
antoinemaillard 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
<pulp__> can someone help me packing boot.img ?
<pulp__> i got zImage and initram, mkkrnlimg creates boot.img fine
<pulp__> but can't boot..
<pulp__> rk3288 .. anyone?
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
field^Mop has joined #linux-rockchip
<apritzel> pulp__: and you put the boot.img where? into the recovery partition?
<pulp__> i do ./upgrade_tool di -b boot.img
<pulp__> if i use firefly original boot.img, it works fine
<pulp__> but not with one i made
<apritzel> pulp__: what does "can't boot" mean?
<apritzel> you see nothing?
<pulp__> black screen
<pulp__> not even splash
<pulp__> apritzel, got any kernel that u managed to compile and boot than ?
<pulp__> i might be just doing smth wrong .. once i compiled kernel
<apritzel> no (that's what I am debugging right now)
<apritzel> experience shows that self compiled ARM kernels tend to be very picky
<pulp__> i have no experience with mkkrnlimg tool
<pulp__> my kernel is just firefly default config
<pulp__> no changes so far (i am planning to, but to start i need one that boots with their config)
<pulp__> i followed their wiki 1:1 ..
<apritzel> i didn't use that, but rkflashtool
<pulp__> how did u make boot.img than ?
<pulp__> after compile u get zImage and kernel.img, right ?
antoinemaillard_ has joined #linux-rockchip
<pulp__> OBJCOPY arch/arm/boot/zImage
<pulp__> Kernel: arch/arm/boot/zImage is ready
<pulp__> Image: kernel.img is ready
<pulp__> Pack to resource.img successed!
<pulp__> Image: resource.img (with firefly-rk3288.dtb logo.bmp) is ready
<pulp__> root@sam:/usr/src/firefly-rk3288-kernel# ls -lah kernel.img
<pulp__> -rw-r--r-- 1 root root 6,0M Dez 9 15:02 kernel.img
<pulp__> root@sam:/usr/src/firefly-rk3288-kernel# ls -lah resource.img
<pulp__> -rw-r--r-- 1 root root 115K Dez 9 15:02 resource.img
<pulp__> mkbootimg --kernel arch/arm/boot/zImage --ramdisk ../initrd.img -o boot.img
<pulp__> root@sam:/usr/src/firefly-rk3288-kernel# ls -lah boot.img
<pulp__> -rw-r--r-- 1 root root 11M Dez 9 15:05 boot.img
<apritzel> I use rkcrc to wrap the kernel zImage manually
<pulp__> so 1 thing i noticed : firefly boot.img is just 8.5Mb, and it was strange (not 11mb)
<pulp__> i than unpacked their image and found 6.2MB kernel.img inside and rest is ramdisk
<pulp__> i took their ramdisk (from unpacked boot.img) and used mkkrnimg with that
<pulp__> size is correct now (8.5mb) but still can't boot
antoinemaillard has quit [Ping timeout: 265 seconds]
antoinemaillard_ is now known as antoinemaillard
<apritzel> are you using the same dtb?
<pulp__> i am not sure
<pulp__> i dont use resource.img , i only replace boot.img
<apritzel> then it should be the same
<pulp__> what are u using ?
<pulp__> rk31/rk32?
<pulp__> i am sure i miss smth, it can't be so hard to have a working kernel
Omegamoon has joined #linux-rockchip
<apritzel> rk3288 dev board
<apritzel> pulp__: have you tried to enable early_printk?
<pulp__> enabled
<pulp__> come on, its not booting, otherwise i would see a splash, right ?
<pulp__> on firefly i see their splash
wildea01 has quit [Quit: leaving]
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
Omegamoon has quit [Ping timeout: 265 seconds]
AstralixNB has quit [Ping timeout: 250 seconds]
antoinemaillard has quit [Ping timeout: 240 seconds]
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 [Client Quit]
apritzel has quit [Ping timeout: 250 seconds]
RayFlower has joined #linux-rockchip
pulp__ has quit [Quit: Ex-Chat]
gb_master has joined #linux-rockchip
<field^Mop> Astralix: thx, good to know! :)
GriefNorth has quit [Ping timeout: 245 seconds]
Omegamoon has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
<Astralix> Hi field^Mop
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
ferric has quit [Ping timeout: 245 seconds]
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
AstralixNB has joined #linux-rockchip
AstralixNB1 has joined #linux-rockchip
AstralixNB has quit [Ping timeout: 250 seconds]
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
<field^Mop> Tony_: how to extract/rebuild boot.img? there is even an article in the knowledge base: http://linux-rockchip.info/mw/index.php?title=Rkutils
<field^Mop> Astralix: hi
<field^Mop> thx again. :)
<Astralix> welcomed. Yopu're writing the docs, so I have to thank you :)
RayFlower has quit [Quit: RayFlower]
<Astralix> field^MOP, can I make some comments on the bootloader writings?
<field^Mop> well, thx ;), the last bits give me a hard time. it's a lot to sort out
<field^Mop> after that, i'll be up to you fellows to do the proofreading..
<Astralix> Ask whenenver you have doubts. If I cannot help, I find out what you needm or whom you ask
<Astralix> Ok first a correction:
<field^Mop> Astralix: comments in the wiki or right here? ;) of course, right ahead!
<Astralix> just a second, have open about 105 tabs, need to find the right one
<field^Mop> Astralix: hehe..
<Astralix> First section, the link to the arctablet loader collection has some trailing characters, so the link ends at 404
<Astralix> Important Note No 1:
<field^Mop> whoo, thx! i noticed that kind of problem with some links and corrected them. obviously, i did not verify every single link, so thx for that!
<Astralix> Same with the to radxa
<Astralix> %7C at the end
<Astralix> Ok, for the Loader....
<Astralix> 1st the Loader binary itself must roughly match the kernel driver (rknand_ko.ko)
<Astralix> 2nd the Loader must match the CPU
<Astralix> 3rd the kernel module must match the kernel release 3.0.8+ or 3.0.36+
<field^Mop> Astralix: saw it, all the links hat the pipe sign. my fault
ferric has joined #linux-rockchip
<Astralix> just tell when you're ready
<Astralix> After Important Note 1 I would add Note 2 telling:
<field^Mop> Astralix: ok, links in header should be fixed now.
<field^Mop> next?
<Astralix> Yust read above :)
<Astralix> The Loader initializes DRAM and Flash memory. By trying a different Loader version it may happen, that the chips on the board are not covered by the Loader tried.
<Astralix> So alway ensure that you have a backup or at least an original firmware image of your device.
<Astralix> Important Note 3
<Astralix> is obsolete...
<Astralix> May be you can add to note 1 that in original rockchip kernels, the rknand_ko.ko are saved as
<Astralix> rknand_ko.ko.3.0.8+ and rknand_ko.ko.3.0.36+
<Astralix> The kernel is modified to test the following sequence:
<field^Mop> Astralix: lol, sure? double .ko.o?
<field^Mop> +k
<Astralix> yes
<field^Mop> ok
<field^Mop> strange
<Astralix> If there is a modprobe rknand_ko.ko the kernel tries loading this module. If it fails, it attaches its own kernel version to the name and tries again.
<field^Mop> ok
<field^Mop> i'll add those lines and you tell me whether thats what you mean, ok?
<Astralix> With that you can build an android, that runs on 3066 with kernel 3.0.8+ as well as on 3188 with kernel 3.0.36+ without changing anything in the Android
<Astralix> Just add it in so the page keeps your style. If something is wrong, I can edit it for minor corrections.
<field^Mop> t8
<field^Mop> r8
<field^Mop> Astralix: what about the rkxxxxnand.ko module? same _ko.ko stuff?
<Astralix> With loader one, there where two modules per chip for each kernel version.
<Astralix> With the current loader two version, there are only two modules, one for each kernel version.
<field^Mop> okaaaayy.. that important note will evolve ..
<field^Mop> how could we name a new section replacing the two notes? something about bin bootloader prerequisites?
<field^Mop> binary dependency.. matching..
<Astralix> What's important to know before wressling with the Loaders?
<Astralix> :)
<Astralix> "Important details about the Loader"
<field^Mop> :)
<Astralix> If you covered that, there are some technical traps in the text about the "how it works"
<field^Mop> Astralix: note aside: what you told me about the idb topic, that might rightuously go to in that bin bootloader section, too?
<field^Mop> ok, give me some minute
<field^Mop> Astralix: clarification: ver 2 loader came with one kernel module per kernel version?
<field^Mop> Astralix: (as there are two kernel versions distributed (..8 and ..36+) it's two modules available?)
<Astralix> yes: Loader 1: one module per SOC and per kernel, later it changed to one module per kernel version only
<field^Mop> Astralix: r8. thx
<Astralix> The loader package supplied by RK to any SDK is always a Loader per SOC and a module per kernel version
<field^Mop> Astralix: so, ver2 loader: one kernel module per soc _and_ per kernel version, obviously.
<field^Mop> Astralix: which one is it? rknand or rkxxxxnand?
<Astralix> no... Loader Version 2 has one Loader per SOC and one module per kernel
<Astralix> So if you think of 3066 and 3188 at Loader 1
<Astralix> you have RK3066Loader(L)_v1.xx.img and RK3188Loader(L)_v1.xx.img
<Astralix> And you have
<Astralix> rk30xxnand_ko.ko.3.0.8+, rk30xxnand_ko.ko.3.0.36+
<Astralix> rk31xxnand_ko.ko.3.0.8+, rk31xxnand_ko.ko.3.0.36+
<field^Mop> ok
<Astralix> In Loader 2 this is the same for the Loader image, but there are only two modules, one generic for kernel 3.0.8+ and one for 3.0.36+ but for all SOCs
<field^Mop> ok, maybe a grasped it this time. you'll notice.. ;) thx!
<Astralix> hasn't there been an online service, where you can edit a single document from multiple parties at the same time?
<field^Mop> Astralix: sure, but not for mediawiki, afaik
<Astralix> However
<Astralix> Tell me when you have a first version
ferric has quit [Ping timeout: 256 seconds]
<field^Mop> yep
ferric has joined #linux-rockchip
gb_master has quit [Quit: Leaving]
ferric has quit [Ping timeout: 264 seconds]
ferric has joined #linux-rockchip
<Astralix> So, ready for some Loaer deatils?
<Astralix> details?
<field^Mop> Astralix: saved the unfinished work, have to go, will continue later!
<field^Mop> cu
<Astralix> Sure, cu
ferric has quit [Ping timeout: 250 seconds]
bengal has joined #linux-rockchip
naobsd has quit [Quit: Page closed]
<field^Mop> re
ferric has joined #linux-rockchip
bengal has quit [Ping timeout: 264 seconds]
ferric has quit [Ping timeout: 245 seconds]
AstralixNB1 has quit [Ping timeout: 250 seconds]
dlezcano has quit [Quit: Leaving]
dlezcano has joined #linux-rockchip
<field^Mop> Astralix: ok, your input got added.
<field^Mop> that did help me a lot to get to know the details. excellent.
<field^Mop> Astralix: tomorrow, loader details? btw, it is this exact section that still needs work to be done. as of now, it is rather a paraphrased and slightly cleaned up irc log.
<field^Mop> afk
ferric has joined #linux-rockchip
ferric has quit [Ping timeout: 256 seconds]
field^Mop has quit [Ping timeout: 260 seconds]