mnemoc changed the topic of #linux-sunxi to: Allwinner/sunxi development discussion - did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait! - https://github.com/linux-sunxi/ - Logs at http://irclog.whitequark.org/linux-sunxi
orly_owl has joined #linux-sunxi
bertrik has quit [Ping timeout: 252 seconds]
tinti has joined #linux-sunxi
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
jebba has joined #linux-sunxi
FreezingCold has quit [Ping timeout: 258 seconds]
ZetaNeta has quit [Ping timeout: 252 seconds]
kaspter has joined #linux-sunxi
cajg has quit [Ping timeout: 252 seconds]
popolon has quit [Quit: Quitte]
cajg has joined #linux-sunxi
tomcheng76 has quit [Quit: leaving]
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
Andy-D has quit [Ping timeout: 276 seconds]
rz2k has joined #linux-sunxi
woprr has quit [Ping timeout: 252 seconds]
woprr has joined #linux-sunxi
Andy-D has joined #linux-sunxi
tinti has quit [Ping timeout: 276 seconds]
TheSeven has quit [Ping timeout: 252 seconds]
TheSeven has joined #linux-sunxi
Andy-D has quit [Ping timeout: 255 seconds]
hramrach has quit [Write error: Broken pipe]
tomboy65 has quit [Write error: Broken pipe]
hramrach has joined #linux-sunxi
tomboy65 has joined #linux-sunxi
kaspter has quit [Ping timeout: 276 seconds]
kaspter has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
xavia has joined #linux-sunxi
xavia has quit [Client Quit]
Skaag has joined #linux-sunxi
Skaag has quit [Ping timeout: 245 seconds]
Skaag has joined #linux-sunxi
montjoie[home] has quit [Quit: leaving]
montjoie[home] has joined #linux-sunxi
Skaag has quit [Ping timeout: 252 seconds]
bbrezillon has joined #linux-sunxi
JohnDoe71rus has joined #linux-sunxi
JohnDoe_71Rus has quit [Ping timeout: 260 seconds]
mmarker has quit [Ping timeout: 245 seconds]
amitk-afk is now known as amitk
rz2k has quit [Read error: Connection reset by peer]
bbrezillon has quit [Ping timeout: 252 seconds]
_massi_ has joined #linux-sunxi
HeHoPMaJIeH has joined #linux-sunxi
diego_r has joined #linux-sunxi
nabblet has joined #linux-sunxi
libcg has joined #linux-sunxi
bbrezillon has joined #linux-sunxi
<lauri> Morning guys
<lauri> experimental/sunxi-3.14 compilation failed with "Specify LOADADDR on the commandline to build an uImage"
shineworld has joined #linux-sunxi
<lauri> This is the address where u-boot loads the kernel right?
rz2k has joined #linux-sunxi
<wens> yes you have to specify it
<wens> btw, what is the memory space before the LOADADDR used for?
<wens> lauri: it's where the decompressed kernel is put and executed, not where u-boot loads the image
FR^2 has joined #linux-sunxi
<lauri> so...
<lauri> Serial console shows just "Starting kernel ...
<lauri> and that's it
<lauri> is some newer u-boot required to load 3.14 kernel?
<wens> add earlyprintk to get some more output before it hangs
<plaes> early_printk enabled?
Quarx has joined #linux-sunxi
<lauri> I remember such option in earlier kernels but I am not sure whether it exists in 3.14...?
<lauri> There is "default message log level (1-7)"
<wens> just append earlyprintk to the kernel parameters
<wens> at boot time
<lauri> okay
<lauri> Same stuff.. :/
tm512` has joined #linux-sunxi
tm512 has quit [Ping timeout: 252 seconds]
tm512` is now known as tm512
juanfont has joined #linux-sunxi
juanfont has quit [Ping timeout: 265 seconds]
juanfont has joined #linux-sunxi
paulk-aldrin has joined #linux-sunxi
bertrik has joined #linux-sunxi
bertrik has quit [Changing host]
bertrik has joined #linux-sunxi
notmart has joined #linux-sunxi
wickwire has joined #linux-sunxi
Netlynx has joined #linux-sunxi
<lauri> Probably something to do with old u-boot?
JohnDoe71rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
JohnDoe_71Rus has joined #linux-sunxi
enrico_ has joined #linux-sunxi
nabblet has quit [Read error: Connection reset by peer]
<lauri> Nope nothing, even with latest u-boot-sunxi I am still stuck at "Starting kernel..."
arete74 has quit [Ping timeout: 276 seconds]
arete74 has joined #linux-sunxi
nabblet has joined #linux-sunxi
<shineworld> lauri, I don't know if this match your issue but in past I've got same behavior with uboot running android and I solved adding machid=0xf35 in uEnv.txt
<lauri> to where
<lauri> on a separate line?
<lauri> env set machid 0xf35
<lauri> ?
<shineworld> this was my uEnv.txt (to boot kernel for android): http://paste.debian.net/102531/
<lauri> Using machid 0xf35 from environment --> still nothing
<shineworld> I'm sorry....
<mnemoc> lauri: did you read the wiki page about how to test mainline kernels?
bertrik has quit [Ping timeout: 252 seconds]
bertrik has joined #linux-sunxi
<mnemoc> lauri: use LOADADDR=0x40008000 when compiling
<mnemoc> but those blindly follow the defconfigs. I'll add multi_v7 to the nightlies now
<mnemoc> please note that the "nightlies" are in fact hourly, but only when the branch's HEAD changes
<wens> mnemoc: what's the space vefore 0x40008000 used for anyway?
<mnemoc> wens: don't remember :( I just copy&pasted the value from https://github.com/linux-sunxi/sunxi-nightly
<mnemoc> wens: iirc 0x8000 is the actual offset and the rest paging voodoo
<wens> yeah, 0x40000000 is the start of dram
<wens> I'm just wondering if that space could be used
<mnemoc> where is the dtb loaded? before or after the uImage?
<wens> it gets relocated to somewhere after the kernel I guess
<wens> not sure how it works
popolon has joined #linux-sunxi
<mnemoc> ouch. I don't belong to the dialup group and only realized that 5 months after reinstalling my laptop :( *shame/pity*
avsm has joined #linux-sunxi
<mnemoc> but it's broken in sunxi-next :<
<mnemoc> fine in sunxi-devel and sunxi-3.14
<JohnDoe_71Rus> who ever worked with other chips? eg rk3168.
<mnemoc> JohnDoe_71Rus: there is a #linux-rockchip channel here in freenode
<JohnDoe_71Rus> yep i know
<mnemoc> see which names are repeated on both :p
<JohnDoe_71Rus> there quietly. I have a couple of specific questions
deasy has joined #linux-sunxi
mmarker has joined #linux-sunxi
maksimlin has quit [Quit: ChatZilla 0.9.90.1 [Firefox 29.0/20140428193838]]
nabblet has quit [Ping timeout: 245 seconds]
wickwire has quit [Remote host closed the connection]
<nedko> Tsvetan: now with that BGA DIY video published, who will sell olinuxino kits for manually assembly? :)
<nedko> uh, that was for other channel, sorry
<lauri> mnemoc: I'll test nightlies tomorrow or something, my ZyBo board just arrived... :P
avsm has quit [Quit: Leaving.]
<mnemoc> lauri: :)
<lauri> btw
kaspter has quit [Remote host closed the connection]
<lauri> I need fancier configuration utility for my customers so I started writing this from scratch
<mnemoc> lauri: but don't bind it to the CB. use sunxi-boards as submodule
<mnemoc> so it can be used for other boards as well
<lauri> Well I want to modularize it yes
<lauri> But it will be doing much more than just bin -> fex -> edit -> fex -> bin
<lauri> Network configuration and boot method selection etc
<JohnDoe_71Rus> I have met a similar project. editing fex
<lauri> links are welcome :)
<lauri> it's somewhat similar to raspiconfig
<lauri> (going to be I mean) :P
prahal has quit [Ping timeout: 260 seconds]
<JohnDoe_71Rus> http://xakerblog.blogspot.ru/2012/12/gui-sunxi-tools.html sorry russian and http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DEWra6mLhHqw%26feature%3Dplayer_embedded
<mnemoc> the .fex in sunxi-boards could include ; comments with all hints required by such interactive configuration tool
<JohnDoe_71Rus> Uberizer
cosm has quit [Ping timeout: 265 seconds]
nabblet has joined #linux-sunxi
<lauri> is nice, but not excatly what I need
<JohnDoe_71Rus> lauri: this 2 difrent progect
<lauri> I need simple network interfaces configuration, tweaking FEX, overwriting internal NAND with predefined rootfs, overwriting bootloader etc
<lauri> AND everything should work via UART aswell, so disable fancy menuing system over UART
Black_Horseman has quit [Quit: Zwi se logou mou!!!]
JohnDoe71rus has joined #linux-sunxi
JohnDoe_71Rus has quit [Read error: Connection reset by peer]
JohnDoe71rus has quit [Client Quit]
JohnDoe_71Rus has joined #linux-sunxi
Andy-D has joined #linux-sunxi
ganbold_ has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
shineworld has quit [Quit: Leaving]
avsm has joined #linux-sunxi
avsm has quit [Remote host closed the connection]
avsm has joined #linux-sunxi
Quarx has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
Quarx has joined #linux-sunxi
jebba has quit [Quit: Leaving.]
paulk-aldrin has quit [Read error: Connection reset by peer]
nabblet has quit [Quit: Lost terminal]
Quarx has quit [Remote host closed the connection]
Quarx has joined #linux-sunxi
Quarx has quit [Remote host closed the connection]
Skaag has joined #linux-sunxi
rz2k has quit []
ZetaNeta has joined #linux-sunxi
Quarx has joined #linux-sunxi
Quarx has quit [Client Quit]
<Turl> lauri: make sure your bootargs contain something like console=ttyS0,115200
<Turl> I don't know why but people tend to forget that bit :p
<plaes> isn't this like first thing to add?
<Turl> yeah, but when testing mainline kernels for some reason people just load image, dtb and then just tend to run bootm :)
<Turl> don't ask me why :p
jebba has joined #linux-sunxi
<wens> mripard: there's a conflict between sunxi-next and linux-pinctrl/for-next
Quarx has joined #linux-sunxi
<wens> evidently pinctrl/devel was rebased sometime, some berlin patches were dropped then re-applied
mmarker has quit [Read error: Connection reset by peer]
Andy-D has quit [Ping timeout: 252 seconds]
mmarker has joined #linux-sunxi
nabblet has joined #linux-sunxi
<Montjoie> does someone have use the security system driver on SoC other than A20 ?
<mnemoc> Turl wrote the sunxi-ss driver
<arete74> montjoie: i can try on A10 cubie1
F1skr has joined #linux-sunxi
nabblet has quit [Quit: leaving]
<Montjoie> arete74, thanks if you could try
<Montjoie> for A10, no datasheet but I saw a diagram saying it was in
<Turl> mnemoc: I didn't, Montjoie did :p
<mnemoc> oh
<Turl> Montjoie: it works just fine on A10, I have used MD5 and PRNG
<Turl> (with my proof of concept)
<Montjoie> Could you test with the driver ?
<Turl> on mainline?
<Montjoie> yes
mmarker has quit [Remote host closed the connection]
<Turl> I'd have to get an A10 board out of the drawer and wired up :p
<Turl> if nobody else can I will
mmarker has joined #linux-sunxi
<Turl> I should get a bigger desk :p
<Montjoie> I will send a v2 version of my patch, if I could update the "other board" status
<mnemoc> Turl: don't you need a bigger room first?
<Turl> but mnemoc probably can test for you :)
<Turl> mnemoc: that'd probably help as well
<mnemoc> Turl: i've never booted mainline yet
<Turl> a workbench would be nice
<Turl> mnemoc: didn't you play with your board today and experimental/3.14?
<mnemoc> not yet
<Turl> get to it then :p
<mnemoc> need to finish some work first
xavia has joined #linux-sunxi
ZetaNeta has quit [Ping timeout: 252 seconds]
<mnemoc> Turl: but I intend to do it today, yes
<Turl> :)
<mnemoc> if it works. mv experimental/sunxi-3.14 sunxi-3.14, and pull some stuff from sunxi-devel
HeHoPMaJIeH has quit [Quit: Leaving]
<wens> great... just saw a need to add gpio/pinctrl to axp driver
arete74 has quit [Read error: Connection reset by peer]
arete74_ has joined #linux-sunxi
dack has joined #linux-sunxi
Quarx|2 has joined #linux-sunxi
Quarx has quit [Ping timeout: 252 seconds]
paulk-aldrin has joined #linux-sunxi
libcg has quit [Remote host closed the connection]
rz2k has joined #linux-sunxi
<mnemoc> wens: many a13 rely in axp gpios for controlling the displays
nedko has quit [Ping timeout: 245 seconds]
nedko has joined #linux-sunxi
nedko has quit [Changing host]
nedko has joined #linux-sunxi
<wens> mnemoc: that's right, and my a23 tablet uses axp gpio for usbc0
ganbold_ has quit [Remote host closed the connection]
blsd has quit [Remote host closed the connection]
bsdfox has quit [Ping timeout: 252 seconds]
Andy-D has joined #linux-sunxi
bbrezillon has quit [Ping timeout: 258 seconds]
tomcheng76 has joined #linux-sunxi
prahal has joined #linux-sunxi
tomcheng76 has quit [Quit: leaving]
tomcheng76 has joined #linux-sunxi
avsm has quit [Quit: Leaving.]
ganbold_ has joined #linux-sunxi
rz2k has quit []
tomcheng76 has quit [Quit: leaving]
tomcheng76 has joined #linux-sunxi
tomcheng76 has quit [Client Quit]
tomcheng76 has joined #linux-sunxi
Skaag has quit [Ping timeout: 245 seconds]
enrico_ has quit [Quit: Bye]
<mmarker> Hmm, with this talk..is the wiki up to date if I want to try the daft thing of running mainline on my A20?
_massi_ has quit [Quit: Leaving]
nedko has quit [Ping timeout: 264 seconds]
nedko has joined #linux-sunxi
jebba has quit [Quit: Leaving.]
diego_r has quit [Quit: Konversation terminated!]
popolon has quit [Quit: Quitte]
bsdfox has joined #linux-sunxi
nedko has quit [Ping timeout: 252 seconds]
nedko has joined #linux-sunxi
Quarx|2 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<Turl> mmarker: yes it is
<Turl> just make sure you configure the console= parameter before you say "it's just dead after starting kernel"
<Turl> maybe I should add a note on the wiki
<mmarker> Good. I got a pcDuino 3, and see the DTS I need to use.
<mmarker> Turl: Been there, done that *stares at the BBxM he's abused for years*
woprr has quit [Ping timeout: 260 seconds]
<Turl> :p
Andy-D has quit [Ping timeout: 252 seconds]
protoCall7 has joined #linux-sunxi
woprr has joined #linux-sunxi
vincenzo has joined #linux-sunxi
ZetaNeta has joined #linux-sunxi
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
ninolein has quit [Ping timeout: 264 seconds]
ninolein has joined #linux-sunxi
bfree has quit [Ping timeout: 240 seconds]
bfree has joined #linux-sunxi
wigyori has quit [Ping timeout: 252 seconds]
protoCall7 has quit [Quit: protoCall7]
avsm has joined #linux-sunxi
prahal has quit [Quit: prahal]
kivutar has joined #linux-sunxi
wigyori has joined #linux-sunxi
notmart has quit [Quit: notmart terminated!]
avsm has quit [Quit: Leaving.]
bonbons has joined #linux-sunxi
FR^2 has quit [Quit: Connection reset by peer]
kivutar has quit [Ping timeout: 252 seconds]
wigyori has quit [Ping timeout: 240 seconds]
wigyori has joined #linux-sunxi
kivutar has joined #linux-sunxi
kivutar has quit [Remote host closed the connection]
TheSeven has quit [Remote host closed the connection]
ijc has quit [Remote host closed the connection]
leviathanch_ has joined #linux-sunxi
[hawk] has joined #linux-sunxi
plaes_ has joined #linux-sunxi
FR^2 has joined #linux-sunxi
ijc has joined #linux-sunxi
swabbles_ has joined #linux-sunxi
popolon has joined #linux-sunxi
popolon has joined #linux-sunxi
popolon has quit [Changing host]
swabbles has quit [Write error: Broken pipe]
[xeros] has quit [Write error: Connection reset by peer]
vincenzo has quit [Write error: Broken pipe]
leviathanch has quit [Write error: Connection reset by peer]
bsdfox has quit [Excess Flood]
ganbold has quit [Excess Flood]
lioka has quit [Remote host closed the connection]
plaes has quit [Remote host closed the connection]
lioka has joined #linux-sunxi
bsdfox has joined #linux-sunxi
bsdfox has quit [Changing host]
bsdfox has joined #linux-sunxi
TheSeven has joined #linux-sunxi
ganbold has joined #linux-sunxi
amitk has quit [Quit: leaving]
lioka has quit [Changing host]
lioka has joined #linux-sunxi
tomboy65 has quit [Ping timeout: 272 seconds]
dack has quit [Remote host closed the connection]
wigyori has quit [Ping timeout: 260 seconds]
[xeros] has joined #linux-sunxi
F1skr has quit [Quit: WeeChat 0.4.3]
libcg has joined #linux-sunxi
tomboy65 has joined #linux-sunxi
wigyori has joined #linux-sunxi
tomboy65 has quit [Ping timeout: 272 seconds]
xavia has quit [Quit: Leaving.]
tomboy65 has joined #linux-sunxi
libcg has quit [Remote host closed the connection]
libcg has joined #linux-sunxi
libcg has quit [Remote host closed the connection]
libcg has joined #linux-sunxi
mmarker has quit [Remote host closed the connection]
tomboy65 has quit [Remote host closed the connection]
tomboy65 has joined #linux-sunxi
hramrach has quit [Remote host closed the connection]
hramrach has joined #linux-sunxi
paulk-aldrin has quit [Quit: Ex-Chat]
FDCX has joined #linux-sunxi
libcg has quit [Remote host closed the connection]
tgaz has quit [Ping timeout: 240 seconds]
tgaz has joined #linux-sunxi
rZr has quit [Quit: ZNC - http://znc.in]
Netlynx has quit [Quit: Leaving]
FreezingCold has joined #linux-sunxi
FreezingCold has quit [Quit: Out]
FreezingCold has joined #linux-sunxi
<TheSeven> hm... how do I debug a situation where u-boot fails to boot kernels? (it just hangs after "Starting kernel...")
<Nyuutwo> TheSeven: add in config low-level serial output
<TheSeven> you mean DEBUG_LL in the kernel config?
<TheSeven> didn't result in any output
<Nyuutwo> there is near option which specifies interface for LL
<TheSeven> hm, I don't have anything useful in there, only ICE stuff
<TheSeven> the same two kernels boot fine with at least two other uboot versions each though
<TheSeven> so something must be wrong with that uboot
<Nyuutwo> TheSeven: there should be serial interface
<Nyuutwo> ah
<Nyuutwo> dram settings?
<TheSeven> hm, doubt that... uboot itself works fine, it just fails when it runs the kernel
<TheSeven> DRAM should be set up by boot0/boot1 anyway, and those are the same for the failing and a working one
<Nyuutwo> I'm not sure if uboot uses full cpu speed (and uses only one core)
<Nyuutwo> NAND boot?
<TheSeven> actually I have one uboot (an allwinner one with nand support) chainload another one (more recent with AHCI support)
<TheSeven> and the second one fails to boot any kernel, while booting the same kernel directly using the first one works
<TheSeven> in the DEBUG_LL serial options I only have "No low-level debugging UART", "Kernel low-level debugging via EmbeddedICE DCC channel" and "Kernel low-level debug output via semihosting I", none of which seems to be useful
<Nyuutwo> interesting, now I don't sit into sunxi so I don't remember how to enable DEBUG_LL in sunxi
<Nyuutwo> and AFAIR there was something changed between nand u-boot and sunxi uboot
<TheSeven> the easiest possible problem would be a board ID mismatch... but I wonder how to figure out which board ID this kernel is even expecting
<Nyuutwo> debug LL? ;p
<TheSeven> according to linux/arch/arm/tools/mach-types and u-boot/include/configs/sun7i.h the machine type ID seems to match, both are 4283
<Nyuutwo> I've got into menuconfig, help for "No low-level debugging UART" seems promising + I have selected early printk
FreezingCold has quit [Ping timeout: 265 seconds]
<TheSeven> so did I
<TheSeven> no output though
<Nyuutwo> good fex?
<TheSeven> I think so
<Nyuutwo> in sunxi uboot, cat you pastebin printenv?
<TheSeven> I've messed with the environment quite a bit, what in particular are you looking for?
<Nyuutwo> mostly boot
<Nyuutwo> so I can see how it boots
<TheSeven> I'm loading uImage to 0x40008000, then doing a bootm on that address
<Nyuutwo> ext2load mmc 0 0x43000000 script.bin ??
<TheSeven> script is in RAM already (I think boot1 takes care of that)
<Nyuutwo> loading "compiled" fex
<Nyuutwo> afaik it doesn't
<Nyuutwo> + you use sunxi uboot
<TheSeven> I'm fairly sure that it does
<TheSeven> it all works just fine if I use the allwinner uboot
<TheSeven> (and boot1 actually already uses the script)
<Nyuutwo> you are chainloading, and it can clean space for bin
FreezingCold has joined #linux-sunxi
<Nyuutwo> I'm not sure but it would my guess