ChanServ changed the topic of #linux-sunxi to: Allwinner/sunxi development discussion - Don't ask to ask. Just ask! - See http://linux-sunxi.org | https://github.com/linux-sunxi/ | Logs at http://irclog.whitequark.org/linux-sunxi
tinti has joined #linux-sunxi
CountryGeek has quit [Remote host closed the connection]
CountryGeek has joined #linux-sunxi
egbert has quit [Read error: Operation timed out]
egbert has joined #linux-sunxi
tinti has quit [Ping timeout: 260 seconds]
tinti has joined #linux-sunxi
tinti has joined #linux-sunxi
tinti has quit [Changing host]
Quarx has joined #linux-sunxi
<Quarx> Hello guys
<Quarx> Anyone working with TMS320C55?
egbert has quit [*.net *.split]
ssvb has quit [*.net *.split]
tinti has quit [*.net *.split]
CountryGeek has quit [*.net *.split]
koliqi has quit [*.net *.split]
tinti has joined #linux-sunxi
egbert has joined #linux-sunxi
ssvb has joined #linux-sunxi
CountryGeek has joined #linux-sunxi
CountryGeek has left #linux-sunxi [#linux-sunxi]
egbert has quit [*.net *.split]
ssvb has quit [*.net *.split]
tinti has quit [*.net *.split]
CountryGeek has joined #linux-sunxi
tinti has joined #linux-sunxi
egbert has joined #linux-sunxi
ssvb has joined #linux-sunxi
tinti is now known as Guest99844
koliqi has joined #linux-sunxi
TheSeven has quit [Read error: Operation timed out]
TheSeven has joined #linux-sunxi
bsdfox_ has joined #linux-sunxi
bsdfox_ has quit [Changing host]
bsdfox_ has joined #linux-sunxi
h36sa_ has quit [Ping timeout: 264 seconds]
koliqi has quit [Ping timeout: 252 seconds]
bsdfox has quit [Ping timeout: 252 seconds]
Quarx has quit [Ping timeout: 252 seconds]
Quarx has joined #linux-sunxi
h36sa_ has joined #linux-sunxi
Quarx has quit [Quit: Bye]
WarheadsSE has quit [Ping timeout: 256 seconds]
n01_ has quit [Remote host closed the connection]
shineworld has joined #linux-sunxi
rellla has joined #linux-sunxi
WarheadsSE has joined #linux-sunxi
rellla2 has joined #linux-sunxi
<rellla2> ssvb: wow, nice workaround!
rellla has quit [Ping timeout: 248 seconds]
<rellla2> i finally set up my cubieboard yesterday, so now it's time the test libhybris.
rellla2 is now known as rellla
rz2k has joined #linux-sunxi
<oliv3r> hno: I thought you ment that you found other 'things' concerning SRAM, I did find a few other bits that where undocumented, but set by default
FunkyPenguin has quit [Changing host]
FunkyPenguin has joined #linux-sunxi
awafaa_ is now known as awafaa
drachensun has quit [Ping timeout: 252 seconds]
jukivil1 has quit [Read error: Operation timed out]
jukivili has joined #linux-sunxi
drachensun has joined #linux-sunxi
andoma_ is now known as andoma
bsdfox_ has quit [Ping timeout: 264 seconds]
h36sa_ has quit [Ping timeout: 252 seconds]
techn__ has joined #linux-sunxi
y0gurt has joined #linux-sunxi
_BJFreeman has joined #linux-sunxi
mturquet1e has joined #linux-sunxi
arete74_ has joined #linux-sunxi
LordH3lment has quit [*.net *.split]
el has quit [*.net *.split]
techn_ has quit [*.net *.split]
JCQ_W has quit [*.net *.split]
arete74 has quit [*.net *.split]
el has joined #linux-sunxi
BJFreeman has quit [*.net *.split]
mturquette has quit [*.net *.split]
rm has quit [*.net *.split]
rm has joined #linux-sunxi
JCQ_W has joined #linux-sunxi
_BJFreeman is now known as BJFreeman
JCQ_W has quit [*.net *.split]
JCQ_W has joined #linux-sunxi
vicenteH has joined #linux-sunxi
hansg has joined #linux-sunxi
eebrah|away is now known as eebrah
BJFreeman has quit [Quit: had a good time]
Guest99844 has quit [Remote host closed the connection]
WarheadsSE_ has joined #linux-sunxi
shalem has joined #linux-sunxi
jukivili has quit [Ping timeout: 260 seconds]
jukivili has joined #linux-sunxi
vicenteH has quit [Ping timeout: 255 seconds]
WarheadsSE has quit [Ping timeout: 260 seconds]
hansg has quit [Ping timeout: 255 seconds]
jukivili has quit [*.net *.split]
ssvb has quit [*.net *.split]
egbert has quit [*.net *.split]
arete74_ has quit [*.net *.split]
jukivili has joined #linux-sunxi
ssvb has joined #linux-sunxi
egbert has joined #linux-sunxi
arete74_ has joined #linux-sunxi
<oliv3r> hno: i see an example for you, where you look at initial register values, then fill everything with ~0x00; then everything with 0x00. Is there a reboot inbetween? What's the purpose of this? See what regiters can, can't be changed? finding min-max values?
<hno> oliv3r, can you remind me of a bit of context please.
koliqi has joined #linux-sunxi
<hno> oliv3r, I would guess it's an "See what regiters can be changed" exercise. dump all registers. fill all regissters with 0, dump all registers again, fill all registers with ~0, dump all registers again. Compare results to learn about possible register bits.
<hno> It does not find all I/O registers, but most can be detected this way.
koliqi has quit [Quit: Ex-Chat]
vicenteH has joined #linux-sunxi
<ssvb> rellla: good :) please let me know if you encounter any problems
<ssvb> rellla: put the pointlessness of all these ABI changes in libve is really ridiculous and is starting to piss me off
<ssvb> s/put/but/
cajg_ has joined #linux-sunxi
CountryGeek_away has joined #linux-sunxi
<rellla> so only for me to understand: the android binary is newer than armhf. there have been ABI changes in the android version. we don't have "complete" sources which fit exactly to the ABI of our blob. right?
rz2k has quit [Read error: Connection reset by peer]
MadSpark has quit [Ping timeout: 264 seconds]
cajg has quit [Ping timeout: 264 seconds]
CountryGeek has quit [Ping timeout: 264 seconds]
TheSeven has quit [Ping timeout: 264 seconds]
CountryGeek_away is now known as CountryGeek
<ssvb> rellla: ABI is almost the same, so I guess the android binaries currently in use and linux armhf binaries are from around the same time
cajg_ is now known as cajg
TheSeven has joined #linux-sunxi
<ssvb> rellla: the android blobs and headers from https://github.com/linux-sunxi/cedarx-libs/tree/master/libcedarv/android differ really a lot (and more or less match the outdated libve documentation)
MadSpark has joined #linux-sunxi
<ssvb> rellla: there may be some other subtle changes that I did not notice yet, we can't be totally sure with this stuff :(
<oliv3r> hno: I think the example I found, was on the rhombus-tech wiki, about the Security System registers. Here you dump (from u-boot I assume) the SS I/O registers; then you set them all, and then (with/without reboot?) clear them all
<oliv3r> hno: I assume registers like 'write to 1 to start operation, reads 0 on completion' won't work this way (if the operation is really fast for example)
<oliv3r> but it should give you an idea of writeable registers, what if a register gets changed from an itial '6', to 'f', but won't go below '4'. Would that give you a 'minimum'? or would it be more important to look at the bit level, and find that in the byte block a register can't be changed after all?
<oliv3r> rellla: any news yet?
<rellla> oliv3r: not yet ...
<oliv3r> :'(
<rellla> last time it took around a week. so we hurry ;)
<rellla> s/we/why/
<oliv3r> lol yeah, i'm just getting excited
fldc has joined #linux-sunxi
rz2k has joined #linux-sunxi
<rellla> oliv3r: i'm hoping, that they missed the new efforts with libhybris ...
tinti has joined #linux-sunxi
WarheadsSE-- has joined #linux-sunxi
drachensun_ has joined #linux-sunxi
theborger has joined #linux-sunxi
vicenteH has quit [Ping timeout: 245 seconds]
ganbold__ has joined #linux-sunxi
WarheadsSE_ has quit [*.net *.split]
y0gurt has quit [*.net *.split]
drachensun has quit [*.net *.split]
<oliv3r> rellla: :)
<oliv3r> mnemoc: ping
Tartarus has quit [Excess Flood]
techn_ has joined #linux-sunxi
Tartarus has joined #linux-sunxi
hsildaerD has joined #linux-sunxi
Dreadlish has quit [Disconnected by services]
hsildaerD is now known as Dreadlish
Dreadlish has quit [Changing host]
Dreadlish has joined #linux-sunxi
techn__ has quit [*.net *.split]
awafaa has quit [*.net *.split]
Guest64795 has quit [Ping timeout: 256 seconds]
grevaill1t has quit [Ping timeout: 256 seconds]
JCQ_W has quit [*.net *.split]
TheSeven has quit [*.net *.split]
MadSpark has quit [*.net *.split]
rz2k has quit [*.net *.split]
theborger has quit [*.net *.split]
tinti has quit [*.net *.split]
rellla has quit [*.net *.split]
shineworld has quit [*.net *.split]
cajg has quit [*.net *.split]
bfree has quit [*.net *.split]
ChanServ has quit [*.net *.split]
techn_ has quit [*.net *.split]
Tartarus has quit [*.net *.split]
ganbold__ has quit [*.net *.split]
WarheadsSE-- has quit [*.net *.split]
rm has quit [*.net *.split]
el has quit [*.net *.split]
fredy has quit [*.net *.split]
fldc has quit [*.net *.split]
dl9pf has quit [*.net *.split]
slapin_nb has quit [*.net *.split]
oliv3r has quit [*.net *.split]
lunra has quit [*.net *.split]
FunkyPenguin has quit [*.net *.split]
ganbold_ has quit [*.net *.split]
jukivili has quit [*.net *.split]
libv has quit [*.net *.split]
egbert has quit [*.net *.split]
ssvb has quit [*.net *.split]
CountryGeek has quit [*.net *.split]
Dreadlish has quit [*.net *.split]
arete74_ has quit [*.net *.split]
drachensun_ has quit [*.net *.split]
lkcl has quit [*.net *.split]
w00tc0d3 has quit [*.net *.split]
lebernie has quit [*.net *.split]
n01 has quit [*.net *.split]
mturquet1e has quit [*.net *.split]
mnemoc has quit [*.net *.split]
tkoskine has quit [*.net *.split]
FergusL has quit [*.net *.split]
Turl has quit [*.net *.split]
eebrah has quit [*.net *.split]
RaYmAn has quit [*.net *.split]
ZaEarl has quit [*.net *.split]
jinzo has quit [*.net *.split]
gzamboni_ has quit [*.net *.split]
jelly-home has quit [*.net *.split]
hozer1 has quit [*.net *.split]
specing has quit [*.net *.split]
andoma has quit [*.net *.split]
mripard has quit [*.net *.split]
focus has quit [*.net *.split]
zub has quit [*.net *.split]
vgrade has quit [*.net *.split]
Liberator has quit [*.net *.split]
shalem has quit [*.net *.split]
heffer has quit [*.net *.split]
ijc has quit [*.net *.split]
torindel has quit [*.net *.split]
xenoxaos has quit [*.net *.split]
e-ndy_ has quit [*.net *.split]
_whitelogger has joined #linux-sunxi
heffer has joined #linux-sunxi
heffer has quit [Changing host]
heffer has joined #linux-sunxi
hno has joined #linux-sunxi
bsdfox has quit [Write error: Connection reset by peer]
bsdfox has joined #linux-sunxi
bsdfox has quit [Changing host]
bsdfox has joined #linux-sunxi
ijc_ is now known as ijc
zumbi is now known as Guest19067
torindel has quit [Ping timeout: 256 seconds]
torindel has joined #linux-sunxi
e-ndy has joined #linux-sunxi
<Turl> oliv3r: did you get mainline booting? :)
xnxs has joined #linux-sunxi
xenoxaos has quit [Ping timeout: 256 seconds]
e-ndy_ has quit [Read error: Connection reset by peer]
xnxs is now known as xenoxaos
shalem is now known as hansg
CountryGeek has left #linux-sunxi [#linux-sunxi]
CountryGeek has joined #linux-sunxi
<n01> oliv3r: I have a conf file for buildroot to boot mainline over tftp if you want it ;)
<Turl> n01: I saw your patch on the ML :)
<Turl> n01: this might be a silly question, but is the "0b" notation valid? I just saw it on wdt_timeout_map
<n01> Turl: yep, but that patch is specific for cubieboard with linux-sunxi kernel. In my experimentations I use another config for mainline with dtb
<n01> Turl: I think so (It compiles and works at least :)
<Turl> n01: so the patch you sent to lakml is not intended for mainline?
<n01> yes it is (the watchdog drivers). I meant the conf for buildroot
<Turl> ah, okay
<n01> < = Turl> n01: I saw your patch on the ML :) <==== ohh you mean the LAKML, sorry I thought you were talking about the buildroot ml
<Turl> oh, you sent a patch to buildroot too? nice :)
<n01> :)
ganbold__ has quit [Remote host closed the connection]
eebrah is now known as eebrah|away
hansg has quit [Quit: Leaving]
_BJFreeman has joined #linux-sunxi
_BJFreeman is now known as BJFreeman
paulk-desktop has joined #linux-sunxi
de has joined #linux-sunxi
n01 is now known as n01|away
_BJFreeman has joined #linux-sunxi
BJFreeman has quit [Ping timeout: 273 seconds]
<de> evening. back to my yday's trouble with TS. Ive checked VDDA voltage on FT5301 chips of TS, and it shows 2V when TS is connected and ~1.08V when TS is disconnected, both are way out of operating voltage
<de> but im not sure if thats not some power management kicking in, so i'm thinking about undefining early susped in ft5x_ts and commenting out ft5x_ts_suspend function. what do you think?
jukivil1 has joined #linux-sunxi
zumbi has joined #linux-sunxi
egbert has quit [Disconnected by services]
mdfe_ has joined #linux-sunxi
egbert has joined #linux-sunxi
zumbi is now known as Guest22510
Guest19067 has quit [Read error: Connection reset by peer]
jukivili has quit [Read error: Connection reset by peer]
vinifm has joined #linux-sunxi
<vinifm> is it possible to update only the kernel on a tablet with a13?
<vinifm> android tablet with a13
<mnemoc> vinifm: you have to compose a new boot.img
<vinifm> ok, thanks
rellla has quit [Quit: Nettalk6 - www.ntalk.de]
BJFreeman has joined #linux-sunxi
hsildaerD has joined #linux-sunxi
mdfe__ has joined #linux-sunxi
Dreadlish has quit [Disconnected by services]
hsildaerD is now known as Dreadlish
BJFreeman is now known as Guest82812
Dreadlish has quit [Changing host]
Dreadlish has joined #linux-sunxi
Guest82812 has quit [Client Quit]
e-ndy_ has joined #linux-sunxi
arete74_ has joined #linux-sunxi
BJFreeman_ has joined #linux-sunxi
vinifm has quit [*.net *.split]
mdfe_ has quit [*.net *.split]
_BJFreeman has quit [*.net *.split]
xenoxaos has quit [*.net *.split]
e-ndy has quit [*.net *.split]
CountryGeek has quit [*.net *.split]
arete74 has quit [*.net *.split]
eebrah has joined #linux-sunxi
xnxs has joined #linux-sunxi
xnxs is now known as xenoxaos
mturquet1e is now known as mturquette
mturquette has quit [Changing host]
mturquette has joined #linux-sunxi
<oliv3r> Turl: not yet, but i was at work all day; gonna try my concatenated kernel tonight hopefully
BJFreeman_ has quit [Client Quit]
_BJFreeman has joined #linux-sunxi
vinifm has joined #linux-sunxi
_BJFreeman is now known as BJFreeman
CountryGeek has joined #linux-sunxi
paulk_ has joined #linux-sunxi
paulk_ has quit [Remote host closed the connection]
paulk_ has joined #linux-sunxi
n01 has joined #linux-sunxi
eebrah has quit [*.net *.split]
mdfe__ has quit [*.net *.split]
drachensun_ has quit [*.net *.split]
ssvb has quit [*.net *.split]
arete74_ has quit [*.net *.split]
jukivil1 has quit [*.net *.split]
paulk-desktop has quit [*.net *.split]
Dreadlish has quit [Write error: Broken pipe]
Dreadlish has joined #linux-sunxi
ssvb has joined #linux-sunxi
drachensun_ has joined #linux-sunxi
eebrah has joined #linux-sunxi
mdfe__ has joined #linux-sunxi
arete74 has joined #linux-sunxi
jukivili has joined #linux-sunxi
<drachensun_> wow, somebody big is having connection problems today
<Turl> drachensun_: who?
<mnemoc> freenode's infamous stability
<Turl> that's what you get being decentralized, and it's good if you ask me :)
<mnemoc> efnet is larger and also decentralized, and it's far more stable
jukivili has quit [*.net *.split]
arete74 has quit [*.net *.split]
eebrah has quit [*.net *.split]
mdfe__ has quit [*.net *.split]
drachensun_ has quit [*.net *.split]
ssvb has quit [*.net *.split]
<Turl> I've never been in efnet
<hno> oliv3r, exactly, you got the point.
<libv> could it be that they are still being ddosed?
<oliv3r> efnet has way more servers, so 1 dropping out,m has little impact
<oliv3r> freenode has very few servers, 1 dropping out has bigger impact?
<oliv3r> why isn't this command working :( mkimage -A arm -O u-boot -C none -T kernel -d zImage-cubieboard -n uImage-cubieboard
<hno> mnemoc, a little gem if you want to play with USB booting: https://github.com/hno/Allwinner-Info/tree/master/EOMA68/FEL/
<hno> oliv3r, -O linux
<oliv3r> ah ok
<oliv3r> nogo
bsdfox\ has quit [Ping timeout: 245 seconds]
<Turl> oliv3r: missing load addr?
<oliv3r> Turl: -a?
<oliv3r> but it just complains 'usage is bla bla'
<oliv3r> how does it know it doesn't need -a
<oliv3r> nogo :(
<hno> oliv3r, you haven't specified the outout name.
<oliv3r> -n uImage is out name
<oliv3r> unless 'set image name' isn't output name
<oliv3r> guess it's now
<oliv3r> not*
<hno> no, that sets the name recorded in the image.
<oliv3r> do'h
<hno> I usually record the kernel version number etc in there.
<oliv3r> do i still need to add 'loadddr'?
<oliv3r> since that's embedded in the kernel?
rz2k has quit []
<Turl> oliv3r: linux/scripts/mkuboot.sh -A arm -O linux -C none -T kernel -a 0x40008000 -e 0x40008000 -n 'Linux-3.10.0-rc1-00005-gcc2fd4f-dirty' -d arch/arm/boot/zImage arch/arm/boot/uImage
<hno> yes you need to specify the load address where the kernel should be copied to.
<oliv3r> and -e? id dint' do -e
<oliv3r> Turl: where is that script, mine is way shorter
<techn_> hno: did you try wip/usb? did you notice regression?
<Turl> oliv3r: inside the linux repo
<Turl> in scripts dir :)
<oliv3r> build/multi_v7_defconfig-linux/arch/arm/boot/.uImage.cmd:
<oliv3r> found it
<hno> techn_, yes it seem to work for me. Unfortunately the problems I am having is still there.
<oliv3r> not very obvious to look (and I did look!)
<hno> oliv3r, that's a generated file from the build process.
<Turl> oliv3r: yes, I copied it from the .cmd file :)
<Turl> hno: you can boot uboot from fel now? nice
<hno> make ... V=1 also works.
<oliv3r> yeah, well it helps :D
<hno> Turl, yes.
<oliv3r> ah -e = -a when omitted
<Turl> hno: I suppose you could fel-load kernel and ramdisk too, and then run uboot and bootm directly?
<hno> Turl, yes. Just load them into memory before starting u-boot.
<hno> or load them from anything u-boot knows to access (i.e. SD or network)
sanka has joined #linux-sunxi
<oliv3r> Turl: bah, kernel won't boot :(
<Turl> hno: yes, but if you can load all from fel, it'd make a great installer/recovery system
<Turl> oliv3r: what does it print?
<oliv3r> ## Booting kernel from Legacy Image at 48000000 ... Image Name: Image Type: ARM Linux Kernel Image (gzip compressed) Data Size: 64 Bytes = 64 Bytes Load Address: 40008000 Entry Point: 40008000 Verifying Checksum ... OK Uncompressing Kernel Image ... Error: Bad gzipped data
<oliv3r> GUNZIP: uncompress, out-of-mem or overwrite error - must RESET board to recover
<oliv3r> resetting ...
jabjoe has joined #linux-sunxi
paulk__ has joined #linux-sunxi
<Turl> oliv3r: where did you load dt?
<Turl> or did you append it?
<Turl> Data Size: 64 Bytes = 64 Bytes doesn't sound good btw
paulk_ has quit [Ping timeout: 268 seconds]
<n01> oliv3r: which is your u-boot command, bootm .... ?
<hno> Turl, yes.
<hno> Hm.. what address is script.bin supposed to get loaded at?
<hno> 0x43000000
shineworld has quit [Quit: Leaving]
<jabjoe> argh, ok can't see how to do it on GitHub. There is no 8188eu driver in sunxi 3.4, and there is something on GitHub about it, https://github.com/linux-sunxi/linux-sunxi/issues/132. But, there is already a port done that work and I'm using on my A13 tablet, https://github.com/Frogomeli/rtl8188eu
<jabjoe> just sharing on the off chance the dots haven't already been joint.
<hno> jabjoe, would be great if you could look into what the differences are.
<hno> but I think there is something in the pipeline already.
<oliv3r> Turl: of course i appended it :D
<oliv3r> it's not 64kb btw Data Size: 5231181 Bytes = 5 MiB
<Turl> oliv3r: so you just loaded uImage and then bootm?
<oliv3r> nope, let me read my uENv and boot.scr
<oliv3r> it's from the fedora image
<oliv3r> i had that on the sd card before
<oliv3r> and did a kernel with cpio and dt incorporated
<Turl> how did you append it btw?
<Turl> cat zImage dtb > zImage-dtb?
<oliv3r> first try, like you said, cat kernel dtb > zImage
<oliv3r> but then i tried, cp kernel zImage; cat dtb >> zImage
<oliv3r> but both didn't work
<Turl> what's 'kernel' ?
<Turl> you should use arch/arm/boot/zImage
<oliv3r> yeah that's the kernel :p
<Turl> ok
<oliv3r> uEnv.txt doesn't list anyhting interesting
<Turl> 5MiB sounds like too small though
<Turl> for a kernel and ramdisk
<oliv3r> etenv bootargs console=${console} root=${root} loglevel=${loglevel} ${panicarg} ${extraargs} fatload mmc 0 0x43000000 script.bin fatload mmc 0 0x48000000 ${kernel} watchdog 0 bootm 0x48000000
<oliv3r> (i removed enters for brevity)
<n01> I usually do not append DTB and it boots just fine
<jabjoe> hno: I'll have a look once I've finished with trying to get a accelerated X, now that I can ssh in.
<oliv3r> those address seem wrong though?
<Turl> n01: you load dtb separately right?
<oliv3r> n01: i figured created a single kernel with everything in it would be best to start etsting
<oliv3r> once I get that working reliably, then split it out
<oliv3r> but i never 'used' u-boot etc, so lots to learn, best to downsize it all
<oliv3r> Turl: and your right, 5mb is really small, since rootfs.cpio is 7.1 mb alone
<oliv3r> then again
<oliv3r> kernel +initramfs are both gzipped
<oliv3r> so 5.2 mb sounds plausaible?
<n01> Turl: yes
<n01> oliv3r: mine is 8MB
<oliv3r> i'll just rebuild, just ot make sure
<hno> oliv3r, addresses looks fine to me.
<hno> the addess you load the uImage into is just a temporary. u-boot then moves it to the expeted address as specified in the uImage.
<oliv3r> ah ok
<oliv3r> so i load the kernel image to 0x48000000, u-boot then relocates it to 0x40008000 and executes it from there?
<oliv3r> i guess the bootm command does all that?
<hno> yes
<hno> yes
ssvb has joined #linux-sunxi
<Turl> hm, my kernel build broke
<Turl> mripard: any recent changes on pinctrl that would break ours?
<n01> Turl: oliv3r I just checked it out: I use an appended dt with CONFIG_ARM_APPENDED_DTB
<n01> so I don't need to cat anything
<Turl> hm, I see mripard sent a patch to fix it already :)
<oliv3r> n01: i dont' think that automatically cats the dtb though
<oliv3r> that enables the possibility
<oliv3r> but you have to manually cat
<oliv3r> if i understood turl right
<n01> gosh, let me check, my workflow is buildroot->tftp->cubie so I forgot the details :)
<n01> oliv3r: tftpboot 0x40000000 sun4i-a10-cubieboard.dtb; tftpboot 0x48000000 uImage; bootm 0x48000000 - 0x40000000
<oliv3r> you manually load dtb
<n01> yep
<n01> so I don't append :D
<oliv3r> so that CONFIG_ option can be disabled in theory
<oliv3r> i'll probably switch to your commandline in a little while
<oliv3r> :p
<oliv3r> wanna have something that absolutly works to start from
<n01> :D if you want I can give you my conf for buildroot and kernel
<oliv3r> i got turl's buildroot
<oliv3r> and i use multi_v7 stock config
<oliv3r> with my module enabled :p
<n01> ehi Turl are you working on buildroot also?
<Turl> n01: no, I just use it
<oliv3r> Data Size: 5231189 Bytes = 5108.58 kB = 4.99 MB
BJFreeman has quit [Quit: had a good time]
<oliv3r> that's what i get from the kernel build output ont he uImage stage
jukivili has joined #linux-sunxi
arete74 has joined #linux-sunxi
mdfe__ has joined #linux-sunxi
eebrah has joined #linux-sunxi
drachensun_ has joined #linux-sunxi
sanka has quit [Quit: Leaving]
CountryGeek is now known as dwilkins
_BJFreeman has joined #linux-sunxi
_BJFreeman is now known as BJfreeman
e-ndy_ is now known as e-ndy
<oliv3r> since i have the files on the sd card, might aswell load them to memory and see what happens
<Turl> mripard: around?
<oliv3r> sun4i#fatload mmc 0 0x4800000 uImage
<oliv3r> reading uImage
<oliv3r> sun4i#bootm 0x4800000 - 0x4000000
<oliv3r> Wrong Image Format for bootm command
<oliv3r> 5231253 bytes read
<oliv3r> ERROR: can't get kernel image!
<oliv3r> i don't understand :(
<Tartarus> Do 'iminfo 48000000'
<Tartarus> See if it sees it as valid or not
<oliv3r> unknown command :p
<Turl> watchdog, i2c, sun5i clk, wemac, anything else in flight for 3.10?
<Turl> 3.11 rather
<oliv3r> emac
<oliv3r> -w :p
<oliv3r> when does the 3.10 window close?
<mnemoc> sunxi-emac :p
<Turl> oliv3r: it closed already :)
<Turl> -rc1 is out there
<oliv3r> ah
<oliv3r> still haven't seen wdt on the sunxi ML :( and yet it is in!
<oliv3r> Turl: why can't I boot my kernel :(
<Turl> oliv3r: I dunno :P what error are you getting now?
<oliv3r> sun4i#bootm 0x4800000 - 0x4000000
<oliv3r> Wrong Image Format for bootm command
<oliv3r> ERROR: can't get kernel image!
<oliv3r> it loads the kernel fine, all 5.2 mb of it
<Turl> oliv3r: try starting from scratch
<Turl> make clean on your tree
<Turl> export ARCH=arm
<Turl> export LOADADDR=0x40008000
<oliv3r> file build/cubieboard_hwpack/kernel/uImage
<oliv3r> build/cubieboard_hwpack/kernel/uImage: u-boot legacy uImage, Linux-3.9.0-rc3, Linux/ARM, OS Kernel Image (Not compressed), 5227136 bytes, Mon May 13 22:42:50 2013, Load Address: 0x40008000, Entry Point: 0x40008000, Header CRC: 0x00297543, Data CRC: 0xBC7A0502
<mnemoc> oliv3r: hno's wdt driver is older than the sunxi ML
<oliv3r> mnemoc: ohh, i didn't know that was fully dt etc ready
<Turl> make uImage sun4i-a10-cubieboard.dtb
<oliv3r> Turl: done allt hat :S
<mnemoc> oliv3r: ah, ehm... not n01's. hno's
<oliv3r> mnemoc: i know hno's really old, but i didn't know it had device-tree support
<Turl> oliv3r: so you cleaned and then used uImage as generated by the build system itself?
<Turl> oliv3r: it doesn't
<oliv3r> i used zImage + dtb, then uImage
<oliv3r> i used uImage as generated by the kernel
<mnemoc> oliv3r: it didn't
<Turl> oliv3r: really weird :/ do you want me to make an uImage for you and see if it boots?
<oliv3r> Turl: please
<oliv3r> mnemoc: so how come it is in 3.10?
<oliv3r> mnemoc: i know n01 has all the fluff, but haven't seen the latest verion pass sunxi-ml
<mnemoc> oliv3r: mripard maybe?
<mnemoc> hidden inside a pull request or somehting
<oliv3r> n01: did you finish your watchdog and submit it to lakml etc, but not the sunxi-ml?
<Turl> oliv3r: it isn't in 3.10 afaik
<oliv3r> so you lied! :p
<Turl> oliv3r: n01 sent it to lakml recently
<oliv3r> i'm no subscriber there, only sunxi-ml
<Turl> when did I claim it was upstream already? :P
<oliv3r> 23:04 < Turl> watchdog, i2c, sun5i clk, wemac, anything else in flight for 3.10?
<mnemoc> oliv3r: he meant 3.11
<oliv3r> *facepalm*
<mnemoc> .oO(NT?)o
<mnemoc> workgroups
paulk__ has quit [Quit: Ex-Chat]
<Turl> oliv3r: read the next sentence :P
<oliv3r> my eyes are way to tired :(
<oliv3r> Turl: ty
<oliv3r> afk 5 min
<Turl> note that that's a "sunxi-next" build and I didn't try it :P
<mnemoc> pushed the branch?
<Turl> mnemoc: not yet
<oliv3r> Turl: that's without cpio right? makes sense as it's only 4.4 mb
<Turl> oliv3r: no, it has cpio embedded :)
<Turl> but I build just sunxi, no other platforms' "bloat" in there :)
<oliv3r> Turl: doesn't boot :(
<mnemoc> not even versatile?
<Turl> oliv3r: what error do you get?
<oliv3r> Starting kernel ...
<oliv3r> Uncompressing Linux... done, booting the kernel.
<oliv3r> ID (hex) NAME
<oliv3r> Available machine support:
<oliv3r> Error: unrecognized/unsupported machine ID (r1 = 0x00001008).
<oliv3r> ffffffff Generic DT based system
<oliv3r> ffffffff Allwinner A1X (Device Tree)
<oliv3r> ok it does boot
<oliv3r> sorry :p
<Turl> oliv3r: you didn't load the dtb
<oliv3r> better then my kernel, which doesn't boot
<Turl> oliv3r: load the dtb file then bootm with 3 args
<oliv3r> sun4i#fatload mmc 0 0x40000000 cubie.dtb
<oliv3r> reading cubie.dtb
<oliv3r> sun4i#fatload mmc 0 0x48000000 uImage.1
<oliv3r> 7788 bytes read
<oliv3r> i did
<oliv3r> it lies
<Turl> mnemoc: I think they unhardcoded it nowadays
<mnemoc> nice
<Turl> oliv3r: try loading it to 0x50000000
<oliv3r> won't it interfear witht he kernel?
<Turl> then bootm 0x48000000 - 0x50000000
<Turl> (0x50000000 - 0x48000000) * bytes = 128 megabytes -- I think it'd be enough to hold the kernel
<hno> oliv3r, my wdt driver is not dt ready.
<hno> Beware ox 0x50000000. mmc driver in u-boot trashes some bytes there (fixed recently)
<oliv3r> Turl: didn't work
<oliv3r> Turl: same error
<oliv3r> Turl: but that's not important, atleast your kernel gets loaded :S
<Turl> 16:58 n01> oliv3r: tftpboot 0x40000000 sun4i-a10-cubieboard.dtb; tftpboot 0x48000000 uImage; bootm 0x48000000 - 0x40000000
<Turl> try those addresses
<oliv3r> that's what I did initiially
<n01> oliv3r: yeah, I submitted the driver to LAKML yesterday
<Turl> oliv3r: how ancient an uboot are you using?
tinti has quit [Read error: Connection reset by peer]
<oliv3r> Turl: februariy now that you mention it
<oliv3r> let me git pull
<oliv3r> and overwrite hansg's
<hno> oliv3r, which branch?
<oliv3r> from hansg, so ... feb. 17th
<oliv3r> i'll get the latest from sunxi-bsp
<n01> hno: I added also you as author in my wdt driver
<hno> n01, that's fine.
<oliv3r> latest commit was on april 12th, that recent enough?
<n01> time to get some sleep ... goodnight
<Turl> good night n01
<oliv3r> nn
n01 has quit [Quit: leaving]
<Turl> mnemoc: http://goo.gl/UHwyi
<mnemoc> Turl: using the phone as modem....if you think the sunxi-next branch is good, push it, but please maintain it ;-)
<mnemoc> will try to install lxr at linux-sunxi.org during this week
<oliv3r> Turl: sunxi-next should i base my patches on that tree?
<Turl> mnemoc: need to check with mripard and see if I'm missing something
<Turl> oliv3r: no, don't base stuff on it, it'll be heavily rebased :)
<oliv3r> Turl: can you confirm that your kernel won't boot :p
<oliv3r> do i need anything besides SPL.bin and u-boot
<Turl> I don't have my cubie handy now :/
<oliv3r> if i wipe my SD card, i can leave out the uboot enviroment partition?
<Turl> at least it prints stuff vs yours :P
<oliv3r> the uenv files etc
<Turl> leave out?
<Turl> you could mkfs on the "data" partition to 'wipe' it and leave the rest untouched
<oliv3r> data is empty :p
<Turl> then what do you want to do? :P
<oliv3r> but I flash eEnv.bin just after the u-boot binary
<oliv3r> now i have spl, uboot eunv
* Turl got lost :p
<oliv3r> code is worth more then a thousand ramblings :)
<oliv3r> if i skip doing line 101
<oliv3r> and only have uImage and dtb in the fat bit of the first partition
<oliv3r> will that be enough?
<oliv3r> or do I need uEnv-img.bin, boot.scr etc etc
<oliv3r> i would assume not
<oliv3r> yeah i can clean everything out and it loads some defaults, which is fine, they all don't exist
<oliv3r> now, lets try again
<oliv3r> yeah! works
<oliv3r> but no console :(
<oliv3r> that I'll tackle tomorrow
<mnemoc> Turl: still around? just moved cubieboard.org's and cubietech.com's wp to the new server. there is reverse proxy tunneling the thing from the old server, but updating dns would be appreciated :p
<Turl> mnemoc: sure, sec
<Turl> mnemoc: /msg me the new ip please
<Turl> oliv3r: no shell?
vinifm has quit [Quit: Saindo]
mdfe__ has quit [Remote host closed the connection]
tinti has joined #linux-sunxi
awafaa_ has joined #linux-sunxi
Tartarus has quit [Excess Flood]
Tartarus has joined #linux-sunxi