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