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/
ganbold has joined #arm-netbook
damo22 has quit [Remote host closed the connection]
tinti_ has joined #arm-netbook
voronaam has quit [Quit: Leaving.]
L84Supper has quit [Quit: <puff of smoke>]
itamarjp has joined #arm-netbook
L84Supper has joined #arm-netbook
stefanro1 has joined #arm-netbook
stefanro has quit [Ping timeout: 272 seconds]
kaspter has joined #arm-netbook
kaspter has quit [Read error: Connection reset by peer]
popolon has quit [Quit: Quitte]
tinti_ has quit [Quit: Leaving]
clyphox has quit [Ping timeout: 255 seconds]
servili007 has joined #arm-netbook
itamarjp has quit [Ping timeout: 252 seconds]
Quarx has joined #arm-netbook
aholler_ has joined #arm-netbook
aholler has quit [Ping timeout: 244 seconds]
Jef91 has quit [Remote host closed the connection]
Jef91 has joined #arm-netbook
antonl has joined #arm-netbook
<orly_owl> does a10 support hdmi cec
<orly_owl> ty
<orly_owl> now linux needs to support it
servili007 has quit [Quit: Leaving]
Ershov has joined #arm-netbook
Ershov has left #arm-netbook [#arm-netbook]
servili007 has joined #arm-netbook
Jef91 is now known as Jef91|Away
eebrah has joined #arm-netbook
gzamboni has joined #arm-netbook
ganbold has quit [Ping timeout: 244 seconds]
ganbold has joined #arm-netbook
gzamboni has quit [Ping timeout: 264 seconds]
lkcl__ has quit [Ping timeout: 246 seconds]
oliv3r has joined #arm-netbook
servili007 has quit [Quit: Leaving]
von_fritz has joined #arm-netbook
rrr has joined #arm-netbook
rrr has quit [Quit: Page closed]
jquip has joined #arm-netbook
<slapin_> why do we need cec on dvi-d?
<slapin_> hi, all!
<orly_owl> for dvi to hdmi adapters
arokux has joined #arm-netbook
gzamboni has joined #arm-netbook
von_fritz has quit [Quit: vonfritz leaves, don't panic]
gzamboni has quit [Ping timeout: 255 seconds]
gzamboni has joined #arm-netbook
<zoobab> hi
eebrah has quit [Ping timeout: 265 seconds]
chz_ has joined #arm-netbook
gsilvis has quit [Read error: Connection reset by peer]
gsilvis has joined #arm-netbook
eebrah has joined #arm-netbook
chz_ has quit [Quit: Leaving]
<oliv3r> is it even possible to have cec on dvi-d?
<slapin_> as I understand hdmi is different from dvi-d only by form factor
<oliv3r> not from what I know
<oliv3r> the video information, yes it's pure dvi
<oliv3r> but hdmi also has hdcp (but ignoring that) there's extra lines for audio too
<oliv3r> it's dvi +
<slapin_> hdcp is dvi function, too
<oliv3r> and I think, pretty sure actually, that cec is a seperate wire
<oliv3r> i thought that hdcp requires a specific wire on the hdmi pinout
<oliv3r> I think, DVI and HDMI both transfer TMDS
<oliv3r> but hdmi has pin 13, CEC
<oliv3r> pin 14 is ethernet on hdmi 1.4 (also, not in dvi spec)
<oliv3r> i2c probably is on both
<slapin_> http://en.wikipedia.org/wiki/DVI says hdcp does exist on dvi
<oliv3r> +5v is on both, but dvi has analog wires
<oliv3r> slapin_: that could bbbe very possible
<slapin_> oliv3r: I mean dvi-d of course
<oliv3r> ah, well yeah
<oliv3r> i was just comparing the entire pinout ;)
<slapin_> oliv3r: ethernet on hdmi? single pin? weird...
<buZz> hmm, is there no way to let an A10 chip output custom resolutions on HDMI?
<oliv3r> slapin_: oh yes, hdmi does ethernet on pin 14 :)
<buZz> my screen is 1366x768 and i would like to get non-blurry pixels :D
<oliv3r> that's not reasonably uncommon
<slapin_> does any A10 board outputs ethernet on HDMI?
<oliv3r> slapin_: i extremly seriously doubt it
<slapin_> and single-pin etherned is wicked thing
<slapin_> and is there any docs on implementation, where is hec phy?
<slapin_> this feature is very interesting for a10 boards
<slapin_> but probably not too practical at the time
<slapin_> probably mac-only ethernet switch + hec phy + normal phy will do
<slapin_> on mk802 original and 1GB version I see menu option to configure resolution, and it works on my small screen tv with hdmi input
<buZz> slapin_: doet it list 1366x768 ?
<hno> slapin_, Ethernet started as a single coax wire bus topology.
<hno> oliv3r, yes CEC is a separate wire.
<hno> DVI can carry HDMI video+audio signals. But DVI decoders can not decode them. DVI inputs connected to a HDMI decoder can.
<hno> Some interoperability is possible on video stream. But not guaranteed. But if the display have HDMI input then it very likely accepts full HDMI video+audio on DVI connectors as well.
popolon has joined #arm-netbook
eebrah has quit [Ping timeout: 255 seconds]
gzamboni has quit [Ping timeout: 256 seconds]
<hno> slapin_, HEC is a balanced twisted pair + shield.
gzamboni has joined #arm-netbook
<oliv3r> i thought that the video + audio DVI thing was something propriatory used by some video cards
<hno> oliv3r, not really. Only HDMI signalling over DVI connector, with cable adapter to HDMI.
<hno> HDMI carries audio over the same LVDS pairs as video. Just another packet type.
<hno> DVI and HDMI differs slightly in video formats supported, using different resolutions and colour encoding.
<oliv3r> ah, didn't know that
<hno> but same signalling and overall packet format.
<slapin_> hno: hi
<oliv3r> i thought they'd abuse some pins, but that kinda makes sense, if you have a HDMI controller, why not
<slapin_> hno: I found no second wire in specification
<slapin_> hno: I wired some of BNC ethernet networks myself :-P
<slapin_> hno: any NAND news? going to work on it in a few hours, as I get a break from paid work.
<hno> slapin_, no news. Haven't been able to look at it for some weeks now.
<slapin_> hno: could you please give me link on your processor boot dump again to repeat your register setting with reading first block (boot0)?
<hno> Allwinner-info git repository in NAND directory.
<slapin_> hno: falied to parse
<slapin_> hno: ah
<hno> The dumps are found in the NAND directory of my My Allwinner-info git repository on github.
<slapin_> hno: thanks
<hno> slapin_, I still have logic analyzer connected if there is something you want me to verify.
<hno> but out of ideas how to drive this in CPU mode.
<hno> DMA mode is pretty easy however.
<slapin_> hno: so you were able to read all pages of NAND block 0, but not othere, am I right?
<hno> No. I can only read first sector usign CPU, and only by sending the read command and then reset the controller.
<hno> trying to read second sector only returns garbage. Presumably because randomizer needs different seeding.
<hno> And having to reset the NAND controller to access the result is just wrong.
<slapin_> hno: have you seen correlation between seed values in leechie u-boot?
<slapin_> hno: wnd why you need to reset controller?
Jef91|Away is now known as Jef91
jquip has quit [Ping timeout: 265 seconds]
rz2k has joined #arm-netbook
gzamboni has quit [Ping timeout: 264 seconds]
<slapin_> hno:
Jef91 has quit [Quit: Instantbird 1.3 -- http://www.instantbird.com]
gzamboni has joined #arm-netbook
rellla has joined #arm-netbook
rsalveti_ has joined #arm-netbook
rsalveti has quit [Ping timeout: 245 seconds]
rsalveti_ is now known as rsalveti
<buZz> pfff
<buZz> you know these ppl
<buZz> that are so authoritairy that they will destroy all your feeling of community?
<buZz> like ReggieUK in #raspberrypi
<buZz> who SOMEHOW has taking it upon himself to rid the internet of 'foul language' of which only _he_ is the judge what is and what isnt
<orly_owl> time for kickban
drachensun has joined #arm-netbook
<jinzo> buZz, that one was interesting yes
<buZz> he somehow got 'elected' the only channel operator
<buZz> maybe i should complain in #freenode
<mnemoc> one # means it's the official channel
<mnemoc> so you can also complain to raspberrypi orga
<buZz> ah, not the only one
jquip has joined #arm-netbook
<buZz> its not the official channel
<buZz> -!- Topic for #raspberrypi: Unofficial RaspberryPi IRC channel but "Blessed" by the Foundation as the ONE channel.
<mnemoc> then it's illegal ;-)
<mnemoc> freenode doesn't accept # channels unless they are official
<mnemoc> unofficial channels start with ##
<mnemoc> still, complain to both if you find it's needed. but it's offtopic here anyway
<jinzo> and not worth it.
<jinzo> really.
<mnemoc> +1
antonl has quit [Ping timeout: 264 seconds]
<jinzo> I'm just browsing a local tech shops tablets and they're selling a MyAudio 708W (something unbranded ofcourse) - and in description they have: Allwinner A13 ARM cortex AND Rockship 1.2GHz (yes, not even Rockchip spelled correctly)
<jinzo> and I tought only chinese are capable of such screwups/lack of knowledge on what you're selling
<jinzo> damn Rocker is on fire on the wiki :D
<jinzo> anyone know what's the state of CryptoDev (/dev/crypto) on Allwinners SoCs?
<jinzo> on the note: Focalprice has a christmas promotion with free express shipping (ofcourse free as in "free")
<jinzo> but still, a lot of tablets and phones in there
<jinzo> from the usual suspects to iMX6 quad core version (200USD)
<buZz> nice :D
<specing> jinzo: nonexistant
<jinzo> specing, you mean iMX6 Quad? There were some shippings, even from hiapad (for their dongle)
<jinzo> but yes
<specing> cryptodev
<jinzo> ah ok - thanks for the info. Even in the Android builds? As Android has some sort of encryption available (in ICS+)
popolon has quit [Ping timeout: 272 seconds]
<focus_well> if you want to play with KiCAD and A10 schematic design, I now have a KiCAD project file with A10 BGA as a schematic: http://www.gplsquared.com/SoM2/SoM2.html - Early days still - need to put in a few more chips before full design can begin
jquip has quit [Quit: jquip]
<specing> jinzo: A10 doesen't have a hardware crypto accel
<jinzo> then someone has to correct Rocker on the sunxi wiki
arokux has quit [Ping timeout: 264 seconds]
<hno> specing, it does, but we have no info or drivers on how to use it.
<hno> jinzo^
jquip has joined #arm-netbook
<jinzo> makes sense indeed.
Maqs has quit [Ping timeout: 272 seconds]
<hno> Allwinner is not so good at making it possible to utilize their chips full potential.
Maqs has joined #arm-netbook
<traeak> hno: who does? intel i guess
<hno> Even NVidia is lightyears ahead of Allwinner in that area.
<buZz> hehe
<specing> hno: It has an encryption accelerator? Oh boy, this is new.
arokux has joined #arm-netbook
hg_5 has joined #arm-netbook
lkcl_ has joined #arm-netbook
<ccssnet> via has had one for quite some time ^
<ccssnet> since 2006 i think
<buZz> yeah, even in C3 processors
<ccssnet> via ACE
<ccssnet> i think its called
<ccssnet> who's going to audit those accelerators?
<ccssnet> ;)
<buZz> hehe
<buZz> probably the same ppl auditing all those RNG
<mnemoc> CIA?
voronaam has joined #arm-netbook
<buZz> nah, much smaller :)
<buZz> compagnies like Fox-IT, Madison Gurka etc
freakazoid0223 has quit [Quit: Leaving]
tinti has quit [Quit: Leaving]
Quarx has quit []
jquip has quit [Read error: Connection reset by peer]
von_fritz has joined #arm-netbook
Skaag has joined #arm-netbook
<Skaag> I need help configuring X11 to work on an Olinuxino A13 with the drive sun4i-ts
<Skaag> Last time I configured X11 was more than 10 years ago… :-o
<Skaag> any pointers will be appreciated :)
<techn_> Skaag: which distro?
<Skaag> debian squeeze
<Skaag> sorry, Wheezy
<Skaag> I already compiled that, and used this to build my SD card
<Skaag> I mean that's how I actually have debian on my a13, thanks to sunxi-bsp :)
<Skaag> I have an LCD7-TS connected to it
<Skaag> I'm sure the VGA port would work fine, but I'm trying to get the LCD + TouchScreen to work
<techn_> ah.. lcd
<Skaag> yes :-(
<Skaag> Something tells me I'm about to enter a world of pain
<techn_> you have something visible on lcd?
<Skaag> nothing
<Skaag> it blinks once, when the a13 boots
<techn_> backlight running?
<Skaag> if I remove my SD card, Android boots (comes built into the A13), and the screen works
<Skaag> backlight is currently off
<techn_> first.. make sure that you have same script.bin / .fex file as with that stock android
<Skaag> i'll convert my .bin to .fex so I can inspect it
<techn_> if they are same.. then check stock android lcd.ko, which objects it consists.. since they could have build lcd.ko with hardcoded lcd parameters :/
<techn_> if that wont help.. you could ask help from olinuxino to get right parameters to script.bin. :/
<techn_> unless you are skilled enough to read them on datasheet (if available)
<Skaag> two of them are for LCD, with my resolution
<Skaag> I can read from data sheet, I just figured there might be a simpler solution. maybe this is my ticket. trying it out now.
<Skaag> I mean I can't be the first person who tries this :-0
<Skaag> :)
<techn_> ok. place correct one to ./sunxi-boards/sys_config/a13/a13_olinuxino.fex
<techn_> then make hw-pack install :)
<techn_> seems that .fex file in our repo uses 800x600 panel, your panel is 800x480?
<Skaag> yes, it's 800x480
<techn_> yep.. so changin that should do the trick
<Skaag> I have to re-make hw-pack? I can't just take the correct .fex, bin it, and stick it in my vfat partition on the sd?
<techn_> Skaag: sure :)
<Skaag> oh ok
<Skaag> is that what happens while making hw-pack?
<techn_> yep.. makefile system should do that for you.. but if you feel that making it manually, you can do that
<mnemoc> if it works, please give us the relevant diff
<mnemoc> to fix/improve sunxi-boards
<techn_> mnemoc: it should work.. atleast I havent seen problems with that
<mnemoc> I mean the fix for ./sunxi-boards/sys_config/a13/a13_olinuxino.fex
<techn_> mnemoc: ah :)
popolon has joined #arm-netbook
<Skaag> will most definitely do that
<arokux> hi all, I would like to sell my Mele A1000, anybody interested? It would be best if you are in Germany.
rz2k has quit []
gimli has joined #arm-netbook
<buZz> arokux: wanna trade it for the printed parts for a 3D printer? :)
<arokux> buZz, not really :)
<buZz> boooo
<buZz> :P
rellla has quit [Remote host closed the connection]
<Skaag> :-)
<Skaag> aha!! I managed to mount the NAND on the A13, and I'm now extracting the bin files from it
<buZz> woohoo :P
<Skaag> there are 3 for some reason… magic.bin, script.bin and script0.bin
<Skaag> ok magic.bin is not really a .fex file originally, it's probably the boot record, since it's 512 bytes exactly
servili007 has joined #arm-netbook
rellla has joined #arm-netbook
eFfeM has joined #arm-netbook
traeak has quit [Remote host closed the connection]
eFfeM has quit [Quit: Leaving.]
eFfeM has joined #arm-netbook
traeak has joined #arm-netbook
n6pfk has joined #arm-netbook
n6pfk has quit [Remote host closed the connection]
hp__ has quit [Ping timeout: 276 seconds]
ssspiff has quit [Ping timeout: 272 seconds]
<Skaag> so now I have the script.bin from the android with the correct resolution settings
eFfeM has quit [Read error: Connection reset by peer]
eFfeM1 has joined #arm-netbook
<buZz> correct? :D
<Skaag> I still don't understand how to tell xorg which device driver to use
<Skaag> I think the module name might be sun4i_ts
mentis has joined #arm-netbook
<Skaag> or disp_ump
<mentis> hi
<techn_> Skaag: you should first try to get display working
<techn_> and fbcon
<Skaag> how do I test it?
<Skaag> I believe I should now have the correct script.bin for the display type I have
<techn_> is backlight on? is there something rendered on the screen?
<Skaag> nothing
<Skaag> I'm only SSH'ing into it
<mentis> i have a a10 tablet, board a710, build.prop: http://pastebin.com/R1czQXkg ; uboot http://pastebin.com/Q3Eg6Rzs ; im trying to make it boot android jb from sd with no luck :/ i've tried several tutorials, several uboots and kernels. I managed to lunch linaro lubuntu; from .img i dl'ed from xda; uboot from that .img doesnt work for android :/
<mentis> i've found the lichee 3.0.8 kernel that qware leaked, build the kernel and this is the only one that boots on my device
<mentis> pls somebody help
<mentis> pls
<techn_> sources here are newer https://github.com/linux-sunxi/linux-sunxi
<mentis> but they dont work, kernel fails with some kind of device paging error
<mentis> memory paging
<techn_> mentis: you propably have same tablet as I
<techn_> that paging problem should fixed
<mentis> possible
<mnemoc> smells to bad u-boot...
<mentis> the uboot from http://pastebin.com/Q3Eg6Rzs is the original one from the device
<mentis> besides is spl still valid ?
<techn_> also mnemoc's proposal could be right
<mnemoc> mentis: to use the allwinner's defective-by-design u-boot you need to enable IGNORE_ATAG_MEM thing
<Skaag> techn_: any idea how I can wake up my lcd? how to check that it works? or how to configure xorg to use it?
<mnemoc> but it's better to replace it with a well behaved one
<Skaag> i just mod probed mali and that module loaded
<techn_> Skaag: X should work right after you get lcd working
<Skaag> but not if it's not configured properly?
<mentis> mnemoc, i suspect that the default uboot doeast allow mmc boot, therefore its useless for me, cuz i want to boot from sd
<Skaag> there's various xorg versions, how do I point it to use fbdev or whatever device
<mnemoc> mentis: allwinner's u-boot is nand only
<techn_> Skaag: souds like it.. now that you have right script.bin, only debugging helps :(
<mentis> mnemoc, when i use uboot from linux-sunxi git, do i need to configure it somehow?
<mentis> like edit *.h?
<techn_> Skaag: first try to get backlight starting
<Skaag> mentis: I put u-boot on my SD and it booted, but maybe my hardware supports this feature (A13)
<mnemoc> mentis: u-boot needs per-board setup
<Skaag> techn_: how?
mikey_w has quit [Remote host closed the connection]
<mnemoc> mentis: for the dram initialization
<mentis> mnemoc, how do i know how to configure uboot for my board?
<Skaag> should I write into some device under /proc/?
rellla has quit [Quit: rellla]
mikey_w has joined #arm-netbook
<techn_> Skaag: check from datasheets what method it uses to control it.. then debug from https://github.com/linux-sunxi/linux-sunxi/blob/sunxi-3.0/drivers/video/sunxi/lcd/dev_lcd.c
<mnemoc> mentis: first use a10-meminfo on android to fix/validate the [dram_para] in your script.fex
freakazoid0223 has joined #arm-netbook
<techn_> Skaag: or do you have working sources?
Gujs_ has joined #arm-netbook
Gujs_ has quit [Remote host closed the connection]
<techn_> Skaag: or did you check that lcd.ko objects
<Skaag> I have no lcd.ko
<Skaag> I have the sunxi-bsp project
<Skaag> that's what I used to compile my kernel, u-boot, etc.
<mentis> mnemoc, my default script.fex http://pastebin.com/kXyikssn
<mnemoc> dram_para looks decent
<mnemoc> mentis: is it really 512M?
<mentis> yes
<mentis> this is the file i got from nanda from my device
<mnemoc> normally you would use a10-meminfo to complete the [dram_para] section buy yours looks complete
<mnemoc> anyhow, it would be better if you verify it's content using a10-meminfo
<mnemoc> after that use sunxi-tools' fexc -I fex -O u-boot to generate a board/allwinner/$yourboard/dram.c
<mnemoc> mentis: then complete the board/allwinner/$yourboard/ copying stuff from any other
<techn_> Skaag: Oh..I forgot.. a13 has stuff compiled in
<mnemoc> mentis: and finally add a line for $yourboard in boards.cfg
<mentis> mnemoc, i crosscompile a10-meminfo, push it to android device and lunch ?
<traeak> hey guys woot.com has lenovo 130e for 300usd on sale
<mnemoc> mentis: there is a precompiled in the repo
<mnemoc> mentis: run it as root in the device
<Skaag> techn_: yes. I believe so. any ideas what to try?
<traeak> which one is beter tha e300 or the celery 867?
<techn_> mentis: you have "sata_used" set to 0.. thats also causing that paging error
<traeak> apparently the intel is *gone*
<techn_> mentis: but that should be fixed in latest
<mnemoc> isn't he using the lastest?
<Skaag> techn_: this is what I mean: [ 3315.750] (==) No screen section available. Using defaults.
<Skaag> don't I need a screen section?
<Skaag> screen, and layout, both are missing
eFfeM1 has quit [Quit: Leaving.]
<techn_> Skaag: you should see fbcon if there is no X
<techn_> mnemoc: dunno what is the latest he has tried
<Skaag> fbset -i shows me my frame buffer device with the correct info
<mnemoc> fbcon needs console=tty0 passed iirc
<Skaag> what's fbcon? a utility?
<Skaag> where do I obtain it?
<techn_> but atleast linaros fs activates fbcon without that
<Skaag> I have a device fbcon under /sys/class/graphics/fbcon
<mentis> mnemoc, i have meminfo output http://pastebin.com/4H0uqGmz
<mnemoc> mentis: compare it with the [dram_para] section of your .fex and correct any diff
<mnemoc> then add it to sunxi-boards with a decent board name ;-)
<mnemoc> next create a dir in u-boot-sunxi/board/allwinner/ with the same name
<mentis> mnemoc, all the same
<mnemoc> cool
ssspiff has joined #arm-netbook
ssspiff has quit [Changing host]
ssspiff has joined #arm-netbook
<mnemoc> and then fex -I fex -O u-boot yourboard.fex output's to u-boot-sunxi/board/allwinner/yourboard/dram.c
<mentis> mnemoc, i have it, however thers is no dram_size in meminfo output, nor in fexc output, despite that this var is present in default .fex shall i continue?
freakazoid0223 has quit [Quit: Leaving]
<mnemoc> mentis: uhm.... fexc's output should include dram_size...
<mentis> there was no dram_size in meminfo output
<mnemoc> that's fine
<mentis> fex -I fex -O u-boot yourboard.fex
<mentis> * sry
<mnemoc> fexc
Jef91 has joined #arm-netbook
gimli has quit [Remote host closed the connection]
hg_5 has quit [Ping timeout: 251 seconds]
<mentis> mnemoc, my dram.c http://pastebin.com/VpBYzwQa
<mnemoc> i didn't know it was combined with board.c these days.... neither about allwinner's header on the generated file
<mentis> mnemoc, it was, my mistake, recompiling
<mnemoc> after adding the board files, add a line for it in boards.cfg
<mnemoc> be sure to duplicate one with the SPL flag
<mentis> im about to configure for
<mentis> sun4i arm armv7 a10-evb allwinner sunxi
<mnemoc> that's generic, no SPL, no dram
<mentis> i see
<mnemoc> you have to add one specific for your board
<mentis> then
<mentis> a10_mid arm armv7 a10-evb allwinner sunxi sun4i:SPL
<mentis> allwinner/common/board.c:75: undefined reference to `sunxi_dram_init'
<mentis> board.c lines 75,78,82
<mentis> u-boot-sunxi/board/allwinner/common/board.c:75: undefined reference to `sunxi_dram_init'
<mnemoc> it smells like you are using hno's development branch
<mnemoc> i was assuming you were using the sunxi branch in u-boot-sunxi
<mnemoc> yes
<mentis> this is the one i cloned
<mnemoc> 1m
<mnemoc> did you create board/allwinner/a10_mid/ ?
<mentis> cloned and created u-boot-sunxi/board/allwinner/a10-evb/dram.c only
<mentis> what files should i create ?
<mnemoc> copy Makefile and board.c from other board
<mnemoc> are you using an a10 evaluation board?
<mnemoc> i thought you had something called a10_mid
<mentis> i copied line for a13_mid from boards.cfg
<mnemoc> u-boot-sunxi/board/allwinner/a10-evb/dram.c
<mnemoc> is says a10-evb
<mnemoc> it says a10-evb
<mentis> yes
<mnemoc> and I seriously doubt it is your board
<mentis> which one should i copy?
<mnemoc> *create* a board dir for your board
<mentis> ok
<mnemoc> don't hack your numbers in a10-evb's
<mnemoc> you added a line for a10_mid in boards.cfg, then you have to create a board/allwinner/a10_mid/ board dir
<mentis> ok i created u-boot-sunxi/board/allwinner/a10_mid/
<mentis> added dram.c there
<mnemoc> with the generated dram.c, and stolen board.c and Makefile
<mentis> with generated code
<mentis> i did that
<mnemoc> now `make a13_mid_config` should work
<mnemoc> err
<mnemoc> a10_mid
<hno> mnemoc, 3.0.42 booted with performance cpuscaling governor seems to end up with wrongly configured AHB/APB bus divisors.
<hno> crippling performance a bit.
<Skaag> dealing with this frame buffer problem is exhausting
<hno> Skaag, which of all problems?
<Skaag> I can't get it to work at all
<Skaag> I tried to create a xorg.conf that specifically references the mali driver
<Skaag> but it tells me no screen is found
<mnemoc> hno: problem in Turl's cpufreq cleanup code?
<Skaag> this is my xorg.conf
<hno> Not sure yet.
<ssvb> Skaag: can you paste your /var/log/Xorg.0.log ?
<Skaag> sure
<ssvb> Skaag: based on this log, looks like fbdev should be working
<ssvb> what is the problem exactly?
<Skaag> yes, I know, it looks good on paper, but nothing happens with the LCD
<Skaag> and there's those errors FBDEV(0): FBIOPUTCMAP: Invalid argument
<Skaag> which may be meaningless, or not… I have no idea.
<ssvb> Skaag: I also have these errors in my log, but the X server works
<Skaag> I see...
<Skaag> do you have a xorg.conf or you let it use the defaults?
<mentis> mnemoc, it compiled i have both u-boot-spl.bin and u-boot.bin
<mnemoc> cool :)
<mentis> do i continue as here https://github.com/hno/uboot-allwinner/wiki ?
<mentis> meaning dd both .bin ?
<hno> mentis, yes
<mentis> ok
<mentis> 1st vfat partition sould be 16M or 32M or doesnt matter?
<ssvb> Skaag: I'm actually using Mele A2000 with the output on HDMI, so it's a bit different from your setup
<ssvb> Skaag: maybe you are just trying the wrong /dev/fbX device?
<mnemoc> mentis: u-boot goes before the first partition
<Skaag> I have /dev/fb0 and /dev/fb1
<Skaag> how do I switch between them?
<hno> mentis, doesn't matter. And optional if you use ext2/ext3 for your rootfs.
<mentis> mnemoc, hno, ok dd'ing
<hno> what is important is that you have no partitions starting too early.
<ssvb> Skaag: you can try to change 'Option "fbdev" "/dev/fb0"' in xorg.conf to use /dev/fb1
lerc_ has quit [Ping timeout: 245 seconds]
lerc has joined #arm-netbook
<mentis> mnemoc, hno, is there a way to force a tablet to boot from sd? or just restart it and press random buttons?
<mnemoc> mentis: sd always boots first
<Skaag> ssvb: I don't even have a xorg.conf
<Skaag> can I get my Xorg to generate one?
<mentis> then it doesnt work
<mnemoc> a bad u-boot would left you hang
<mnemoc> if it booted from nand it means i didn't saw the card as "bootable"
<ssvb> Skaag: what was http://pastebin.com/9Rkg7eSB then?
<Skaag> a failed attempt to make one
<Skaag> I made one now that only sets the fbdev to /dev/fb1 and it's doing it but the LCD still doesn't work
<mentis> mnemoc, keeps on booting from nand http://pastebin.com/ZPyt2UWf
<Skaag> Xorg.0.log shows it's using /dev/fb1
<mentis> mnemoc, i messed up sth? first partition - vfat starts at 2048,
<ssvb> Skaag: don't know, could it be something like backlight not working?
<Skaag> any ideas how I can try to test the backlight?
<mentis> i created them using fdisk, made mkfs.vfat on partition, then dd'ed the spl and uboot
<Skaag> it works when I boot android on this thing
<mnemoc> mentis: bad dd probably
<mnemoc> partitions don't matter to determine bootability
<ssvb> Skaag: in any case, Xorg.0.log looks like X server is starting and drawing its stuff to /dev/fb0 (or /dev/fb1)
<ssvb> Skaag: is android using the same kernel as debian?
<Skaag> I shined a flashlight onto the screen, I don't see any pixels being modified
<mentis> mnemoc, 0_o dd if=spl/u-boot-spl.bin of=/dev/sdc bs=1024 seek=8 ; dd if=u-boot.bin of=/dev/sdc bs=1024 seek=32 ;
<Skaag> no it has a different kernel obviously
<mentis> should i sync?
<Skaag> I compiled mine with the sunxi-bsp project
von_fritz has quit [Quit: vonfritz leaves, don't panic]
<mnemoc> mentis: that's fine... sync or ejecting the card before removing it might be a good idea
<mnemoc> maybe you didn't leave linux enough time to do the write
<ssvb> Skaag: something might be misconfigured, are you sure /dev/fb0 or /dev/fb1 is really set to use LCD : http://linux-sunxi.org/Fex_Guide#12.1_.5Bdisp_init.5D
<Skaag> this is my fex: http://pastebin.com/uDC0M0VP
<ssvb> Skaag: also you may try to enable more debugging output for drivers/video/sunxi in the kernel sources and check dmesg log after you boot the device
<Skaag> I just checked my disp_init section, it looks ok
<ssvb> Skaag: is it the same as in android?
<Skaag> yes
<Skaag> actually that's where I got it
<Skaag> I mounted the NAND, and copied the script.bin file from there, and used bin2fex to decode it
<mnemoc> doh
<Skaag> not good?
<mnemoc> sorry. misread. thought you were using stock android's kernel.
<mnemoc> nanda's script.bin is fine
<mnemoc> that's the normal source
<ssvb> Skaag: I have no idea, sorry, maybe some fellow tablet user could help you better
<Skaag> ok
<Skaag> thanks
<mentis> still doesnt work :/ i donkt know what to do, this is the first 1MB from the lubuntu img i downloaded, and dd'ed to sdcard it boots; http://c0re.pl/stuff/boot.img; this is 1st 1MB from my card with uboot,spl i made that doesnt event get detected http://c0re.pl/stuff/not_boot.img, despite that i did exactly as instructed
<mentis> pls oh please what is wrong?
<mentis> i zeroed the first MB, with dd if=/dev/zero of=/dev/mmcblkx bs=512 count=2047, then i freated the partition table, with 1st primary vfat 32MB, partition starting at 2048