afaerber_ has joined #linux-exynos
afaerber has quit [Ping timeout: 250 seconds]
MrBIOS has joined #linux-exynos
<MrBIOS> good morning
liquidAcid has joined #linux-exynos
<si1v3r_> Morning.
<si1v3r_> So when you build your uimages, I'm assuming make uImage is being used. Does it ask for a load address?
<si1v3r_> I think I've been using the wrong one as it behaves the same when I change the value.
<libv> si1v3r_: isn't that what uboot does for you?
<libv> ah, exynos, nm me
* libv switches to the other channel
<si1v3r_> eh?
phariseo has joined #linux-exynos
<phariseo> OK Wizzup, so it turned out
<phariseo> that problem is with TPS65090 power management stuff, when I disabled it, screen isn't going off
<si1v3r_> with a defconfig?
<phariseo> but there is also problem with MMC mounting, which is connected with bug which came in with 3.15 or early 3.16, if I read correctly
<phariseo> yes, I made full defconfig prior to compilation
<si1v3r_> You're ahead of me btw. I'm having the screen blank issue or a boot loop on every attempt.
<phariseo> aha, it is the same!
<phariseo> you have to disable TPS65090 in menuconfig..
<phariseo> then it won't go off
<phariseo> hmm
<si1v3r_> And then you see a pair of penguins?
<phariseo> yes!
<phariseo> it ends on kernel panic because of rootfs can't be mounted, but at least kernel don't go crazy.
<phariseo> lack of rootfs mount is caused by bug in mmc driver, which came in lastly
<phariseo> I have read about it on some linux mailing list
<phariseo> which version are you trying to compile...?
<si1v3r_> I've been trying 3.16
<si1v3r_> vanilla
<si1v3r_> tried the linux-exynos one too but that had the same result.
<si1v3r_> Mounting a rootfs should be work-around-able.
<si1v3r_> If it doesn't like mmcs, maybe try usb.
<phariseo> hmm, I must try it
<phariseo> anyway, try to compile without that TPS support
<phariseo> I give 99% it will boot then
<si1v3r_> That is quite tempting...
<si1v3r_> and I do need to take a break for breakfast.
<phariseo> haha, me too!
<phariseo> in Poland it is 8P.M. now, so time for last food now ;-).
<si1v3r_> So you did git clone --depth 1 https://github.com/linux-exynos/linux.git -b dts-config linux ?
<si1v3r_> 11am here
<phariseo> hmm, not exactly!
<phariseo> I gathered kernel from kernel.org
<si1v3r_> Otherwise stock?
<si1v3r_> I've never actually had a kernel working without an oldconfig, so this is all new to me.
<phariseo> yes, totally stock one
<si1v3r_> Man I'd trade ya problems in a heartbeat. rootfs issues would be seeing light at the end of the tunnel.
<phariseo> :D haha
<phariseo> ok, have a nice meal! I will eat something too
<si1v3r_> night
<si1v3r_> Compiling with the regulator disabled
<Wizzup> SJRvanSchaik: how up to date is our github repo?
Wizzup has quit [Quit: bbl]
phariseo has quit [Read error: Connection reset by peer]
<MrBIOS> is anyone here interested in having access to (either permanently or on loan) an Arndale Octa board?
phariseo has joined #linux-exynos
<si1v3r_> Does it have sata?
<MrBIOS> no SATA
<si1v3r_> eh, not useful for me then.
<si1v3r_> I need a fun fileserver
<MrBIOS> fair enough
<MrBIOS> it has USB3 though
<si1v3r_> That and a hub to some usb3->sata adapters would be fun in a 1u rack enclosure...
afaerber_ is now known as afaerber
<si1v3r_> Should LOADADDR=0x40008000 work?
<liquidAcid> si1v3r_, should
<si1v3r_> Ok I'll fart around with uboot some more then.
<si1v3r_> when I run mkimage -l against the uImage I got it doesn't say it's a FIT image. Is that a problem?
<si1v3r_> Would I be better off using the zImage and an its file to make the uimage?
<liquidAcid> make uImage
<liquidAcid> (with LOADADDR)
<liquidAcid> that should be all you need
<si1v3r_> Ok, so I should be good there then.
<si1v3r_> How about from the uboot side? The commands used to launch the arch linux compile of the chromeos 3.4 kernel do not seem to work.
<si1v3r_> Is that info good?
<si1v3r_> I ran setenv bootargs 'console=tty1 rw debug earlyprintk rootfstype=ext4 rootwait root=/dev/mmcblk0p3'
<si1v3r_> Then ext2load mmc 0:2 0x40008000 /vmlinux.uimg
<si1v3r_> then bootm
<si1v3r_> Does the same thing. blanks screen.
phariseo has quit [Ping timeout: 255 seconds]
phariseo has joined #linux-exynos
<phariseo> when you use snow uboot
<phariseo> simplefb one
<phariseo> then type env default -f
<phariseo> to load default for that uboot ones
<phariseo> and then modify them by setenv etc.
<si1v3r_> So loading the defaults will nuke whatever custom scripts were in place?
<si1v3r_> so right now I go printenv and a ton lists out.
<phariseo> yes, if you write them to flash (saveenv)
<phariseo> if you don't write them to flash, they will only retain until reboot
<si1v3r_> I typed env default -f and nothing seemed to change
<si1v3r_> printenv shows the same stuff
<phariseo> hmm, do you have simplefb uboot?
<si1v3r_> yar
<si1v3r_> Well, actually... let me check
<si1v3r_> I used the arch default one
<phariseo> oopsss.
<phariseo> it won't work with mainline kernel!
<phariseo> let me see... I have 48kb/s internet actually, so it will take a moment.
<si1v3r_> No worries, I'm still reading up on it.
<phariseo> take a look there
<phariseo> you need simplefb one
<phariseo> but make yourself some backups
<phariseo> because simplefb uboot won't work with arch default kernel
<phariseo> I personally recommend to make images of mmcblk1p1 and mmcblk1p2 to root filesystem, and if something doesn't work, you can just restore them with dd
liquidAcid has quit [Quit: Leaving]
<si1v3r_> phariseo: no need
<si1v3r_> All data disposable
<si1v3r_> I have scripts to replace everything on the emmc
<phariseo> that's ok then!
<si1v3r_> Ok, flashed
<si1v3r_> rebooting again for maximum lolcannonz.
<phariseo> :D
<si1v3r_> Ok so that didn't work, but it didn't blank the screen either.
<si1v3r_> Last thing on the screen was "stashed 22 records"
<phariseo> hmm
<phariseo> interesting
<phariseo> which kernel version is it...?
<si1v3r_> 3.16 r7
<si1v3r_> rc7
<phariseo> hmm, same as me
<phariseo> but mine booted
<phariseo> maybe you haven't included something
<phariseo> give me a moment
<si1v3r_> Thanks
<phariseo> catch that one!
<phariseo> in "Kernel configuration" section, select same as that guy
MrBIOS has quit [Ping timeout: 260 seconds]
<si1v3r_> ran
<si1v3r_> env default -f
<si1v3r_> saveenv
<si1v3r_> now it says it cannot find a device tree, which means it's looking for it, which seems good.
<phariseo> aha, that's OK
<phariseo> have you copied it?
<si1v3r_> yeah it's in /boot
<si1v3r_> er, the ext2 part at mmc0p2
<phariseo> hmm, exynos5250-snow.dtb?
<phariseo> OK, so you must just point uboot correctly if it is that
<si1v3r_> Looks like it's hardcoded for mmc1
<si1v3r_> and It's looking for root on p4
<phariseo> hmm, couldn't be!
<phariseo> use printenv
<phariseo> then you can correct that script
<si1v3r_> I am. Will walk through it.
<phariseo> by setenv
<phariseo> that's ok
<si1v3r_> no way to edit a uboot line? Gotta retype it all?
<si1v3r_> GREAT GOOGLY WOOGLY I HAVE BOOTAGE TO X
<phariseo> yes, you have to retype
<phariseo> unfortunately :D
<phariseo> what?! it booted? :D
<si1v3r_> ya!
<phariseo> nice dude!
<si1v3r_> But my bashrc is killing it. heh
<phariseo> have you disabled that tps65090?
<phariseo> or it works anyway?
<si1v3r_> that was the only change I made
<si1v3r_> yep
<phariseo> hmm, nice! :D
<phariseo> rootfs from mmc?
<phariseo> or USB?
<si1v3r_> emmc
<phariseo> aha, hmm
<phariseo> so, we're good to go
<si1v3r_> Sha wing.
<si1v3r_> Yep. Time to screw with wifi for a while I guess.
<phariseo> is it detected or not...?
<si1v3r_> Looks like I'm missing a few modules I need
<phariseo> aha
<phariseo> mwifiex and mwifiex_sdio
<phariseo> OR they haven't updated dts yet
<phariseo> in 3.16
<si1v3r_> I don't have that module
<si1v3r_> Will have to seek it out and recompile
<phariseo> aha, so add it and tell if it works
<phariseo> device drivers -> network -> wireless and marvell blablabla
<phariseo> and then marvell SD or something like that
<si1v3r_> Hang on... so kernel hacking is just tweaking options in make menuconfig until it works???
<phariseo> partly... :D haha
<si1v3r_> heh
<phariseo> I always liked that feeling when configuring kernel :D
<phariseo> in menuconfig
<phariseo> first kernel compiled was on 486DX 33mhz laptop
<phariseo> slackware linux
<phariseo> kernel compiling 13 hours :D
<si1v3r_> mine was slackware too!
<si1v3r_> pentium 2 233
<si1v3r_> took about 6 hours
<phariseo> :D haha, good to know!: D
<phariseo> I started with slackware when I was ten (20 now)
<phariseo> ahh, that distro was nice
<phariseo> IMO similar way is Archlinux now
<si1v3r_> Roughly same
<si1v3r_> arch is quite different imho
<phariseo> yes, but idea
<phariseo> of simplicity
<si1v3r_> I still run slack on my fileserver
<phariseo> giving a power to user
<phariseo> is similar like slackware...
<phariseo> I never used ubuntu or other "fully-fledged" distros
<si1v3r_> I can't file the option for the wifi card. arg
<phariseo> now Archlinux with fluxbox
<phariseo> *find?
<si1v3r_> I don't like desktops
<phariseo> have you enabled mac80211 in network options?
<si1v3r_> just did, along with a few other things
<si1v3r_> huh. booted.
<si1v3r_> still no wifi though
<si1v3r_> K messed it all up. doing a mrproper and starting over
<si1v3r_> Anyway, this is great. Thanks for the help.
phariseo has quit [Ping timeout: 260 seconds]
MrBIOS has joined #linux-exynos
MrBIOS- has joined #linux-exynos
MrBIOS has quit [Ping timeout: 255 seconds]
MrBIOS- is now known as MrBIOS
<si1v3r_> hahaha. Build would fail if I let my device turn the screen off.