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
sunilmohan has quit [Ping timeout: 276 seconds]
sunilmohan has joined #linux-rockchip
Fighter19 has quit [Ping timeout: 260 seconds]
cnxsoft has joined #linux-rockchip
<naobsd> "[U-Boot] [PATCH 0/2] Add sdram capacity auto detect for rk3288" wow very nice :)
<naobsd> oops
<naobsd> u-boot CONFIG_ENV_OFFSET can differ by configuration/board!? I think it should be same if SoC is same at least...
<naobsd> I should make more time to try recent u-boot/kernel :(
sunilmohan_ has joined #linux-rockchip
sunilmohan has quit [Ping timeout: 276 seconds]
<vagrantc> naobsd: if only it didn't fail to build
vagrantc has quit [Quit: leaving]
<naobsd> of course
FergusL has quit [Remote host closed the connection]
irsol has quit [Ping timeout: 265 seconds]
irsol has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
ayaka has quit [*.net *.split]
cyrozap has quit [*.net *.split]
steev has quit [*.net *.split]
mnemoc has quit [*.net *.split]
topi` has quit [*.net *.split]
rperier has quit [*.net *.split]
Kruppe has quit [*.net *.split]
robogoat has quit [*.net *.split]
eebrah has quit [*.net *.split]
bbelos has quit [*.net *.split]
anatoly_ has quit [*.net *.split]
sjg1_ has quit [*.net *.split]
msgctl has quit [*.net *.split]
tyler-baker has quit [*.net *.split]
aalm has quit [*.net *.split]
indy has quit [*.net *.split]
RayFlower has quit [*.net *.split]
arnd has quit [*.net *.split]
pozzoni has quit [*.net *.split]
GekkePrutser has quit [*.net *.split]
ojn has quit [*.net *.split]
tizbac has quit [*.net *.split]
ChanServ has quit [*.net *.split]
mrutland has quit [*.net *.split]
dowu has quit [*.net *.split]
ssvb has quit [*.net *.split]
mrueg has quit [*.net *.split]
tlwoerner has quit [*.net *.split]
chris2 has quit [*.net *.split]
busterbcook has quit [*.net *.split]
vetkat has quit [*.net *.split]
arield has quit [*.net *.split]
pulser has quit [*.net *.split]
fireglow has quit [*.net *.split]
utente_ has quit [*.net *.split]
andoma has quit [*.net *.split]
fungi has quit [*.net *.split]
sunilmohan_ has quit [*.net *.split]
zzarr has quit [*.net *.split]
nashpa has quit [*.net *.split]
betheynyx has quit [*.net *.split]
azend|vps has quit [*.net *.split]
cosm has quit [*.net *.split]
twink0r has quit [*.net *.split]
karasz has quit [*.net *.split]
sunxi_fan has quit [*.net *.split]
srao has quit [*.net *.split]
lerc has quit [*.net *.split]
fullstop has quit [*.net *.split]
naobsd has quit [*.net *.split]
fischerm has quit [*.net *.split]
vickycq has quit [*.net *.split]
irsol has quit [*.net *.split]
VargaD has quit [*.net *.split]
lvrp16 has quit [*.net *.split]
Ancient has quit [*.net *.split]
karlp has quit [*.net *.split]
nighty has quit [*.net *.split]
ganbold has quit [*.net *.split]
stdint has quit [*.net *.split]
wens has quit [*.net *.split]
diego71_ has quit [*.net *.split]
huawei has quit [*.net *.split]
bamvor has quit [*.net *.split]
dianders has quit [*.net *.split]
eballetbo has quit [*.net *.split]
xming_ has quit [*.net *.split]
cnxsoft has quit [*.net *.split]
linux-rockchip has quit [*.net *.split]
akaizen has quit [*.net *.split]
_jungh4ns has quit [*.net *.split]
libv has quit [*.net *.split]
via has quit [*.net *.split]
maz has quit [*.net *.split]
mac- has quit [*.net *.split]
Bad_UID has quit [*.net *.split]
mmind00 has quit [*.net *.split]
norris has quit [Ping timeout: 250 seconds]
_whitelogger has joined #linux-rockchip
_whitelogger has quit [Excess Flood]
_whitelogger has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
sunilmohan has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
sunilmohan has quit [Ping timeout: 250 seconds]
_whitelogger has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
nashpa has joined #linux-rockchip
sunilmohan has joined #linux-rockchip
akaizen has joined #linux-rockchip
huawei has joined #linux-rockchip
libv has joined #linux-rockchip
linux-rockchip has joined #linux-rockchip
eebrah has joined #linux-rockchip
robogoat has joined #linux-rockchip
Kruppe has joined #linux-rockchip
sunilmohan has quit [Quit: No Ping reply in 180 seconds.]
JohnDoe_71Rus has joined #linux-rockchip
sunilmohan has joined #linux-rockchip
steev has joined #linux-rockchip
afaerber has joined #linux-rockchip
<stdint> mmind00, sorry to forget that
<mmind00> stdint: no problem :-)
<stdint> mmind00, but should I resend one with all the Acked-by
<mmind00> stdint: nope ... i.e. it's the maintainers work to collect Acks that were received for a series, you just cannot expect that person to go through all past versions to collect old tags
<stdint> I would be more careful next time
<mmind00> stdint: as I said, no problem ... it's all a learning process and nobody will bite your head off ;-)
<stdint> I really do that a little frequently :P
JohnDoe_71Rus has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
erc has joined #linux-rockchip
FergusL has joined #linux-rockchip
dlezcano has joined #linux-rockchip
cnxsoft1 has joined #linux-rockchip
cnxsoft1 is now known as cnxsoft
dlezcano has quit [Ping timeout: 260 seconds]
JohnDoe_71Rus has joined #linux-rockchip
sunilmohan has quit [Quit: No Ping reply in 180 seconds.]
sunilmohan has joined #linux-rockchip
Guest24437 has joined #linux-rockchip
Guest24437 is now known as helper86
helper86 has left #linux-rockchip ["Konversation terminated!"]
erc has quit []
premoboss has joined #linux-rockchip
<zzarr> hello!
<zzarr> I'm debugging the boot sequense of my Firefly RK3288
<zzarr> It's stuck at A start job is running for dev-ttyFIQ0.device
<zzarr> it waits for 1:30 mins and then times out
erc has joined #linux-rockchip
<zzarr> it looks to me as if there's a problem with the boot partition
<zzarr> and it makes sense since I have not built it for the correct kernel (I just realized)
Fighter19 has joined #linux-rockchip
<zzarr> ohh... it boot's wrong kernel...
<zzarr> how do I build a boot.img?
<Fighter19> The Boot.img is normally a Kernel + Ramdisk
<Fighter19> you need mkbootfsimg for that (often a special version for Rockchip)
<Fighter19> This works for me
<Fighter19> I wasn't there before, how does it boot the wrong Kernel?
<Fighter19> wrong in like the stock Kernel?
dlezcano has joined #linux-rockchip
<Fighter19> You can find many information about the bootup sequence on this site.
<Fighter19> Are you trying to build an Android boot.img?
<zzarr> hello Fighter19 I want Ubuntu to run on my RK3288
<zzarr> so basically I need to get myself a rk3288-mkbootimg command
<zzarr> how do I make a ram-disk?
<Fighter19> Ubuntu or Ubuntu Touch?
<zzarr> Ubuntu
<Fighter19> I think the rk30 version should work as well.
<Fighter19> it did for my rk31 board
<Fighter19> you can find out the "command" by using unmkbootimg
<Fighter19> Unpack the stock boot.img with it
<Fighter19> then you know how to repack it.
<zzarr> I found a mkbootimg that works (the official one)
<Fighter19> Are you sure?
<Fighter19> It doesn't report any problems
<Fighter19> but it might still not work.
<Fighter19> (e.g strange page sizes are not supported, offsets might get screwed up etc)
<zzarr> is this not the official one? https://github.com/neo-technologies/rockchip-mkbootimg
<Fighter19> You can check it if unmkbootimg outputs the same values.
<zzarr> yea
<zzarr> I should tell... this is the first time I build a boot.img on my own
<Fighter19> That one should be fine as well
<Fighter19> I just compared the source of both
<zzarr> so if I make beginner mistakes that's why
<Fighter19> and it looks like its ok
<zzarr> nice and quick
<Fighter19> I'm a beginner as well, but I can still tell you how to build it ;)
<zzarr> yes
<zzarr> :)
<zzarr> is the initramdisk a part of the kernel source?
<Fighter19> ramdisk is not exactly the same thing as initramfs ;)
<Fighter19> That's one thing I discovered
<Fighter19> Yes i think initramfs gets linked into the kernel (not sure about that)
<Fighter19> But the ramdisk is a filesystem which is like a partition beside the Kernel.
<Fighter19> That's how I understood it.
<zzarr> my question is basically where should I get that filesystem from?
<Fighter19> I build a boot.img (kernel+ramdisk) by using this command mkbootimg --pagesize 16384 --base 0x60400000 --ramdiskaddr 0x62000000 --secondaddr 0x60f00000 --tagsaddr 0x60088000 --kernel kernel --ramdisk recovery/newramdisk.cpio.gz -o recoverybuntumod.img
<Fighter19> Uh normally you generate it using a command under Linux
<zzarr> okey
<zzarr> the mkinitramfs command right?
<Fighter19> well it can't work for ARM
<Fighter19> if you use it under your Intel machine
<Fighter19> So I'll have to think a little xD
<zzarr> that's no supprise
<zzarr> would another armbased device do the trick?
<Fighter19> only if it's the exact same type of arm device
<Fighter19> (Check that by uname)
<Fighter19> I think there are prebuilt ramdisks on the Ubuntu server
<Fighter19> need to check that first though.
<Fighter19> But yeah, it would be that command.
<zzarr> I have 2 devices that perhaps could help, the ASUS Chromebook Flip (RK3288) and my Miezu MX4 Ubuntu Edition phone
<Fighter19> Yeah you could look it up on the ASUS
<Fighter19> it needs to run ubuntu tough
<Fighter19> The kernel which you have built, do you know if you get a framebuffer console?
<Fighter19> Because without a console it's pretty hard to tell what's going wrong
<Fighter19> (Which is the problem I have with rk3188)
<zzarr> I don't get a framebuffer console with the chromebook's kernel
<zzarr> why can't I fix it from the debug uart?
<zzarr> I'll have a look at something
<zzarr> yea, as I thought, I have a initrd.img for the older kernel
<zzarr> is it kernel version specific?
<Fighter19> If you have access to the UART
<Fighter19> it's fine
<Fighter19> (I don't and I'm pretty screwed)
<zzarr> I do
<zzarr> I entisipated that I needed it
<Fighter19> Did you also check that it's already working?
<zzarr> that what
<zzarr> what's already working I mena
<zzarr> mean*
<Fighter19> I mean, you've connected it to the UART port on your device, no?
<zzarr> the arm rest on my chair nocked the keyboard
<Fighter19> :/
<zzarr> yes, it works
<Fighter19> So you get the log, well great.
<zzarr> yes
<zzarr> works great and is stable :)
<zzarr> it shows up as /dev/ttyUSB0
<zzarr> so I just run "sudo screen /dev/ttyUSB0 115200"
<Fighter19> Great.
<Fighter19> Well the only suggestion i found towards building the initramfs is to actually chroot through qemu
<Fighter19> and build it that way :/
<zzarr> I wonder is it kernel version specific?
<Fighter19> Yup
<Fighter19> I guess so
<Fighter19> But you can build from another kernel version
<Fighter19> as soon as you copy the config over
<Fighter19> That's how I understand it.
<zzarr> ohh
<Fighter19> Given this
<zzarr> I see, but not another architecture?
<Fighter19> Yeah, well only through an emulator
<Fighter19> but it should work that way
<Fighter19> however I have no clue how to chroot with qemu
<zzarr> you can't chroot
<Fighter19> Well, you have a (theoretically) working Ubuntu image, no?
<zzarr> chroot uses the same kernel i the guest as the host
<zzarr> yes
<zzarr> I downloaded the ubuntu-base image for arm
<Fighter19> ARMv7l probably?
<Fighter19> The emulator could chroot (chrooting is independend from the Kernel Version, and you emulate the architecture so that shouldn't be a problem) into that image, and build the initramfs for you.
<zzarr> armhf I think it's usually v7 yes
<zzarr> I'll be back in a few minutes, going to fetch my laundry
<zzarr> I have seen that, it's interesting, the linux kernel have support for launching foreign elf's
<Fighter19> Ah, sorry got to do something for a while as well.
<zzarr> I'm back, that's alright
<zzarr> thank's for your help
<zzarr> I think binfmt is the name of a useful command
<Fighter19> I'm also back now.
Atomic_3WUKv has joined #linux-rockchip
<zzarr> I'm going to a friend now, good luck with your board and I do recommend a USB -> UART adapter so you can debug
<Fighter19> The problem is not really that I woudln't have a UART to USB adapter, but more that I probably can't open my device (it seems glued)
<Fighter19> Anyway I'm already buying an adapter for another board I have.
<Fighter19> Have a nice day, then!
<Fighter19> nvm. Found a tutorial which tells how to open it ^^
<Fighter19> Sometimes just googling, instead of assuming proves to be more useful.
dlezcano has quit [Ping timeout: 260 seconds]
cnxsoft has quit [Quit: cnxsoft]
<zzarr> I'm sitting on a bus now, nice
dlezcano has joined #linux-rockchip
dlezcano has quit [Ping timeout: 260 seconds]
Fighter19 has quit [Ping timeout: 260 seconds]
JohnDoe5 has joined #linux-rockchip
JohnDoe_71Rus has quit [Ping timeout: 265 seconds]
paulk-collins has joined #linux-rockchip
Atomic_3WUKv has quit [Read error: Connection reset by peer]
dlezcano has joined #linux-rockchip
dlezcano has quit [Ping timeout: 260 seconds]
dlezcano has joined #linux-rockchip
sunilmohan has quit [Ping timeout: 265 seconds]
dlezcano has quit [Ping timeout: 260 seconds]
sunilmohan has joined #linux-rockchip
sunilmohan has quit [Changing host]
sunilmohan has joined #linux-rockchip
dlezcano has joined #linux-rockchip
sunilmohan has quit [Ping timeout: 255 seconds]
sunilmohan has joined #linux-rockchip
sunilmohan has quit [Changing host]
sunilmohan has joined #linux-rockchip
dlezcano has quit [Ping timeout: 260 seconds]
paulk-collins has quit [Ping timeout: 265 seconds]
Fighter19 has joined #linux-rockchip
paulk-collins has joined #linux-rockchip
JohnDoe5 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
Fighter19 has quit [Quit: Verlassend]
vagrantc has joined #linux-rockchip
paulk-collins has quit [Quit: Leaving]
fireglow- has joined #linux-rockchip
fireglow- is now known as fireglow
busterbcook has joined #linux-rockchip
busterbcook has quit [Changing host]
busterbcook has joined #linux-rockchip
premoboss has quit [Ping timeout: 260 seconds]
premoboss has joined #linux-rockchip
busterbcook has quit [Quit: Bye]
busterbcook has joined #linux-rockchip
busterbcook has joined #linux-rockchip
busterbcook has quit [Changing host]
busterbcook has quit [Ping timeout: 260 seconds]
busterbcook has joined #linux-rockchip
busterbcook has joined #linux-rockchip
busterbcook has quit [Changing host]
utente_ has joined #linux-rockchip
premoboss has quit [Ping timeout: 240 seconds]