Turl changed the topic of #linux-sunxi to: Allwinner/sunxi /development discussion - did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait! - https://github.com/linux-sunxi/ - Logs at http://irclog.whitequark.org/linux-sunxi
naobsd has joined #linux-sunxi
naobsd1 has joined #linux-sunxi
naobsd has quit [Ping timeout: 246 seconds]
naobsd has joined #linux-sunxi
khuey_ is now known as khuey|away
naobsd1 has quit [Ping timeout: 240 seconds]
gnyers has quit [Ping timeout: 245 seconds]
Akagi201 has joined #linux-sunxi
Akagi201_ has quit [Ping timeout: 264 seconds]
heffer has quit [Remote host closed the connection]
bsdfox has quit [Ping timeout: 246 seconds]
bsdfox has joined #linux-sunxi
akaizen_ has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
Andy-D has joined #linux-sunxi
akaizen has quit [Ping timeout: 265 seconds]
protoCall7 has quit [Quit: protoCall7]
cnxsoft has joined #linux-sunxi
protoCall7 has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
protoCall7 has quit [Quit: protoCall7]
protoCall7 has joined #linux-sunxi
protoCall7 has quit [Client Quit]
protoCall7 has joined #linux-sunxi
Renard has quit [Remote host closed the connection]
protoCall7 has quit [Quit: protoCall7]
dev1990 has quit [Quit: Konversation terminated!]
vishnup has joined #linux-sunxi
<vishnup> Could somebody please add fex file I submitted for A33 astar mid756?
<vishnup> I don't have write permission for sunxi-boards
<wens> leviathanch: whats up
<wens> holiday today
bsdfox has quit [Ping timeout: 246 seconds]
arossdotme has quit [Ping timeout: 245 seconds]
arossdotme has joined #linux-sunxi
vishnup has quit [Quit: Leaving]
bsdfox has joined #linux-sunxi
bsdfox has joined #linux-sunxi
ganbold_ has quit [Ping timeout: 255 seconds]
p1u3sch1 has joined #linux-sunxi
p1u3sch1_ has quit [Ping timeout: 245 seconds]
ganbold_ has joined #linux-sunxi
orly_owl has quit [Ping timeout: 246 seconds]
naobsd has quit [Quit: naobsd]
naobsd has joined #linux-sunxi
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
ellab has joined #linux-sunxi
akaizen has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 264 seconds]
orly_owl has joined #linux-sunxi
marcin has quit [Ping timeout: 264 seconds]
blsd has quit [Ping timeout: 264 seconds]
marcin has joined #linux-sunxi
blsd has joined #linux-sunxi
reinforce has joined #linux-sunxi
domidumont has joined #linux-sunxi
domidumont has quit [Remote host closed the connection]
domidumont has joined #linux-sunxi
<leviathanch> wens: ah, ok
<leviathanch> just noticed you are living in Taiwan
<leviathanch> wanted to ask about the place
<leviathanch> ^^
<leviathanch> was curious
Andy-D has quit [Ping timeout: 246 seconds]
domidumont has quit [Ping timeout: 246 seconds]
domidumont has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-sunxi
<wens> ah
sehraf has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft1 has joined #linux-sunxi
JohnDoe_71Rus has quit [Ping timeout: 256 seconds]
JohnDoe_71Rus has joined #linux-sunxi
gianMOD has joined #linux-sunxi
gianMOD has quit [Remote host closed the connection]
_massi has joined #linux-sunxi
JohnDoe_71Rus has quit [Read error: Connection reset by peer]
JohnDoe_71Rus has joined #linux-sunxi
prz has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
gnyers has joined #linux-sunxi
naobsd has quit [Quit: naobsd]
gianMOD has joined #linux-sunxi
gianMOD has quit [Read error: Connection reset by peer]
HeHoPMaJIeH has joined #linux-sunxi
HeHoPMaJIeH has joined #linux-sunxi
naobsd has joined #linux-sunxi
bsdfox has quit [Ping timeout: 272 seconds]
akaizen_ has joined #linux-sunxi
wickwire has joined #linux-sunxi
akaizen has quit [Ping timeout: 265 seconds]
bsdfox has joined #linux-sunxi
naobsd has quit [Quit: naobsd]
F1skr has joined #linux-sunxi
ssvb has quit [Quit: Leaving]
marcin has quit [Quit: Konversation terminated!]
marcin has joined #linux-sunxi
marcin has quit [Client Quit]
F1skr has quit [Quit: WeeChat 1.1.1]
marcin has joined #linux-sunxi
gianMOD has joined #linux-sunxi
arossdotme has quit [Remote host closed the connection]
koza has joined #linux-sunxi
arossdotme has joined #linux-sunxi
FreezingCold has quit [Ping timeout: 250 seconds]
FR^2 has joined #linux-sunxi
gnyers has quit [Ping timeout: 250 seconds]
pmattern has joined #linux-sunxi
leviathancn has joined #linux-sunxi
Renard has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
cnxsoft1 has quit [Ping timeout: 252 seconds]
trollinger has joined #linux-sunxi
koza has quit [Quit: leaving]
ricardocrudo has quit [Ping timeout: 255 seconds]
prz has quit [Quit: Leaving.]
prz has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
cubear has joined #linux-sunxi
gianMOD has quit []
trollinger has quit [Quit: Reicht jetzt erst mal.]
naobsd has joined #linux-sunxi
blsd has quit [Quit: Leaving]
leviathancn has quit [Ping timeout: 250 seconds]
f15h has joined #linux-sunxi
Andy-D has joined #linux-sunxi
leviathancn has joined #linux-sunxi
afaerber__ has quit [Quit: Verlassend]
prz has quit [Quit: Leaving.]
blsd has joined #linux-sunxi
prz has joined #linux-sunxi
blsd has quit [Client Quit]
leviathancn has quit [Ping timeout: 244 seconds]
trollinger has joined #linux-sunxi
f15h has quit [Remote host closed the connection]
Black_Horseman has quit [Ping timeout: 256 seconds]
ricardocrudo has quit [Ping timeout: 264 seconds]
gianMOD has joined #linux-sunxi
gianMOD has quit [Remote host closed the connection]
leviathancn has joined #linux-sunxi
leviathancn has quit [Remote host closed the connection]
leviathancn has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
FreezingCold has joined #linux-sunxi
codekipper has joined #linux-sunxi
<codekipper> Hi all.
<codekipper> can someone help me out with fel booting?.....have been able to boot the kernel as far as it getting to look for the root area
<rellla> hi codekipper
<rellla> sorry no, but i need help with kernel code:
<codekipper> however at the moment ramdisk looks corrupt in the eyes of uboot
<rellla> they need to look like
<codekipper> rellla, I saw loads of bogus code in the audio drivers
<rellla> bright = (__s32)((bright * 63.0 / 100.0= + 0.5); and so on ...
_massi has quit [Quit: Leaving]
<rellla> but whats the correct syntax for this floating operation. i get these "undefined reference to `__aeabi_ddiv'" messages
<rellla> codekipper: yeah
ricardocrudo has joined #linux-sunxi
afaerber has joined #linux-sunxi
<codekipper> hopefully ssvb will be online soon...
<rellla> sorry, typo : bright = (__s32)((bright * 63.0 / 100.0) + 0.5);
<codekipper> here is my list of commands to boot over usb
<mripard_> rellla: no float arythmetic in the kernel.
<codekipper> and here is my boot.cmd http://pastebin.com/kW4Q5hbp
<codekipper> uboot log is http://pastebin.com/kW4Q5hbp. I get the same ramdisk corrupt message if I use my openwrt cpio image or turls rootfs
<mripard_> (and presumably, you have a softfloat toolchain, which explains the error)
<rellla> mripard: toolchain is arm-linux-gnueabihf
<rellla> so how can i get doing it what it should the easy way?
<mripard_> you can't
<mripard_> you'll have to round up or down
gianMOD has joined #linux-sunxi
<rellla> ok. so expected is an unsigned int for bright. e.g. "50". so what does it with ( 50*63 = ) 3150 / 100 = ?
<rellla> when doing just "bright = bright *63 / 100"
<mripard_> it returns 3
<rellla> 31
<mripard_> hmm, indeed
<rellla> dumb rellla. it must be bright = ((bright * 63) + 50 ) / 100
gianMOD has quit [Client Quit]
merbanan has quit [Remote host closed the connection]
MY123 has joined #linux-sunxi
leviathancn has quit [Ping timeout: 250 seconds]
leviathancn has joined #linux-sunxi
nabblet has quit [Quit: leaving]
reinforce has quit [Quit: Leaving.]
focus has quit [Ping timeout: 245 seconds]
leviathancn has quit [Ping timeout: 250 seconds]
focus has joined #linux-sunxi
HeHoPMaJIeH has quit [Quit: Konversation terminated!]
gnyers has joined #linux-sunxi
F1skr has joined #linux-sunxi
leviathancn has joined #linux-sunxi
cnxsoft has quit [Quit: cnxsoft]
Netlynx has joined #linux-sunxi
Netlynx has quit [Changing host]
Netlynx has joined #linux-sunxi
reinforce has joined #linux-sunxi
reinforce has quit [Ping timeout: 252 seconds]
simosx has quit [Quit: Leaving]
quitte has joined #linux-sunxi
vishnup has joined #linux-sunxi
ssvb has joined #linux-sunxi
<ssvb> codekipper: your u-boot log pastebin does not seem to be the log from u-boot
<codekipper> ssvb, ooops... http://pastebin.com/r32X7kE8 cut and paste error
<ssvb> codekipper: "Wrong Ramdisk Image Format"
<ssvb> codekipper: maybe you are not creating it correctly?
<codekipper> yeah....but if you see the commands I use I can't for the life of me see what I'm doing wrong
<codekipper> do you have a generated initrd I could try?
<ssvb> This is how it may normally look - https://gist.github.com/ssvb/4bc7ab81130fdc88ee22
<codekipper> what does your boot.cmd look like?
<ssvb> just a sec
ktemkin has left #linux-sunxi ["WeeChat 0.4.2"]
prz has quit [Remote host closed the connection]
f15h has joined #linux-sunxi
f15h has quit [Client Quit]
<vishnup> ssvb: who is owner of sunxi-boards ?
F1skr has quit [Quit: WeeChat 1.1.1]
<vishnup> I've submitted the patch for A33 tablet fex file.
<ssvb> vishnup: there are many people with commit rights
leviathancn has quit [Ping timeout: 256 seconds]
<vishnup> ssvb: If you have commit rights, could you please apply it?
<ssvb> vishnup: sure
<vishnup> ssvb: Thanks.
FR^2 has quit [Quit: Connection reset by peer]
FreezingCold has quit [Ping timeout: 250 seconds]
gnyers has quit [Quit: Leaving.]
domidumont has quit [Ping timeout: 246 seconds]
orly_owl has quit [Ping timeout: 240 seconds]
<ssvb> codekipper: here is a tarball with a shell script to do fel boot - http://people.freedesktop.org/~siamashka/files/20150217-bootsetup-fel-demo/
<ssvb> codekipper: and here is one more initrd example (with debian installer) - http://linux-sunxi.org/Mainline_Debian_HowTo#Using_a_ready-made_installation_SD_card_image_instead_of_bootstrapping
domidumont has joined #linux-sunxi
<codekipper> ssvb, thanks....I'll give this a blast later
<plaes> any idea how to get Livesuite to read firmware .img files?
<plaes> all I get is "Image file invalid" :S
reinforce has joined #linux-sunxi
<Turl> plaes: maybe you need a newer livesuite
<plaes> I have 2.06
<codekipper> ssvb, well....this has worked on my mk808c..Thanks
<codekipper> I just had to remove the -v from the shell scripts.
<ssvb> codekipper: '-v' is the new option, it is better to update https://github.com/linux-sunxi/sunxi-tools
khuey|away is now known as khuey_
<ssvb> codekipper: the recent changes improve the usb transfer speed
<codekipper> I've just pulled it and still don't see the -v option
<ssvb> hmm
<ssvb> maybe you have some stale 'fel' binary in your PATH?
<codekipper> yep....it's an oldie
<plaes> bleh..
gianMOD has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
<ssvb> codekipper: the improved transfer speed only works with the 'fel spl' command (the old 'fel write 0x2000 ...' && 'fel exe 0x2000' is still very slow)
<codekipper> I'll play with interchanging my bits with yours....thanks for the help
<ssvb> you are welcome
<ssvb> it also makes sense to add more detailed instructions to the wiki
<codekipper> ssvb, will do.....just need to find out why my initrd doesn't work
<codekipper> I'm also struggling with building miniroot
<ssvb> how are you creating it?
<ssvb> in fact I'm using buildroot, it is pretty easy - https://github.com/ssvb/buildroot/commits/20141215-sunxi-bootsetup-prototype
<codekipper> git clone, edit the makefile to point out my buildtools and then build with my kernel module path
<codekipper> I'll try bringing your buildroot into my setup and vice versa
<codekipper> I'd also tried using an openwrt cpio image with the same error.
<codekipper> right...it's beer o'clock now
<ssvb> :)
<codekipper> I've got something to celebrate
ricardocrudo has quit [Ping timeout: 264 seconds]
<plaes> Turl: did you figure out which api fixes had to be done with DMA?
codekipper has quit [Quit: Leaving]
dev1990 has joined #linux-sunxi
afaerber has quit [Quit: Verlassend]
reinforce has joined #linux-sunxi
khuey_ is now known as khuey
vishnup has quit [Ping timeout: 250 seconds]
afaerber has joined #linux-sunxi
FDCX_ has joined #linux-sunxi
<Turl> plaes: I haven't rebased it yet, but it doesn't look to be anything major
<Turl> rellla: what's the +50 on your patch for?
iamfrankenstein has joined #linux-sunxi
<MY123> I wonder if a bootsetup prototype is possible for LCD displays
<MY123> (if the NAND is in a non-bootable state)
<ssvb> MY123: it's not, because LCD displays can't be automatically configured
<ssvb> MY123: however, the tablets without HDMI connector still can use USB OTG in a device independent way
<MY123> ssvb: Isn't there an I2C config interface within the LCD chip?
<MY123> (or I'm confusing with MIPI DSI?)
<ssvb> MY123: there is no standard device independent I2C config for LCD displays and yes, there are parallel RGB, LVD and MIPI LCD displays too
<ssvb> MY123: we can either use FEL on USB OTG (which is the Allwinner recovery feature BTW)
<MY123> ssvb: I'm thinking about a bootloader which extracts the settings from NAND boot0 and uses the script.bin from there
<ssvb> MY123: or a USB gadget serial console
<MY123> (it should be optimal)
<MY123> *DRAM settings
FreezingCold has joined #linux-sunxi
<ssvb> boot0 dram settings are all crap, so they are not very useful
gianMOD has quit [Remote host closed the connection]
<ssvb> yes, extracting script.bin and converting it into dtb/dts makes sense, because this provides you the configuration for LCD among other things :)
<ssvb> MY123: an android application, which extracts the script.bin file may make sense too, and it already exists - http://www.berryterminal.com/doku.php/berryboot_a10
<MY123> ssvb: A10 only :(
<ssvb> the page is old, but there is no reason why this can't work on other devices in principle
<ssvb> except for a31s tablets, which need to be rooted first
wickwire has quit [Read error: Connection reset by peer]
FreezingCold has quit [Remote host closed the connection]
FreezingCold has joined #linux-sunxi
Netlynx has quit [Quit: Leaving]
MY123 has quit [Quit: Leaving]
shinobi has joined #linux-sunxi
reinforce has quit [Read error: Connection reset by peer]
reinforce has joined #linux-sunxi
FDCX_ has quit [Ping timeout: 250 seconds]
cubear has quit [Quit: Leaving]
reinforce has quit [Ping timeout: 252 seconds]
cubear has joined #linux-sunxi
quitte has quit [Remote host closed the connection]
domidumont has quit [Ping timeout: 246 seconds]
reinforce has joined #linux-sunxi
nabblet has joined #linux-sunxi
<nabblet> hi is there anything special i have to consider when using a sata hdd for storage (contains no OS files)? partition tables, file systems?
skaag has quit [Quit: Leaving.]
gianMOD has joined #linux-sunxi
tomcheng76 has quit [Read error: Connection reset by peer]
<rellla> Turl: rounding, then "truncate"
tomcheng76 has joined #linux-sunxi
<rellla> else 50 will go to 31 not to 32 as documented. But i think its not that important. whats the middle of 0 and 63?
iamfrankenstein has quit [Ping timeout: 256 seconds]
<Turl> rellla: 32?
<Turl> rellla: consider using the macros for that purpose, DIV_ROUND_UP and such
<rellla> Ok. Have to search for that. Is there a 0.5 round macro?
<rellla> The more important thing are the variable names fix anyway
<NiteHawk> mathematically it's 31.5 - using plain integer arithmetics you'd end up with 31
Black_Horseman has joined #linux-sunxi
<rellla> NiteHawk: range is 0-63 and allwinner documents 32 as the middle...
<rellla> Turl: thanks. I'll resend it with using macro
bonbons has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
iamfrankenstein has quit [Client Quit]
akaizen_ has quit [Remote host closed the connection]
reinforce has quit [Quit: Leaving.]
reinforce has joined #linux-sunxi
orly_owl has joined #linux-sunxi
orly_owl has joined #linux-sunxi
orly_owl has quit [Changing host]
iamfrankenstein has joined #linux-sunxi
skaag has joined #linux-sunxi
skaag has quit [Client Quit]
gianMOD has quit [Remote host closed the connection]
bonbons has quit [Quit: Leaving]
akaizen has joined #linux-sunxi
simosx has joined #linux-sunxi
akaizen has quit [Ping timeout: 265 seconds]
akaizen has joined #linux-sunxi
sehraf has quit [Quit: www.miranda-fusion.de ... be part of it...]
cubear has quit [Quit: Leaving]