mnemoc changed the topic of #arm-netbook to: EOMA: Embedded Open Modular Architecture - Don't ask to ask. Just ask! - http://elinux.org/Embedded_Open_Modular_Architecture/EOMA-68 - ML arm-netbook@lists.phcomp.co.uk - Logs http://ibot.rikers.org/%23arm-netbook or http://irclog.whitequark.org/arm-netbook/ - http://rhombus-tech.net/
freakazoid0223 has joined #arm-netbook
freakazoid0223 has quit [Read error: Connection reset by peer]
<Reepicheep12> Trying to compile the kernel from sunxi-bsp. I've run "./configure mele_a1000". I thought the next step might be to run "make linux-config" so I can included a few more modules, but I get this error http://hastebin.com/raw/samavewuve
<Reepicheep12> Any clues? New to this kernel compiling stuff but I've read the guides.
<Reepicheep12> Do I need to compile the kernel once before running menu-config?
Mazon has quit [Ping timeout: 256 seconds]
Mazon has joined #arm-netbook
<nemik> Reepicheep12: what does you chosen_board.mk say?
<nemik> i have KERNEL_CONFIG=sun4i_crane_defconfig
<nemik> after configure you can just run 'make'
leowt has joined #arm-netbook
<leowt> mnemoc: SD boot and rootfs on HD sucess
<leowt> serial output its ok too
<leowt> =D
stefanro1 has joined #arm-netbook
stefanro has quit [Ping timeout: 252 seconds]
TestModule has joined #arm-netbook
techn has quit [Read error: Connection reset by peer]
<Reepicheep12> Having numerous other problems nemik PATH arm-unknown-linux-gnueabi but I can probably work these out on my own with some more research. Thanks.
voronaam has quit [Quit: Leaving.]
<WarheadsSE> ?
<WarheadsSE> what are you compiling on?
<TestModule> reepi, distro?
<TestModule> Try the BSP, i fixed the directions in the Wiki
leowt has quit [Quit: leowt]
<Reepicheep12> Compiling on Archlinux. On the mele (with cross-compile, although that might not work haven't got that far).
<Reepicheep12> These instructions TestModule? arm-unknown-linux-gnueabi
<TestModule> yes
stefanro1 has quit [Ping timeout: 246 seconds]
<Reepicheep12> Yep still getting this http://hastebin.com/raw/samavewuve
<Reepicheep12> chosen_board.mk says this "KERNEL_CONFIG=sun4i_defconfig"
<Reepicheep12> When I run make linux-config
<Reepicheep12> Just "make" gives this http://hastebin.com/raw/funumaleku
<TestModule> You wouldn't be doing that in BSP
<Reepicheep12> The linux-config? So I should edit the defconfig by hand?
leowt has joined #arm-netbook
stefanro has joined #arm-netbook
<WarheadsSE> or menuconfig, nconfig
freakazoid0223 has joined #arm-netbook
<Reepicheep12> Well that makes things more difficult I'll have to research how to include modules manually (and disabled the graphics ram reserves).
<Reepicheep12> Why is linux-config a make target if it's not to be used?
<WarheadsSE> I didn't say it wasn't to be used
<WarheadsSE> I was offering other options
<WarheadsSE> I generally use menuconfig directly myself.
<Reepicheep12> Ah okay I understand. So what do you mean then TestModule that I shouldn't be doing in BSP?
<TestModule> huh
<TestModule> i'm saying try it because it uses the most standardized ways
<TestModule> it helped me figure out alot of unlisted things and correct it / commit
<Reepicheep12> Sorry, try what? sunxi-bsp? Compiling without custom configurations?
<TestModule> yes
<Reepicheep12> Okay well I could try compiling the kernel as it is although I was mainly doing this to include the snd_usb_audio module (and the led module in the future) which I won't get with the default it seems.
<Reepicheep12> Oh and I'm having to edit the makefile manually because "grep ^processor /proc/cpuinfo" returns nothing, not sure if this is expected.
<WarheadsSE> thats .. odd. tried runnin it by hand?
<Reepicheep12> Yeah it works returns this: http://hastebin.com/raw/lorinevoho
<Reepicheep12> But processor isn't a line.
<nemik> change it to grep -ir ?
<nemik> could be case-sensitive. but you're compiling this on an a10?
<Reepicheep12> Yes A10. Okay so I found in the IRC logs what I need to disable for the memory reserves. Before I compile just want to confirm that the snd_usb_audio module should be inbuilt? I found an irclog from this channel discussing how to tell if a module should be inbuilt (look up the info page or something) but now I can't figure out how I got to it.
Alex1269 has joined #arm-netbook
<Reepicheep12> Oh also there's no way I can include the led driver (any one) while I'm doing this is that correct?
<nemik> Reepicheep12: check your defconfig, such as sunxi-bsp/linux-sunxi/arch/arm/configs/sun4i_crane_defconfig
<nemik> the things with "=y" are built-in, the commented aren't built at all, and the ones with "=m" are built as external loadable ones. i think that's how it works, but not 100% sure
<nemik> Reepicheep12: if you change your defconfig for whatever your target is, you could make your defconfig include the LED driver you want
<Reepicheep12> Okay I will try it built in then. What's the CONFIG option/module name for the led driver?
<nemik> no idea, i'm not really sure which LED driver you want
jardiamj has quit [Ping timeout: 260 seconds]
<Reepicheep12> mnemoc said previous that there is a real led driver but it's not available for linux-sunxi yet. But anyway I found it I think it's sun4i_gpio
<Reepicheep12> Perhaps "CONFIG_SUN4I_GPIO_UGLY"
<Alex1269> Today I sent a patch to dev@linux-sunxi.org for led driver. Also you can use compile instruction from google groups theme.
<TestModule> Is there a flag i can pass through the BSP to later compile the 3.4 instead of the 3.0?
<Reepicheep12> Found it thank you Alex.
freakazoid0223 has quit [Ping timeout: 248 seconds]
<Reepicheep12> Okay about to compile wish me luck. I just run make right? That makes the uboot and kernel? With that also make external modules?
jlj has quit [Ping timeout: 276 seconds]
jlj has joined #arm-netbook
<nemik> Reepicheep12: it should. good luck
rz2k has quit []
Jef91|Out is now known as Jef91
aholler_ has joined #arm-netbook
aholler has quit [Ping timeout: 248 seconds]
eebrah has quit [Ping timeout: 256 seconds]
bsdfox_ has quit [Read error: Connection reset by peer]
jlj has quit [Ping timeout: 276 seconds]
jlj has joined #arm-netbook
Quarx has joined #arm-netbook
jardiamj has joined #arm-netbook
servili007 has quit [Read error: Connection reset by peer]
<Reepicheep12> I tried to compile natively (couldn't get cross-compile to work) but I get this when compiling uboot "ld.bfd: error: required section '.rel.plt' not found in the linker script
<Reepicheep12> "
<Reepicheep12> Any ideas? Or should I give cross-compilation another go?
<TestModule> git checkout origin/sunxi-3.4 ?
<Reepicheep12> Do I need to change builds? error: pathspec 'origin/sunxi-3.4' did not match any file(s) known to git.
Ershov has joined #arm-netbook
Ershov has left #arm-netbook [#arm-netbook]
Ershov has joined #arm-netbook
Ershov has left #arm-netbook [#arm-netbook]
eebrah has joined #arm-netbook
wingrime has joined #arm-netbook
IEF has quit [Read error: Operation timed out]
IEF has joined #arm-netbook
<arete74> hi, i have use phoenix card for write img to sd, but in startup mode
<arete74> now, the sd have the system layout of nand
<arete74> only the boot process try to mount nande and not sd partition
<arete74> now i try to mount sd partition, if work i have android boot and work on sd card!
<TestModule> Does the BSP overwrite kernel configs each time?
pcat has quit [Ping timeout: 248 seconds]
<Reepicheep12> What's the difference between sun4i_crane_defconfig and sun4i_defconfig?
<Reepicheep12> I gather one is for android and one is for linux, but what does that actually mean?
orly_owl has quit [Ping timeout: 256 seconds]
orly_owl has joined #arm-netbook
jquip has joined #arm-netbook
eebrah has quit [Read error: Connection timed out]
pcat has joined #arm-netbook
Guest74926 has joined #arm-netbook
jquip has quit [Quit: jquip]
jquip has joined #arm-netbook
hero616 has joined #arm-netbook
jquip has quit [Client Quit]
jquip has joined #arm-netbook
jquip has quit [Client Quit]
jquip has joined #arm-netbook
jquip has quit [Quit: jquip]
jquip has joined #arm-netbook
gsilvis has quit [Read error: Connection reset by peer]
gsilvis has joined #arm-netbook
kaspter has joined #arm-netbook
jquip has quit [Quit: jquip]
jquip has joined #arm-netbook
rellla has joined #arm-netbook
jquip has quit [Quit: jquip]
Guest74926 has quit [Read error: Connection timed out]
eebrah has joined #arm-netbook
<oliv3r> wow, hansg is posting patches like crazy. friggin' awesome
rz2k has joined #arm-netbook
hero616 has quit [Remote host closed the connection]
<andoma> \o/
eebrah has quit [Ping timeout: 255 seconds]
eebrah has joined #arm-netbook
jardiamj has quit [Ping timeout: 252 seconds]
popolon has joined #arm-netbook
jquip has joined #arm-netbook
pcat has quit [Ping timeout: 244 seconds]
TestModule has quit [Quit: Page closed]
jquip has quit [Quit: jquip]
rellla2 has joined #arm-netbook
rellla2 has quit [Remote host closed the connection]
rellla has quit [Ping timeout: 246 seconds]
rellla has joined #arm-netbook
hansg has joined #arm-netbook
jquip has joined #arm-netbook
hp__ has joined #arm-netbook
<mnemoc> Reepicheep12: the led driver was posted late last night to the linux-sunxi list... and it's likely to get merged today into the stage branch
<mnemoc> Reepicheep12: crane and nuclear are android configs
<mnemoc> DX wants to cancel my order for the $20 uhost :<
<rm> mnemoc, did you get a message, what it says?
<mnemoc> they don't deny the price or claim mistake, only that it's out of stock, and it might take a while to be restocked
<rm> mh okay
<rm> I got that about my other order of some other products
<mnemoc> but last time I got a message like that I had to cancel it 3 months later anyway
<rm> the latest was "Thanks for choosing DX, your order is being processed."
<rz2k> expect 3 month delay
* mnemoc wants one of those A10-based "cloud clients" with ethernet and vga
<rellla> rm: me too, including order no. - status "payment confirmed"
<mnemoc> those two messages are automated
<rm> well, so
<rm> do you mean just "Out of stock" on the product page?
<mnemoc> I got a real mail
<mnemoc> thanking and apologizing
<rm> Thank you for your order xxxxxxxxxxx. Unfortunately we are currently awaiting restock on one or more of your items. If you would like to wait for the item, we thank you for your patience and apologize for the inconvenience. If you would like to change this item or cancel the order, please click here .
<rm> here's what I got about some other order
<mnemoc> same for my $20 uhost
<rm> but I got no such mail about the u-host one (yet?)
<rellla> mnemoc: ask them to change it to a quad-one at 20$ ;-)
<mnemoc> rellla: afaik they never make such deals. they give you "store credits" you can use on other buys
<rm> they can also refund you
<Reepicheep12> Okay so I'll use the non crane on then cheers. Just finished building the kernel only to find that mkimage command is not found. Kernel compiled much quicker than I expected though. Maybe I should wait till tomorrow to compile a new one with the official driver.
<e-ndy> all: http://fpaste.org/Hug1/ i'm trying get realtime on cubieboard and kernel was cross compiled on fc18 using gcc-arm-linux-gnu-4.7.2-2.aa.20121114svn.fc18.x86_64 any clue what is going wrong? config is here - http://paste.stg.fedoraproject.org/3035/
Reepicheep12 has quit [Read error: Connection reset by peer]
jquip has quit [Quit: jquip]
<mnemoc> rm: only within the 45d of the payment, or to another newer order
eebrah has quit [Read error: Connection timed out]
eebrah has joined #arm-netbook
<oliv3r> scooby hipboi do, where are you!
<orly_owl> lol
<mnemoc> :D
<mnemoc> hopefully busy shipping the outstanding indiegogo orders
<mnemoc> including mine :)
kaspter has quit [Remote host closed the connection]
hansg has quit [Quit: Leaving]
jquip has joined #arm-netbook
eebrah has quit [Read error: Connection timed out]
eebrah has joined #arm-netbook
jquip has quit [Quit: jquip]
drgreenthumb has quit [Read error: Connection reset by peer]
drgreenthumb has joined #arm-netbook
pwhalen has quit [Ping timeout: 260 seconds]
pwhalen has joined #arm-netbook
pcat has joined #arm-netbook
jquip has joined #arm-netbook
eebrah has quit [Read error: Connection timed out]
eebrah has joined #arm-netbook
jquip has quit [Quit: jquip]
Sv2 has joined #arm-netbook
Sv2 has joined #arm-netbook
Sv2 has quit [Changing host]
sv has quit [Ping timeout: 276 seconds]
lerc has quit [Ping timeout: 256 seconds]
lerc has joined #arm-netbook
lerc has quit [Remote host closed the connection]
eebrah has quit [Read error: Connection timed out]
eebrah has joined #arm-netbook
Reepicheep12 has joined #arm-netbook
<Reepicheep12> Hey folks. So the kernel builds fine which is good news. But when the modules start building I get this:
<Reepicheep12> "ERROR: "ve_start" [drivers/media/video/videobuf-dma-contig.ko] undefined!
<Reepicheep12> "
<Reepicheep12> "ERROR: "ve_size" [drivers/media/video/videobuf-dma-contig.ko] undefined!"
<Reepicheep12> Any ideas?
Alex1269_ has joined #arm-netbook
<mnemoc> Reepicheep12: what defconfig and what tree?
<mnemoc> branch*
<Reepicheep12> crane defconfig (with modifications for the memory reserves and snd_usb_audio driver and gpio driver). sunxi-bsp branch. I was going to try with the standard sun4i-defconfig but I thought I'd see if this works first.
<mnemoc> Reepicheep12: can you grep `CONFIG_VIDEO_DECODER_SUN4I .config` on your build tree?
<Reepicheep12> I think you mean this "cat /root/sunxi-bsp/build/sun4i_defconfig-linux/.config | grep CONFIG_VIDEO_DECODER_SUN4I". I get "# CONFIG_VIDEO_DECODER_SUN4I is not set".
<mnemoc> enable it ;-)
<mnemoc> `make linux-config` should help
<mnemoc> also, using root to build is a bad idea
<Reepicheep12> Alrighty I can. Yeah I'll make a user. I was thinking I should disable it 'cause I read in the irc logs for this channel that disabling it is necessary for freeing the maximum memory when running headless. Is this not true?
<Reepicheep12> From the horse's mouth no less.
<mnemoc> yes, but in that case disable the whole video decoding, not only cedarx
leowt has joined #arm-netbook
<Reepicheep12> Not sure what you mean but that exactly? I'm trying to get the max ram by disabled all graphics, and so I'm commenting out these: CONFIG_MALI, CONFIG_VIDEO_DECODER_SUN4I, CONFIG_SUN4I_G2D, CONFIG_SUNXI_MALI_RESERVED_MEM, CONFIG_FB_SUNXI_RESERVED_MEM.
<Reepicheep12> What else should I be doing?
<leowt> hi there
<leowt> whats the difference between mele a1000 and a1000g?
<mnemoc> Reepicheep12: grep ^CONFIG_VIDEO please
<mnemoc> leowt: the 'g' has 1GB of ram and more nand
<Reepicheep12> Double the ram and double the nand as far as I know. 1GB and 8GB. And a slightly different pcb layout
<leowt> there is one with 1GB? owwww
<leowt> this sucks
<leowt> xD
<mnemoc> leowt: it's pretty recent, 1M or so
<leowt> i see
<Reepicheep12> mnemoc: http://hastebin.com/raw/kusutevami
<mnemoc> Reepicheep12: disable CONFIG_VIDEO_SUN4I_CEDAR too, if you still have troubles, disable them all
<mnemoc> but beware, you are killing video decoding
<Reepicheep12> Alright will give it a go compiling again, as regular user. Thank you.
<mnemoc> but that dep needs to be fixed anyway
<Reepicheep12> Video decoding isn't an issue I'm streaming outright via samba. Although in the (distant) future I might like to use stream with transcoding. I'll cross that bridge when it comes though. For now mplayer -cache works fine.
<mnemoc> :)
tinti has joined #arm-netbook
tinti has quit [Remote host closed the connection]
<ssvb> Reepicheep12: in theory, if we get CMA working, then these huge memory buffers for various accelerators can be allocated and freed at runtime, without the need to waste memory reserving them at boot
<Reepicheep12> Is that for linux in general not just the sunxi kernel?
specing has quit [Ping timeout: 272 seconds]
<Reepicheep12> Also, I've been meaning to ask, besides testing out these bleeding(ish) edge configurations (and writing instructions for this nand boot) is there anything I can do in particular to assist with the Arm project? Got some time and inclination but reduced skills.
<Reepicheep12> I thought maybe I could train myself up to help with the X drivers for Mali seeing as that's lacking but I'm a long way shy of that and also not that interested in graphics in general.
<ssvb> Reepicheep12: CMA is the new feature introduced in linux 3.5 - http://lwn.net/Articles/486301/
<ssvb> Reepicheep12: exactly to address this memory reservation issue, there are also some slides here describing the challenges and various alternatives - http://elinux.org/images/7/7c/Elce11_szyprowski_park.pdf
<mnemoc> i think this wasn't posted here. https://fosdem.org/2013/interviews/2013-luc-verhaegen/
eebrah has quit [Read error: Connection timed out]
eebrah has joined #arm-netbook
<oliv3r> damn i wish i had a cccar and money to go to fosdem again
<oliv3r> and it's only a 2-3 hour drive!
eebrah has quit [Ping timeout: 246 seconds]
<Reepicheep12> Well that's very interesting thank you.
Sv2 has quit [Read error: Connection reset by peer]
sv has joined #arm-netbook
Guest81842 has joined #arm-netbook
ganbold_ has joined #arm-netbook
rellla has quit [Ping timeout: 240 seconds]
tinti has joined #arm-netbook
xxiao has quit [Remote host closed the connection]
<leowt> where do i get a kernel .config so i can edit?
<leowt> make menuconfig, gives-me x86 options
rellla has joined #arm-netbook
Guest81842 has quit [Read error: Connection timed out]
<leowt> make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- sun4i_defconfig
<leowt> does that
<leowt> noob i am
datagutt has joined #arm-netbook
<leowt> mnemoc: CONFIG_SW_SATA_AHCI_PLATFORM=m
<leowt> is this the value i should change to have internal sata rootfs?
<mnemoc> yes
specing has joined #arm-netbook
<rm> looks like DX started to knock down the $20 uhost orders
<rm> <damian> 1/10/2013 3:54:51 AM Canceled The order has been cancelled.
<rm> <damian> I didn't get an email about it, I just logged in
<rm> mine is still not cancelled
hansg has joined #arm-netbook
<rellla> so mine is out of stock since now.
Guest43005 has joined #arm-netbook
leowt has quit [Quit: leowt]
Sv2 has joined #arm-netbook
sv has quit [Ping timeout: 276 seconds]
Guest43005 has quit [Read error: Connection timed out]
<buZz> poor DX :(
arokux has quit [Read error: Connection reset by peer]
ibrah has joined #arm-netbook
gsilvis has quit [Ping timeout: 256 seconds]
leowt has joined #arm-netbook
xxiao has joined #arm-netbook
arokux has joined #arm-netbook
arokux1 has joined #arm-netbook
leowt has quit [Quit: leowt]
leowt has joined #arm-netbook
ibrah has quit [Read error: Connection timed out]
ibrah has joined #arm-netbook
ibrah has quit [Ping timeout: 248 seconds]
pcat has quit [Read error: Connection reset by peer]
ganbold_ has quit [Remote host closed the connection]
rz2k has quit []
hp__ has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
<leowt> im getting headaches with BSD fdisk
<leowt> cant create partitions without editing/creating mbr
<leowt> do anyone knows how to do the DSpartitioning from BSD
<leowt> D
<leowt> *SD partitioning
<traeak> mnemoc: i'm amazed at how good the keyboard is on the x130e
jukivili has quit [Ping timeout: 264 seconds]
jukivili has joined #arm-netbook
hp__ has joined #arm-netbook
revident has joined #arm-netbook
<hramrach> traeak: cool. Does not look good on pictures iirc
<traeak> hramrach: the x130 you mean? or keyboard? just sayign i don't notice the keyboard when i type. on any other laptop i've ever used i've always noticed the keyboard "getting in the way"
hansg has quit [Quit: Leaving]
<hramrach> the new 'spill-resistant' keyboard design gets in the way on all notebooks I tried so far
<hramrach> not for a long time, just installing some stuff
<traeak> installed a linux distro on it last night and am doing some tweaking on it now, just got our code repo so i'll start to figure it out more here in a bit
<hramrach> $20 sticks too extreme deal even for deal extreme ^.^
<traeak> 20usd stick for?
<traeak> ohoh a10 stick
<traeak> lkcl's new 8 core processor had better beat/meet the 64bit arm cores to market or there might be trouble
<traeak> hmm
gimli has joined #arm-netbook
xman has joined #arm-netbook
techn has joined #arm-netbook
rellla has quit [Remote host closed the connection]
<hramrach> rm: dx removed the stick silently from my order
<leowt> Foram encontrados erros enquanto processava:
<leowt> console-common
<leowt> E: Sub-process /usr/bin/dpkg returned an error code (1)
<leowt> oops
<leowt> my lang
pcat has joined #arm-netbook
<leowt> invoke-rc.d: initscript keymap.sh, action "start" failed.
<leowt> have anyone tried to build debian rootfs lately?
<hramrach> I did
<hramrach> it works for me
<leowt> when?
<hramrach> I used wheezy, not sid as that page recommends
<hramrach> the date on the chroot is Jan 4
<leowt> im going to try to create a new one based on wheezy then
<hramrach> leowt: try BuildinOnDebian
<hramrach> I recorded there what I did so I can re-create the chroot later, and it worked
<hramrach> * BuildingOnDebian
<hramrach> building sid in general is stupid
<leowt> building on wheezy
<leowt> tnks
hg_5 has joined #arm-netbook
<leowt> hramrach: same with wheezy
rellla has joined #arm-netbook
ibrah has joined #arm-netbook
ibrah is now known as eebrah
<leowt> dunno whats happening
<leowt> <6>io scheduler cfq registered (default)
<leowt> <6>Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
<leowt> <6>serial8250.0: ttyS0 at MMIO 0x1c28000 (irq = 1) is a U6_16550A
<leowt> no video output
<leowt> no disk i/o
<leowt> serial output stays put
<leowt> what
<leowt> login prompt appeard
<leowt> isnt it supposed to output init through serial?
<mnemoc> only if the proper console= is passed
<mnemoc> and your userspace has a getty configured to use it
Quarx has quit []
<leowt> got it
<leowt> =D
popolon has quit [Quit: Quitte]
Reepicheep12 has quit [Ping timeout: 260 seconds]
<leowt> console=ttyS0,115200n8 console=tty0
<leowt> did the trick
<leowt> now problem n2, how do i enable vga or hdmi framebuffer console?
<mnemoc> do you have fbcon enabled in your kernel?
<leowt> if its not by default no
<leowt> =P
<ZaEarl> mnemoc, I uploaded a couple files I got from Allwinner: http://linux-sunxi.org/A31#External_links
<leowt> only thing i changed was SATA
<mnemoc> then you should have it. so it depends on having vga/hdmi as the default screen in your script.bin
<mnemoc> and that the attached display do the modes supported by the sunxi-disp driver
<mnemoc> dvi monitors are known to be a problem
<mnemoc> in most devices the simplest is to try to get hdmi output on a tv
<mnemoc> and then tweak it for your monitor
<leowt> havent changed anything on script.bin yet
<leowt> but i don have hdmi or vga. the if it is all ok, it is outputing by composite
<leowt> *then
<mnemoc> a mele?
<mnemoc> for composite output you will have to play with the script.bin
<leowt> yep
<leowt> i was saying that i didnt change anything on video output in srcipt bin
<leowt> and there is no output in vga or hdmi
<leowt> so i suppose if it is enabled, it is outputing in composite
<leowt> but if you say that it isnt by default
<leowt> ill go se just now
<leowt> when i create a new script.bin, ive got to create a new boot.src?
<mnemoc> a simple test is you cat /dev/urandom > /dev/fb0
<mnemoc> s/you/to/
<ibot> mnemoc meant: a simple test is to cat /dev/urandom > /dev/fb0
<leowt> ok
<leowt> lets see
eFfeM has joined #arm-netbook
<mnemoc> randomness is usually ugly, but it will tell you if the display is active and "merely" black
<leowt> no output
<leowt> btw
<leowt> are the kernel modules necessary to do this?
<leowt> well
<leowt> such a noob i am
<leowt> xD
<leowt> if it is compiled as m
<leowt> it must be, since is not boot critical i think
<leowt> ill go check
<leowt> CONFIG_FRAMEBUFFER_CONSOLE=y
hg_5 has quit [Ping timeout: 255 seconds]
specing has quit [*.net *.split]
Jef91 has quit [*.net *.split]
hno has quit [*.net *.split]
dyoung-away has quit [*.net *.split]
acfrazier has quit [*.net *.split]
blahee has quit [*.net *.split]
blahee has joined #arm-netbook
Jef91 has joined #arm-netbook
specing has joined #arm-netbook
hno has joined #arm-netbook
dyoung has joined #arm-netbook
<slapin> hno: hi, are you here?
acfrazier has joined #arm-netbook
<leowt> mnemoc: now that i have a running envoirment on mele without kernel modules, can i easly get the kernel modules here? without having to build another img?
<leowt> i mean, how can i...
tux4 has joined #arm-netbook
eebrah has quit [Read error: Connection timed out]
eebrah has joined #arm-netbook
<mnemoc> leowt: install them in /lib/modules/$KERVER/, and depmod -a
<mnemoc> Turl: happy birthday!
<leowt> building it in the same machine with INSTALL_MOD_PATH=/lib/modules/$KERVER/ ?
<leowt> can't i build on another machine and trasfer?
<leowt> *transfer
<mnemoc> if building in the same machine, `make modules_install`
<mnemoc> INSTALL_MOD_PATH is only needed when building somewhere else
<leowt> make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- INSTALL_MOD_PATH=output modules_install
<leowt> that is what ive done
<leowt> following your wiki
<mnemoc> then go to output/lib/modules/.... and transfer everything to your mele
<leowt> mnemoc: that's it
<leowt> many tnks
<mnemoc> also, that's the reason why you don't have fbcon. hdmi and lcd are m by default
<leowt> yep, i realized that
<rellla> should we take care, not to offer the same information at diff places in wiki? Debian, FirstSteps... I think you doubled some infos...
<mnemoc> firststeps should be host agnostic and provide interlinks to the different options
<mnemoc> also device agnostic
<leowt> mnemoc: done =D
<leowt> tnks
<mnemoc> leowt: don't forget to share your new knowledge improving the documentation on the wiki
<leowt> mnemoc: thats my goal
<leowt> still trying to learn as fast as i can
specing has quit [Ping timeout: 260 seconds]
<mnemoc> :)
<leowt> btw, how do i autoload kernel modules sutch as disp/hdmi, etc
<leowt> and how do i test them?
eebrah has quit [Read error: Connection timed out]
specing has joined #arm-netbook
Guest88371 has joined #arm-netbook
<mnemoc> ZaEarl: thank you!
<leowt> you shure need a better doc for ppl like me that have no experience. ill contrib to that
<leowt> mnemoc: how do i get for example, console output in hdmi or vga since kernel load?
<mnemoc> s/you/we/
<ibot> mnemoc meant: ZaEarl: thank we!
<mnemoc> err
<mnemoc> leowt: even if you have hdmi/lcd as built-in they won't start until pretty late in the boot process
<leowt> mnemoc: why? even if they arent compiled as modules?
<mnemoc> leowt: I suppose it's a matter of dependencies. but libv, techn, hansg and ssvg know better
<leowt> so, anyways nothing i can do =P. But it is planned to have in a near future?
<libv> it's just allwinner stupidity
<libv> that hasn't been fixed yet
<leowt> i see
Guest88371 has quit [Ping timeout: 265 seconds]
<leowt> so, there is?!
<leowt> cool
<mnemoc> there is nothing like "naively" poking the disp team :p
<leowt> heh
<leowt> =)
<libv> the ordering bs still needs to get fixed though :p
<libv> mnemoc: i should disable hilighting when you are doing it :p
<techn> libv: I think hansg fixed that
voronaam has joined #arm-netbook
<leowt> basically, it should display fb console at boot at the resolution i set in script.bin?
<libv> techn: no surprise there :)
<techn> hmm.. I should update todo with current EDID functinality
<mnemoc> libv: :)
<barqux> leowt: btw, I have framebuffer console on boot and I basically followed the link posted by techn
<leowt> barqux: k, i will recompile the kernel and change script.bin to test
<libv> techn: if this wasn't such a huge mess, hansg would've soon run out of things to do ;)
<leowt> btw, whats the advantage of using linaro's ubuntu rootfs?
<techn> libv: :D
<leowt> i heard something about the compiler but i didnt catch it
<techn> libv: I'm also quite happy with this mess.. There is always something to investigate and study.. this kernel great guide how to not do things :)
<techn> good learning :)
<libv> techn: well, if some more hansg turn up, there will be little left over for us to learn ;p
<libv> but yeah, horribly broken code is good
<libv> slightly broken code just teaches bad habits :)
<techn> libv: yes.. if it's used for learning.. not if it's product code :D
<libv> working things are boring :)
<techn> leowt: I'm using linaro just becouse it's done by linaro group.. linaro is supposed to drive common linux for arm :/
<libv> which is why everyone except the actual open source people shrugged when lima was announced :)
<mnemoc> and in case of troubles, if you report a problem they won't run away when hearing the "ARM" word most people on the channels of other distros
<leowt> ok, so i will soon get linaro's ubuntu on my machine
<leowt> and then do a doc in the wiki about it
<mnemoc> we have a debian armhf rootfs too
<mnemoc> and welcomed to host other rootfs-s if people is willing to make them
<leowt> i will write one
<mnemoc> it's so frustrating to see discussions about dd-able images
<mnemoc> so pointless...
<techn> also we'd like to get package maintainer for every disto, so users could just apt-get updates ;)
<mnemoc> http://packages.linux-sunxi.org/mydistro/ is alread there.... "just" needs a maintainer
<tux4> hi! I have a a10 android box(stv-301) same as emapt0 has (http://ibot.rikers.org/%23arm-netbook/20121110.html.gz)
<tux4> I have the same problem like he has, there is no signal on hdmi
<tux4> only in android
Sv2 is now known as sv
<tux4> I have uart/jtag access
<leowt> if this hardware gets choosed
<techn> tux4: which branch?
<leowt> i maybie am able to get a company to mantain ubuntu packages
<techn> or which kernel
eFfeM has quit [Ping timeout: 252 seconds]
<techn> leowt: we need only couple packages, mali egl/es2, cedarx, X driver and kernel
<techn> leowt: not full distro
<leowt> techn: still, they could mantain it, if they need it
<techn> tux4: you could try latest kernel
eebrah has joined #arm-netbook
<tux4> I will try
<tux4> I dumped boot1 file header following this guide https://github.com/linux-sunxi/u-boot-sunxi/wiki
eFfeM has joined #arm-netbook
<tux4> and sent to that email address with script.bin and type of memory chips
<techn> tux4: great :)
<tux4> but I didn't get any reply yet
<techn> hno: ^
<techn> tux4: If you want to be step a head.. check board/allwinner in allwinner folder
<techn> and add your board there. take example from other boards there
<tux4> how could I get the right content of dram.c?
<leowt> i have fb console
<leowt> weeee
<leowt> =)
<mnemoc> a10meminfo -> script.fex -> fexc -O u-boot
<mnemoc> -> dram.c
<techn> mnemoc: oh.. there is app for that :D
<mnemoc> :)
<leowt> lxde its slooow
<techn> leowt: you cpu is propably running @ 60Mhz
<mnemoc> leowt: by default A10 devices tend to live at 60MHz
<leowt> what?! xD
<leowt> 60mhz?
<leowt> BogoMIPS : 59.63
<jelly-home> that seems to be a very popular page
<leowt> well
<mnemoc> about that, what do you think about hansg patch changing the defaults?
<techn> mnemoc: how about that 400Mhz default clock patch? :)
<leowt> its fast
<mnemoc> damn
<leowt> for 60mhz its pretty fast
<leowt> xD
<mnemoc> techn: would like to know how it affects android people
<mnemoc> leowt: :)
<techn> I think android ppl are using different governor
<techn> let me check
<mnemoc> iirc the patch is not ondemand-specific
<leowt> now to have a cool desktop env, i got to compile xorg drivers right?
<leowt> wen i drag a window cpu jumps to 100% eheh
<leowt> libdri2-1 libdri2-dev
<leowt> there isnt that on debian
<leowt> do anyone knows what packages have those deps?
<leowt> Timing cached reads: 488 MB in 2.00 seconds = 243.41 MB/sec
<leowt> Timing buffered disk reads: 116 MB in 3.02 seconds = 38.36 MB/sec
<leowt> in a slow disk
<leowt> thats good
<mnemoc> leowt: fixed your cpufreq setup?
<leowt> mnemoc: yep
<leowt> BogoMIPS : 1001.88
<mnemoc> I get 120MB/s when using a rad1 device over esata
<mnemoc> raid1*
<ssvb> leowt: xf86-video-mali is very slow for 2D graphics, bad performance is expected
<leowt> esata? in a mele?
<leowt> ssvb: with framebuffer, X11 is slow
<leowt> ssvb: what do you recommend?
<techn> mnemoc: https://github.com/allwinner-dev-team/android_device_allwinner_common/blob/master/init.sun4i.rc => write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor fantasy
<ssvb> leowt: xf86-video-mali is just unreasonably slow for 2D, like several times slower than it could be with software rendering
<leowt> so, ssvb, what's the solution to have a reasonable x11 experience ?
<mnemoc> techn: I know they use fantasy (or interactive).... but the patch is to cpu-freq.c directly, not to the gvernor
<techn> mnemoc: yes.. seems fantasy uses that min value
<techn> mnemoc: do you know if deep sleep is used?
<techn> or other sleep states
<techn> if those are used that patch could even improve battery life
<mnemoc> techn: i've never dived into android :<
<mnemoc> i'm only a lazy user there
<ssvb> leowt: xf86-video-fbdev is better for 2D, and maybe I will have something better to recommend soon
<leowt> ssvb: cool, like what? =P
<leowt> debian does not have libdri2-dev
<leowt> what should i do with libdri2 from git?
<techn> it could be with different name
drachensun has quit [Quit: Leaving]
<leowt> techn: if it is, i cant find
eebrah has quit [Ping timeout: 248 seconds]
eFfeM has quit [Quit: Leaving.]
eebrah has joined #arm-netbook
<wingrime> why normal gonv not work good on a10 ?
<mnemoc> what?
eebrah has quit [Read error: Connection reset by peer]
eebrah has joined #arm-netbook
datagutt has quit [Quit: kthxbai]
hg_5 has joined #arm-netbook
Reepicheep12 has joined #arm-netbook
<mnemoc> Alex1269_: for the v2 of sunxi-led, beside techn's comments please add a real name and a real mail address to the MODULE_AUTHOR thing
<leowt> playing audio takes 40% of cpu
<techn> mnemoc: how I can add table from tags to wiki
<leowt> but quality is quite good though
eebrah has quit [Read error: Connection reset by peer]
dw has left #arm-netbook [#arm-netbook]
<WarheadsSE> leowt: what kind of audio, with what program, out what port
<leowt> mp3 stream
<leowt> vlc
<leowt> composite
<leowt> RCA i mean
eebrah has joined #arm-netbook
<mnemoc> techn: a what?
<techn> I mean table based on categories
<rm> leowt, at which CPU frequency?
<mnemoc> techn: that probably requires an extension
<mnemoc> techn: we only have the extension to render the categorytree
<techn> mnemoc: It would be great to add table of tutorials to end of FirstSteps page
<mnemoc> techn: and a tree won't do? :p
<mnemoc> of the tutorials category
<techn> that will work too :)
<mnemoc> is the code on the frontpage, where we list the devices
<mnemoc> s/is/see/
<ibot> mnemoc meant: see the code on the frontpage, where we list the devices
<techn> I'll check
<techn> mnemoc: thanks :)
<mnemoc> yw :)
eebrah has quit [Ping timeout: 276 seconds]
<tux4> ls
<mnemoc> /names
toxicpsion has quit [Remote host closed the connection]
dfletcher_ has joined #arm-netbook
leowt has quit [Quit: leowt]
drgreenthumb has quit [Ping timeout: 252 seconds]
dfletcher__ has joined #arm-netbook
dfletcher_ has quit [Ping timeout: 255 seconds]
drachensun has joined #arm-netbook
wingrime has quit [Ping timeout: 252 seconds]
steev_ has quit [Ping timeout: 255 seconds]
revident has quit [Quit: Combustible lemons? Bah, I bring you weaponized asparagus!]
Jef91 is now known as Jef91|Out
lerc has joined #arm-netbook
Sv2 has joined #arm-netbook
specing has quit [Ping timeout: 255 seconds]
sv has quit [Ping timeout: 276 seconds]
tux4 has quit [Quit: Távozom]
specing has joined #arm-netbook
<jinzo> uh looks like libv will be giving a talk at FOSDEM
<mnemoc> yes. and has an interview about it
<andoma> who here's going to fosdem?
* xenoxaos isn't
dfletcher has joined #arm-netbook
dfletcher__ has quit [Ping timeout: 248 seconds]
xman has quit [Quit: Saindo]
<hno> another board of some odd product. At least it have console port clearly marked.
<hno> hmm.. wonder if it really has that many USB ports as the PCB markings show, or if some are alternative placements.
<hno> 2 UART ports?
<hno> 15 minutes of dd transfering my disk data left...
tinti has quit [Quit: Leaving]
<xenoxaos> as you get a 'no space left on device' in 14 min
<WarheadsSE> :p
<hno> not this time. cloning a 160GB old disk to 250GB SSD.
dfletcher_ has joined #arm-netbook
<WarheadsSE> not sure I would have DD'd, but,
<jinzo> andoma, I'm pondering it
<hno> why not?
<WarheadsSE> I would have created a new FS on the SSD, more aware of the underlying disk
<WarheadsSE> block size, etc
<andoma> jinzo: i'm going
<jinzo> alas the dx 802 sticks, they say I'll have to wait a long time
<jinzo> andoma, cool
<hno> partitions is pretty well aligned already.
<hno> well, not the Windows one, but don't care about that one.
<jinzo> also mnemoc I wonder if they're bundling any source code with it
dfletcher has quit [Ping timeout: 264 seconds]
* mnemoc prefers tar | tar
<mnemoc> jinzo: doubtful
<hno> tar is not so good at transferring windows or boot loaders.
<mnemoc> :)
lerc_ has joined #arm-netbook
<hno> not even sure it correctly preserves all extended file attributes in use.
<mnemoc> -a should...
<mnemoc> fortunatelly I don't use extended attributes
lerc has quit [Read error: Connection reset by peer]
<hno> -a Auto Compress.. doubt..
lerc_ has quit [Read error: Connection reset by peer]
<mnemoc> err, confused with cp
<hno> --selinux --xattrs might work.
<mnemoc> putting pv in between is fun, but that applies to dd too
<hno> pv?
<mnemoc> shows the speed of the pipe
<WarheadsSE> interesting
<hno> there is no pipe in dd.
<mnemoc> dd | pv | dd
<hno> it's done.
<mnemoc> makes long io tasks less boring
<hno> Hmm.. why didn't I switch to an SSD earlier? 2 seconds boot time after kernel loaded is pretty damn impressive on this old laptop.
<mnemoc> dd | gzip | pv | ssh -c 'gunzip | dd' and stuff like that
<mnemoc> hno: brand/model?
<hno> Lenovo W500 laptop. Samsung 840 250GB SSD.
<traeak> hno: so far i'm happy with the 320GB in the lenovo x130e i just got
<traeak> but for the life of me i can't get windows to work well with an SSD i put in our windows build/verification system
gimli has quit [Ping timeout: 256 seconds]
<hno> right... wonder if Windows will at all boot.
<mnemoc> I failed to dd the preinstalled windows of mine to the ssd, had to reinstall it
<hno> Windwos XP logo at least shows..
<hno> It boots. But Linux is by far faster.
<traeak> xp ?
<traeak> i never activated the windows license
<hno> It came with an activated xp installed.
hg_5 has quit [Ping timeout: 255 seconds]
<mnemoc> MS has became very efficient in been a pain to install/migrate with the new versions since XP
<traeak> w500 is pretty old (relatively)
<hno> traeak, yes, but can't find any newer with good size display.
<hno> this one has 1600x1200.
<mnemoc> the state of the laptops resolution is a shame
<slapin> hno: hi
<hno> I think someone should invent a strechable display. Would be nice to fit this size display in 70% of the height when closed.
<hno> hi slapin
<slapin> hno: patchset for u-boot mtd update is almost ready
<hno> cool
<slapin> hno: I'm drowning in effort, though
<slapin> hno: will you be available for testing on weekend?
<hno> can understand that. There is q fair bit of modifications to u-boot mtd.
<hno> Maybe. But not sure. have some stuff to prepare for a business trip next week.
leowt has joined #arm-netbook
<slapin> hno: you can look at github:slapin/uboot-allwinner mtd-3.7.1 branch, to test it is needed to have patches on top of that (which update to 3.8-rc1) from my work branch
servili007 has joined #arm-netbook
<leowt> rm, BogoMIPS : 1001.88
<Reepicheep12> Morning guys (for me). Just wanted to say the kernel/modules compiled succesfully and everything is up and running (speakers singing as I type). Thanks enormously for all your assistance. I'll be back here at some stage with some instructions on what I did and likely for some more of your sage advice. Cheers.
<hno> slapin, so I should test your work branch?
<slapin> hno: my work branch is a bit outdated
<hno> slapin, so there is no branch suitable for testing?
<slapin> hno: by the way we probably need to rebase on latest u-boot tree, not sure though
<hno> that's always a good idea when submitting patches.
<traeak> i can't see well anymore so high high resolution is bad bad
<slapin> hno: no testing branch really, but you can try MAKEALL on mtd-3.7.1 and fix things at least, there is still broken drivers and such, bisecting+rebasing all free time, I'm sick of it a bit
freakazoid0223 has joined #arm-netbook
<hno> traeak, high resolution is not incompatible with degraded eye sight.
<hno> actuallly helps if used right.
<slapin> hno: that will help too, I will then apply my 3.8-rc1 update, then will submit these separately
* slapin gone sleeping
* hno also gone sleeping for some hours. Have some more OpenRISC games to play tomorrow.
<slapin> hno: OR is cool, which one? small or big?
lerc has joined #arm-netbook
mtndew` has joined #arm-netbook