<furan>
is there anything complicated about the cedar merge?
<Turl>
well there's several patches all around
<Turl>
might need a bit of #ifdef not to break other CM devices
<furan>
ic
<Turl>
haven't seen the code much yet to be able to tell
<Turl>
but otherwise it's good as long as you don't need video/camera
ssalevan1 has quit [Quit: Leaving.]
<furan>
ok
<lundman>
ok
<furan>
ok
ssalevan has joined #arm-netbook
ssalevan has quit [Quit: Leaving.]
<Marex>
good to know
<Marex>
you can not DMA vmalloc'd area ... and mtdblock interface vmallocs it's cache, which in turn is passed further into the kernel
revident has quit [Quit: Combustible lemons? Bah, I bring you weaponized asparagus!]
<lkcl>
RITRedbeard: use bs=1M or so in that dd command. or larger. it's quicker, and also i believe it helps to ensure that the data being written is in sizes much larger than any flash block sizes on the actual hardware
<Marex>
lkcl: dd only such blocks that can actually pass through the bus and the medium, so they dont have to get split in the kernel anyway ;-)
<hno>
Blocksize is pretty much irrelevant (except when too small) unless you for some reason think you shuould use ODIRECT. It al gets swallowed by the block cache anyway.
<Marex>
hno: unless you're insane and use insane interfaces ... like direct /dev/mtd
<Turl>
A10 doesn't use mtd Marex
<Marex>
Turl: dont you have nand in there ? :-)
<Turl>
yeah but it uses an allwinner only driver to expose as block directly Marex
<Turl>
I wish they used mtd :P
<Marex>
luckily, not whole world is allwiener ;-)
QingPei has joined #arm-netbook
<RITRedbeard>
I'll try changing the block size, but I think whoever said the device was at fault is right.
von_fritz has joined #arm-netbook
ssalevan has joined #arm-netbook
rsalveti has quit [Ping timeout: 246 seconds]
rsalveti has joined #arm-netbook
ssalevan has quit [Quit: Leaving.]
<Turl>
RaYmAn: around
<Turl>
?
<Turl>
the new unified sunxi nand driver is fail :<
<Marex>
:-)
* Marex
just pulled his head out of MTD/DMA/SPI combo :)
gimli has joined #arm-netbook
<lundman>
hmm
<Marex>
lundman: konnichiwa
<Marex>
ha
<Marex>
whatever
<lundman>
close enough :)
<Marex>
lundman: I dunno how to romanize it
<Marex>
but wait
<Marex>
what time is it over there ?
<lundman>
yeah that's probably what you would do
<lundman>
13:48
<Marex>
in japan ?
<lundman>
yep
<lundman>
just back from lunch
<lundman>
I had italian nduja pizza :)
<Marex>
I'll go sleep now, it's way to ... I dunno, early
<Marex>
lundman: btw I really love how japaneese is really clearly designed ... compared to wacko english and even more batshit crazy czech ... oh man ;-)
<Marex>
lundman: just all the kanji, I'm having hard time bashing it into my head
<lundman>
it does start clearly defined, but you do get more special cases as you go deeper
<lundman>
and the 5 levels of politeness gets tedious
<Marex>
lundman: still, compare it to czech and you'd flip
<Marex>
lundman: and besides ... is the politeness really so rooted in the people?
<Marex>
lundman: because this "try not to bother others" rule seems much nicer than the western behavior
<lundman>
politeness is very important. you talk to a friend, you use one set. you go to a shop and they use another
<Marex>
yes, that far I understand
kaspter has joined #arm-netbook
<rz2k>
hno: you were right, UART on my a13 tablet is between cpu & sdcard slot
<Tsvetan>
140x140mm it's bigger than we wanted to be
<Tsvetan>
but too much connectors do not allow to shrink the size more
RITRedbeard has quit [Ping timeout: 272 seconds]
<RaYmAn>
a13 one is nano-ITX size, isn't it?
tzafrir has joined #arm-netbook
<Tsvetan>
yes it;s 120x120 mm
<Tsvetan>
A10 board is +2 cm from both sides
<lundman>
yes well
<RaYmAn>
One has to wonder if it would be worth it to bump the size to some standard size
<lundman>
still no change on using it as mediaplayer though
<specing>
Tsvetan: Im guessing the "Lipo-Bat" is the battery conenctor, right?
<RaYmAn>
though, I'm not exactly sure whether cases are even available for "mini-Atx" (150x150)
<specing>
Tsvetan: You could but it somewhere in the middle of the board
<specing>
put*
<specing>
As far as I see, there is a lot of space left around the middle
<lundman>
put a magnet there, and some blinking leds
<specing>
xD
<Tsvetan>
lundman: what is missing for media player?
<Tsvetan>
specing: yest LiPo is Lithium polymer battery, note that many components are not put inside if you download CAD files you will see many componets as RC outside to not mess with the text I put on the board :)
<lundman>
At this moment, A10 can not be a mediaplayer
<Tsvetan>
lundman: is this related to hardware?
<lundman>
probably not
<Tsvetan>
as on A10 tablet running Android I can play video and audio without any problems ;)
<lundman>
if we talk about a10 and android, if you use hdmi the audio will most likely not work, but if it does, only stereo will work
The-Compiler has quit [Quit: WeeChat 0.3.9-rc1]
<lundman>
there is no passthrough, to 5.1 etc.
The-Compiler has joined #arm-netbook
<Tsvetan>
ok, then it will be no "mediaplayer" it will just play video and audio, watch movies etc :)
<lundman>
mediaplayer means it should do real audio. otherwise its just a toy, like a table play device for youtube
<Tsvetan>
lundman: ok
<RaYmAn>
you'd think that would be a software issue though - so maybe fixable
<lundman>
most liekly. android /mini-alsa doe sonly do stereo.
<lundman>
so, should be possible to add it
<lundman>
hence my "right now" statement
<Tsvetan>
the hardware is capable of stereo output for sure :)
<lundman>
which i didnt type, so lets pretend I did
<lundman>
actually, hdmi audio is only 2ch, but the bitstream has more channels packed in it. so it just needs audio driver works
<Tsvetan>
hopefully soon community may have better documentation than Allwinner themself :))))
<calris>
What state is the hno repo for booting the A2000 (using SPL)?
cat1 has joined #arm-netbook
<mnemoc>
my A2000 boots fine from uSD....
orly_owl has quit [Ping timeout: 276 seconds]
<pawel5870>
my A2000 doesn't boot from SD cards :-/, but the same card in different mele A2000 boots fine
orly_owl has joined #arm-netbook
<calris>
So they are a bit hit and miss
<calris>
pawel5870: Are the board revs the same? mine is V1.7
<pawel5870>
yes, on both boards are stickers V1.7
<calris>
Hmmm - I wonder if I can hardware hack it for USB power? USB is nominally 5V after all
<mnemoc>
hno did
<mnemoc>
uhm... no. he powers the board using uart's VCC
lerc has quit [Ping timeout: 246 seconds]
calris has left #arm-netbook [#arm-netbook]
calris has joined #arm-netbook
lerc has joined #arm-netbook
<calris>
Here is some free advice - do not unplug the file server exporting /home (thinking it's your subwoofer) to plug in your A2000 :O
<rm>
don't have servers that look like subwoofers :P
<specing>
Here is some free advice - use a better networked filesystem
<rm>
like which one for example?
<specing>
ceph,coda,.. I guess
<rm>
so you don't have any particular FS to recommend?
<specing>
Nope, Im still being lazy and using NFS
<rm>
just "NFS is bad", well that's nothing new
<specing>
on my laptop.
<specing>
So when I unplug my laptop the whole network goes dead ;D
<orly_owl>
smart
<specing>
Yep, Im one of the super intelligent people
<calris>
Well I'm using NFS and as soon as the file server came back online, so did my desktop :)
<calris>
Anyone got the pinout of the internal TTL UART handy?
Almamuetya has joined #arm-netbook
von_fritz has quit [Quit: vonfritz leaves, don't panic]
<mnemoc>
calris: from jtag pads to pcb text. Gnd Rx Tx Vcc
<calris>
Got it - thanks
<calris>
I now have console :)
<mnemoc>
:)
<calris>
OK, time to pull the hno repo
yalin has joined #arm-netbook
yalin has left #arm-netbook [#arm-netbook]
CIA-7 has quit [Ping timeout: 260 seconds]
* calris
is REALLY happy
<calris>
U-Boot compiled - spl boot from SD
<calris>
too easy :)
CIA-14 has joined #arm-netbook
<The-Compiler>
pawel5870: what do you mean with "does not boot from SD card"?
<lundman>
ahh when you see your first emerald
<The-Compiler>
calris: damn you. :P
<calris>
It's a bit finicky :(
<calris>
It jumps to NAND boot every second boot...
<lundman>
yes, we akll have the 2nd boot problem
<lundman>
but I dont think hno does
<lundman>
we all = you and I at least
aaribaud|away has joined #arm-netbook
aaribaud|away is now known as aaribaud
aaribaud has left #arm-netbook [#arm-netbook]
<calris>
and sometimes the USB converter drops out - real PITA
<calris>
I'll get a TTL to RS-232 converter and hook it into a real serial port
kaspter has joined #arm-netbook
<calris>
but for now, it has gone much smoother than I had expected
<calris>
confirmed - power-ups alternate between NAND and SD
<The-Compiler>
I still wonder why the heck I can't boot anything without weird freezes :(
<The-Compiler>
lundman: do you think it would be worth a try to copy the kernel to the internal NAND and try booting from there? Is there any guide how to do that?
<calris>
grrrrrrr - bloody USB converter
<lundman>
it shouldnt matter that you boot form sd
<lundman>
I have had it crash in the place you talk about too. bad kernels usually, or bad script.bin
<The-Compiler>
I copied the script.bin from nanda and tried like 5 different kernels from images which are working for other people with a Mele as well
<calris>
does anyone else have any trouble with TTL/USB converters dropping out?
orly_owl has quit [Read error: Connection reset by peer]
orly_owl has joined #arm-netbook
orly_owl has quit [Ping timeout: 244 seconds]
orly_owl has joined #arm-netbook
<pawel5870>
The-Compiler: I tried to boot ubuntu from SD card and loading kernel stuck after "Starting kernel ..." message on my mele.
<calris>
:(
<calris>
Had to create a udev rule to symlink to the /dev/ttyUSBx that kept jumping around
<calris>
Still need to restart kermit every time though (at least the dev name stays constant)
<mnemoc>
odd
<lundman>
I'd use screen instead of kermit
* mnemoc
uses microcom... but on "sudden disconnection" if leaves a lock file and the term as noecho :<
<mnemoc>
s/if/it/
techman2 has joined #arm-netbook
<The-Compiler>
pawel5870: can you boot anything else?
<lundman>
screen /dev/usbTTY* 115200
<calris>
Well dmesg is telling me the USB device is dropping it's connection
<mnemoc>
lundman: usbTTY%d ? what os/distro uses that?
<markvandenborre>
I mean, I'm not scared of using a serial console, and I recompiled the kernel on my device, but...
<jlj>
Do you know if the Allwinner A10 works with pulseaudio? I can't seem to get audio streaming working (streaming to an A10 device)
<hno>
Alternatively you can boot from SD and use the mbr tool to repartition the NAND to your liking and install your OS files that way.
<markvandenborre>
hm, I'll have to look more closely at the mbr tool...
<mnemoc>
hno: nice!
<hno>
jlj, it should if you run an OS with pulseaudio and configured to listen for network streams.
<markvandenborre>
hno: how would you do it if you'd want to replace the nand on ten devices?
<markvandenborre>
the livesuit way, or the sd boot -> repartition way?
<jlj>
hno: Well pulseaudio does detect the connection, but the program streaming to the server hangs. And the pulseaudio server reports lots of rewinds. I dunno if it's my config or the hardware/drivers.
zewelor has quit [Ping timeout: 268 seconds]
<hno>
mnemoc, PG9=1 and the green led turns on
zewelor has joined #arm-netbook
calris has joined #arm-netbook
<hno>
markvandenborre, I am the wrong person to ask as I would make it a priority to make u-boot-spl NAND work. But livesuit image is the easiest.
<hno>
but either way works. Just remember to populate nanda properly if you repartition it.
<calris>
Anyone notice whitequarck archive is broken (Bad Gateway)?
<hno>
boot1 expects to find it's required stuff there.
<markvandenborre>
then dump a livesuite image that I made to nand
<markvandenborre>
?
<markvandenborre>
oh, I can also activate FEL mode in another way, just pushing a button
<markvandenborre>
(I'm sorry I'm thinking out loud here, I'm mostly hoping that you will correct me)
jas-hacks has quit [Remote host closed the connection]
<hno>
markvandenborre, yes, there is many methods to activate FEL/Livesuit/usbboot/uboot/recover mode.
<hno>
(not u-boot)
<markvandenborre>
is there a *nix way to load an image onto the nand in FEL mode?
<markvandenborre>
I read about needing MS Windows to do that
<markvandenborre>
is that info still up to date?
<hno>
markvandenborre, oh, we forgot one nice way of flashing many boxes. phoenixcard.
<hno>
both livesuit and phoenixcard tools only exists in Windows versions.
<markvandenborre>
oh joy!
<markvandenborre>
and I guess wine is not smart enough yet to run them?
<hno>
but you only need to run phoenixcard tool once to create the sdcard, you can then clone the card and boot on as many devices you like.
<hno>
also looks trivial to replace the flashed "firmware" in an existing phoenixcard created SD image.
<markvandenborre>
you mean I could probably loop mount partitions from the phoenixcard created images?
<hno>
I don't think these tools like wine, but virtualbox works fine.
<hno>
phoenixcards have somewhat odd partitioning with all the phoenix stuff including firmware file hidden, but kind of yes.
<markvandenborre>
then dump in my Debian things I already compiled for use on my sd card?
<markvandenborre>
hm, ok, there seem to be a few unpack tools for these livesuite images
<hno>
to use phoenixcard boot method you need to create an firmware file using the pack tool.
<hno>
yes, there is a couple unpack tools, but you don't really need them unless you want to mod an existing Android image.
<markvandenborre>
(which I don't)
<markvandenborre>
I explicitly need a Debian image
<hno>
and those unpack tools are also only windows, and some of them refuses virtual OS instances only liking to be run on a native Windows box..
<hno>
markvandenborre, look into how the buildroot based Linux firmware is built in the SDK, then short-circuit it a bit with your debian root + kernel.
<markvandenborre>
will do
<hno>
The tools I linked to earlier do not include the buildroot part however.
<markvandenborre>
ouch
<hno>
you don't really need it.
<markvandenborre>
I only need to learn from it how/where things get dropped you mean?
revident has quit [Quit: Combustible lemons? Bah, I bring you weaponized asparagus!]
<markvandenborre>
ah, k, buildroot just does what it sounds like it does
<markvandenborre>
so basicly: build a root filesystem+ kernel using the tools I like
<markvandenborre>
package it using these livesuite tools
<markvandenborre>
create an sd card using these same livesuite tools
<markvandenborre>
boot the device into fel mode
<hno>
phoenixcard is the tool for creating phoenix cards.
<markvandenborre>
oh, either livesuite or phoenixcard
<hno>
with such card you only need to insert the card and reboot.
<markvandenborre>
ah
<markvandenborre>
ok, phoenixcard
<hno>
fel mode is for livesuit to flash over usb.
<markvandenborre>
sounds like something more prone to go wrong
<markvandenborre>
but they're probably proprietary?
<markvandenborre>
freeware? or 'orribly expensive?
* markvandenborre
is looking that up
<hno>
both livesuit and phoenixcard is found at the links I posted before if you just go up one level.
<markvandenborre>
ah, thank you
<markvandenborre>
so basicly, your spl work would make it possible to develop on a10 devices with free software only, right?
<markvandenborre>
and maybe in the long term, to add some Debian installer support
<mnemoc>
we need to be able to export /dev/nand_raw first...
<mnemoc>
to replace boot0/boot1 with free software
<mnemoc>
also to extract info from those
<mnemoc>
but have fbcon is a great step toward having nice installers :)
<mnemoc>
having*
<markvandenborre>
well, I can only wish you luck!
<markvandenborre>
because as you can see from my silly questions, I still have a lot to learn and ask
<mnemoc>
here there is work to do for every knowledge/experience level :)
<Marex>
furan: was it you who was merging that cedarX goo into the cm10 ?
<Marex>
Turl: oh ... it was you
<Marex>
Turl: anything I can help with ? I have that MK802 idling around now
rsalveti has joined #arm-netbook
<markvandenborre>
mnemoc: I try to document whatever I need as publicly as possible
<markvandenborre>
so I'm sure that my stupid questions in this channel will end up as some wiki doc soon
<popolon>
nice computer format, if cheap enough and able to dualboot linux (instead of win8) & android
<popolon>
Add to cart still not working on cubieboard.org
<The-Compiler>
pawel5870: did you try anything else than SD yet? I also have weird freezes when booting from SD.
<pawel5870>
yes, now I'm trying to load kernel from nanda and root fs from SD
<The-Compiler>
pawel5870: nice. I'm probably going to attempt the same tomorrow, so if you have any quick guides so I do nothing wrong, let me know.
<The-Compiler>
pawel5870: and also let me know how it went. Did your system always lock up after "loading the kernel" or also at other places? What hardware revision do you have? I guess you were using a TTL to USB adapter?
<pawel5870>
same times loading stop few lines after "Starting kernel ..."
<pawel5870>
I have 1.7 and I tried my image on different 1.7
<Marex>
pawel5870: do you have console device configured to proper uart
<Marex>
?
<pawel5870>
on my mele SD booting doesn't works but on different works without problems
<pawel5870>
yes, I'm using TTL to USB adapter
<The-Compiler>
I also have one I couldn't get to boot from SD so far :(
<hno>
pawel5870, do Android boot OK on your a2000?
ssalevan1 has joined #arm-netbook
<pawel5870>
every time Androind boot
<hno>
Ok. Then it's u-boot-mmc that is at fault. Discovered a day ago that it doesn't set the CPU core voltage to the required level for 1GHz operation.
ssalevan has quit [Ping timeout: 244 seconds]
<The-Compiler>
pawel5870: I got exactly the same hardware looking at the stickers. Anything different with the one which works?
<The-Compiler>
hno: hm, I still don't get why this bug doesn't get triggered for like 99% of the people
<The-Compiler>
hno: if there is anything I can do to help debugging this, let me know.
<hno>
Hard to say. Still fighting with my A13 board which have similar issues.
<hno>
the A10 is too tolerant I think.
<hno>
and the Linux kernel sets the core voltage when it starts, if system surives that long.
ssalevan1 has quit [Ping timeout: 244 seconds]
<The-Compiler>
at which point? Because that still wouldn't explain why my system boots for quite a long time before kernel panicing sometimes
<pawel5870>
for me linaro kernel boot from nand
Guest78342 has joined #arm-netbook
<The-Compiler>
well, we will see if it works for me after this is fixed
<pawel5870>
i'm using u-boot from nand
<hno>
If you boot using Allwinnre bootloader then the PMU is configured to provide correct voltages during boot.
<hno>
i.e. when you boot from nand.
<Guest78342>
hi ... i hope to get started on linux hacking on a10 tablet ... could someone suggest a good tablet to go for, that has detailed instructions for getting started? are all a10 devices follow the same instructions?
Guest78342 is now known as insanekane
<hno>
insanekane, most A10 devices are similar.
<insanekane>
hno: which in your opinion is the best to start with? i'm looking for IPS display, and good for development/hacking
<hno>
hacking instructions are the same for all. Difference is mainly in touch panel controllers.
<insanekane>
aha ok
<insanekane>
yeah, i saw on aliexpress .. tablets with wide variety of touch features (some 5 fingers, some 10! fingers)
<insanekane>
so i got confused about it
<hno>
insanekane, you want one where UART0 is reasonable accessible if you are serious about hacking.
<insanekane>
ok, which would you suggest?
<hno>
have not kept track of the tables. I use a mele fo A10 hacking.
<insanekane>
hmm ok
<insanekane>
so mele doesn't have a touch screen right?
<insanekane>
i mean, it is HDMI
<hno>
mele have no screen at all.
<insanekane>
yeah
<hno>
only hdmi+vga+cvbs output.
<insanekane>
it's connected to TV or screen right?
<insanekane>
ok got it
<hno>
mine? no.
<insanekane>
ok
<insanekane>
i spent a lot of frustrating months on trying to boot linux on malata zpad
<hno>
I only use the UART.
<insanekane>
now have two useless zpads :D
<insanekane>
this time, i would like to get something that can really help
<hno>
don't know what it they are.
<insanekane>
they are tegra based tablets from malata
<hno>
but A10 devices are virtually unbrickable by software.
<jelly-home>
hno: that's very nice to know
<insanekane>
well, i didn't mean i bricked the zpads ... they can't be bricked either. but because of lack of firmware, basic bringup instructions, etc ... i couldn't get much to work on it
<insanekane>
i got meego to run on it ... but, couldn't get the touch drivers to work
<insanekane>
long story short ... i heard allwinner supports open development, and i'm hoping that i can build linux and apps to make use of the touch screen
specing has quit [Ping timeout: 272 seconds]
<hno>
Allwinner is a bit mixed on the topic, and can't say A10 is the most documented SoC around.
<hno>
where there is documentation you better read the kernel sources first..
<Marex>
:D
<insanekane>
ok ... so any recommendations on tablets?
specing has joined #arm-netbook
popolon has quit [Quit: Quitte]
gimli_ has quit [Quit: Verlassend]
pawel5870 has quit [Quit: Leaving.]
<hno>
insanekane, Ainol Aurora is liked by some, if you can find one today. Ainol they switched to another CPU in II models so be careful when looking for an Ainol device.