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/
_whitelogger has joined #arm-netbook
_whitelogger has joined #arm-netbook
_whitelogger has joined #arm-netbook
_whitelogger has joined #arm-netbook
<Boulet> there's something weird going on with mksunxiboot
_whitelogger has joined #arm-netbook
piezo has quit [Ping timeout: 272 seconds]
piezo has joined #arm-netbook
gimli has joined #arm-netbook
<Boulet> mksunxiboot does not work as soon as file is >512 bytes
<Boulet> just added a nop to prove it
ZaEarl has quit [Ping timeout: 245 seconds]
<Turl> Boulet: well isn't the boot space 512 bytes?
<Boulet> it should be almost the size of the sram 48kb
<Boulet> however mksunxiboot limit it to 24KB (and i have a boot0 here that is 24kb)
<Boulet> brom needs some sram for the stack and buffers (like when reading a sector)
<Boulet> gosh i don't want to disassemble brom and try to find out what's wrong :(
<Turl> :(
<Boulet> but i think hno and rayman can generate a proper boot0, hopefully they have some answers !
<Boulet> or maybe they did not generate it and it is just a dump of nand :(
ZaEarl has joined #arm-netbook
<Turl> good night all
<Boulet> bye bye
<furan> do we have a brom dump?
<furan> i'd love to look at that
<Boulet> for a10 yes
<Boulet> (disassembled)
<Boulet> for a13 we have but not disassembled
<Boulet> ok i have mkunxiboot working on a13 now :) just had to add some version numbers to the header
Quarx has joined #arm-netbook
<Boulet> graaaaaaaah that thing still does not work
popolon has joined #arm-netbook
popolon has quit [Quit: Quitte]
Quarx has quit []
Quarx has joined #arm-netbook
xiambax has joined #arm-netbook
<hno> Boulet, the key to what's wrong is in boot0, not BROM.
<hno> disassembly of BROM is mostly interesting to itendify how to easily do USB device mode (FEL), SD, NAND accesses in a simple manner. We know very little about those controllers.
<hno> furan, what do you want to look at in BROM?
<hno> Boulet, what was missing in mksunixboot?
<Boulet> hno i totally agree
<Boulet> hno, i think my problem was something else, sorry
<Boulet> just missing some version number that is probably useless
<hno> Boulet, remember that the code is loaded at 0x0030, not 0x0000. mksunixboot adds a header infront.
<Boulet> oh
<hno> in most ARM code you don't notice as it's position indepent.
<hno> Boulet, what are you working on?
<Boulet> for some reason, i had a problem to burn the file with my FAT16 formatted SD card !!!!
<Boulet> now that it is fat32, it works !!!! d'oh !!!
<Boulet> weirdness
<Boulet> hno, toying around with that chip :)
<Boulet> no linux involved
gimli has quit [Quit: Verlassend]
Mazon has quit [Read error: Connection reset by peer]
Mazon has joined #arm-netbook
<hno> Boulet, raw boot code at 8K offset?
<hno> never seen that dependent on any partitioning or filesystem format.
<Boulet> yeah i have some weird issues with my SD card, some sectors are not being written
<hno> Boulet, are you remembering to eject the card before removing it from your card reader?
<hno> dd if=... of=/dev/sdX bs=1024 seek=8
<RaYmAn> it can also cause fun issues occasionally, if you have any partitions on the card mounted when you do the dd (peculiar, but it can)
<hno> eject /dev/sdX
<hno> both as root.
<Boulet> ok
<hno> RaYmAn, yes, eject only works if those can be automatically umounted.
Vayu_ has joined #arm-netbook
tavish3 has joined #arm-netbook
penguin42 has joined #arm-netbook
Boulet has quit [Quit: bye]
tuliom has joined #arm-netbook
Holo_ has quit [Remote host closed the connection]
Hexxeh has quit [Remote host closed the connection]
popolon has joined #arm-netbook
steev has quit [Remote host closed the connection]
Holo_ has joined #arm-netbook
steev has joined #arm-netbook
Hexxeh has joined #arm-netbook
popolon has quit [Ping timeout: 246 seconds]
Boulet has joined #arm-netbook
tavish3 has quit [Ping timeout: 245 seconds]
simonckenyon has quit [Quit: KVIrc 4.1.1 Equilibrium http://www.kvirc.net/]
Boulet has quit [Remote host closed the connection]
Boulet has joined #arm-netbook
<hno> Boulet, put boot0 files is dumps from nand, as that is the only place where actual parameters can be found, configured by livesuit while flashing.
<hno> earlier the parameters was set in the fex and reflected in script.bin, but for a13 they made livesuit autodetect many things.
popolon has joined #arm-netbook
<hno> but i do doubt the validity of some of it's probed parameters.
<Boulet> yeah, my stuff's working now
<Boulet> i did some bad things with my SD card i think ahahahha
<Boulet> now it's fine
<Boulet> i might go say hi to the allwinner guys since they are not too far from me :)
<hno> Boulet, yes, go visit Tom.
<Boulet> yeah, that's the plan
<RaYmAn> break in & steal & leak all the secret sauce ;)
<Boulet> yeah, that's the plan
<Boulet> haha
<Boulet> actually i am not sure what to talk about yet, just meeting them would be neat
<hno> No stolen sauce please. Can't deal with such poison.
<RaYmAn> it was a joke obviously ;)
<Boulet> obviously :)
<hno> I know.
<hno> but it's still a fact.
<Boulet> and i don't want to be deported !
<Boulet> ok, time to go partying ... :) bye !
Boulet has quit [Quit: .....]
<popolon> the real-life URL of AllWinner
<specing> They are in the software park, hahahahaahahah
<popolon> their adress in on their website :)
<popolon> and some picture of the buildings
<popolon> => I deducted that was here and added on OSM
<popolon> Not sure about the limits of the complex, the 2 sports pitch at left are for basketball represented in their picture, probably on allwinner or software park land
<specing> corporate sports?
<specing> unbelievable in China!
<popolon> there are sports pitch everywhere in china
<popolon> school, corporates, university
<popolon> in university there are 15 or 20 tennis cluster
<popolon> same for basket
<specing> 0.o
<popolon> medium city like Zhuhai (where allwinner is) ~10 millions people city, have at least 50 football (soccer) stadiums :D
<popolon> The Zhuhai campus of university of Beijing, just at west of Allwinner :))
<popolon> 18 basket pitchs + 16 tennis pitch
<popolon> http://binged.it/Qbgr3Q <= another campus at south of the city , the white blocs at south-east are baskets pitchs too :)
<popolon> there is 5 or 6 campus in this city
<popolon> and in chinese gardens, every soon at morning until late the evening there are lot of people doing taijiquan (taichi), dancing, or practising sports and music
<popolon> or traditionnal chinese games like go, chinese chess, mahjong or chinese chess
<Turl> 59.89$ for the AK802
<Turl> apparently it's pretty much the MK802 but with 1G RAM
<RaYmAn> ak802 and mk802 was used interchangably when it came out as well
<RaYmAn> 1gb ram is mk802 or ak802 as well.
gimli has joined #arm-netbook
QingPei has left #arm-netbook [#arm-netbook]
<hno> RaYmAn, mk802 was 512 when it came out.
<RaYmAn> hno: I bought my mk802 a few weeks after it came out afaik. it was 1gb.
<RaYmAn> I'm well aware both versions exist, but mk802 == ak802 in any case ;)
<hno> RaYmAn, are you sure? I had the impression the 1GB model was almost a month after launch.
<RaYmAn> not entirely sure when exactly the 512mb came out
<RITRedbeard> still messing with my mk802
simonckenyon has joined #arm-netbook
<popolon> mk802 II has 1 Go
<popolon> still no bluetooth
<orly_owl> Go?
<popolon> oops
<popolon> 1 GB
<orly_owl> ah
<popolon> AK802 has only 1 usb, MK802 has 1 USB + 2micro-USB
<popolon> there is a version of AK802 with 512 MB too
<hno> AK802 should have one mUSB as well.
<popolon> I suppose that's the same product with different brands
<RaYmAn> that's the thing. pretty much all companies claiming to have "made" mk802 or ak802 are just selling rebranded devices
<hno> Rikomagic sells their stick OEM or with custom branding.
<RaYmAn> Is it actually rikomagic that "makes" them or are they just resellers as well?
<popolon> that's not clear
<popolon> they also sell a smartbook
<popolon> that is the same than the not branded H6
<popolon> (allwinner smartbook)
<hno> All AK802 I have seen have HDMI, USB-host, uSD, mUSB.
<hno> same as MK802 (not II)
<popolon> (rikomagic version :)
<popolon> really thick for a smartbook :(
<popolon> looks like eeepc :(
<popolon> "Rikomagic says the device - which seems based on Panda’s ARM-powered $141 H6 netbook - will likely appeal to devs and modders, rather than mainstream consumers."
Vayu has joined #arm-netbook
Vayu_ has quit [Read error: Connection reset by peer]
<popolon> http://www.yfgps.com/en/product.php?coid=712 <= they could be the producer of the arnova 13" tablet with allwinner A10
<popolon> yes :)
<popolon> they have 4 13" models
<popolon> with really few changes ???
<hno> Or some other A12?
<popolon> lot of typo erros on those chinese website :(
<popolon> probably the webmaster even don't know a word of english
<popolon> I make typo errors too :D
<popolon> s/make/do/
<ibot> popolon meant: I do typo errors too :D
tuliom has quit [Ping timeout: 246 seconds]
<popolon> they will go at IFA Berlin
<popolon> A12 is rockchip
<popolon> not really clear, could be the box name here ????
<hno> Hmm.. allwinner.com web site, is that an official one? It does have an old copy of the datasheet available in download, and allwinnertech marketing display on frontpage.
arokux_h has joined #arm-netbook
<popolon> Registrant:
<popolon> BDD Group
<popolon> ATTN ALLWINNER.COM
<popolon> PO Box 459
<popolon> care of Network Solutions
<popolon> Drums, PA. US 18222
<popolon> for ammwinner.com
<popolon> just network solution that registered this domain
<popolon> Registrar: XIN NET TECHNOLOGY CORPORATION for allwinnertech.com
<arokux_h> hno, would it be possible for A10 to load the kernel image over network with our U-Boot over tftp? seems to be practical.
<popolon> if you click on the chinese flag, you are redirected to allwinnertech.com
<arokux_h> one wouldn't need to copy the image to the sd card all the time.
<RaYmAn> you can load over serial :P
<RaYmAn> loading over network requires that u-boot supports the network chip in question - so it'd probably be *possible* to do with e.g. the built-in mac, but wireless would probably be a hell of a lot harder
<arokux_h> RaYmAn, I do not have a serial cable..
<arokux_h> hm.. but I bet our U-Boot doesn't have ethernet driver right?
<RaYmAn> Not afaik.
<RaYmAn> you didn't ask if it was possible *right now* :P
Quarx has quit []
<arokux_h> RaYmAn, didn't get your last message
<arokux_h> hm.. don't the ethernet controllers provide some basic genera interface to them?
<arokux_h> smth. like VESA (if I remember this name correctly) for graphic adapters?
<RaYmAn> VESA is really x86 only
<jelly-home> nothing like a little 8086 and BIOS emulation to get a framebuffer initialized
<penguin42> arokux_h: There's no standard interface for ether cards; and no equivalent for any device on ARM, even graphics card
<arokux_h> penguin42, I LOVE ARM
<RaYmAn> penguin42: serial almost is ;) just $offset that's different :P
<penguin42> RaYmAn: are you sure? I mean the ones who just use AMBA modules sure, but there are many screwed up designs that don't
<RaYmAn> I said almost :P
<penguin42> RaYmAn: It's like, OK, it's a serial port, there are only about 4 registers and yet they still manage to find a way to make it a bit different
<RaYmAn> indeed
<RaYmAn> low-speed serial seems to be vaguely standard across a lot of SoC's though :)
<hno> arokux_h, if someone writes a wemac driver for u-boot yes.
<hno> arokux_h, and no, there is no standard ethernet controller interface. Only the physical layer (what happens on the wire) is standardised.
<hno> plus the protocols over it.
<arokux_h> hno, well phys. layer should be standardized :) otherwise the other side won't understand anything.
<popolon> this remember me the ethernet negociation problems on 10/100 HD/FD 10 years ago, depending on vendors ;)
<hno> popolon, those are still there.
mpthompson has joined #arm-netbook
<hno> most people do not understand that hardcoding on one end requires you to hardcode both for proper operation.
<netchip> 7
<popolon> hno : there is no reference to : Copyright © 2012 Allwinner Technology Co., Ltd. All Rights Reserved. 珠海全志科技股份有限公司 版权所有 on allwinner.com, like there is on allwinnertech.com
<popolon> but there is a form for email
<popolon> could be a honeypot
xiambax has quit [Read error: Connection reset by peer]
xiambax has joined #arm-netbook
<furan> posted a tutorial on upgrading nand flash in a10 devices
<furan> (I fixed the subject but the url is still inaccurate, it's just for a10/a13 devices)
<Turl> furan: wiki? :D
ssvb has joined #arm-netbook
<Turl> fuu more spam on wiki :<
* Turl went on a bot killing spree
<hno> furan, nice job. But please post things like this on the wiki.
<hno> especially your findings on the nand table entry contents.
<hno> we hope to get rid of the proprietary bootloaders.
<hno> but will likely need to use the Allwinner NAND driver for some time.
<hno> that nand controller is "different".
Boulet has joined #arm-netbook
<steev> furan: nicely done sir
Boulet has quit []
tuliom has joined #arm-netbook
gimli has quit [Quit: Verlassend]
<furan> thanks guys
<furan> hno: yeah it's a mess
<Marex> hno: heya! :)
<Marex> hno: did you get time to check the upstream goo ?
<hno> Marex, still fighting with DRAM setup on A13. in general.
<Marex> hno: all righty, good luck then :)
<hno> I hope to see some life from SPL in a minute.
<hno> But no...
<Marex> hno: SPL doesn't start for you at all ?
<Marex> hno: if you have serial port, you can call "serial_init()" and "serial_puts()" to pump out some debugging symbols basically right after you have stack set up (after you leave start.S and execute C code)
<hno> The DRAM controller never finishes it's initialization for some reason.
<Marex> just remember you need CONFIG_SPL_SERIAL_SUPPORT in your include/configs/...h
<Marex> hno: oh this
<hno> Running it under gdb via JTAG
<Marex> hno: might be a timing issue due to the single stepping ?
<Marex> or maybe you break it somewhere ?
<Marex> hno: I think I won't be much help really, I have only a very blurry idea about this particular chip
<hno> Does not seem to be a timing issue. Hangs at same location without any breakpoints.
<furan> hno what are you fighting? if the source is out, I guess I'm not sure what you're doing - are you writing new drivers for these things?
<furan> it sounds cool though
<hno> furan, source is not out for initial boot process on A13.
<Marex> hno: why does it hang ? the core halts ?
<Marex> hno: aren't you hitting some exception, like DABT due to accessing uninited memory ?
<hno> It's a loop waiting for the dram controller to flip a bit saying it's ready.
<hno> no memory accesses yet.
<Marex> oh, then you're likely missing some configuration ... it's hard to tell without ref. sources or datasheet
<Marex> you can maybe setup HW watchpoints and trace the original code that does the init though ?
<furan> oic
<Marex> furan: wat ? :)
<furan> oh i see
<furan> responding to hno :)
<Marex> hydrogen nitrogen oxygen :p
<furan> I have yet to use jtag to debug, not even sure what sw to use, even though I have dongles for it for fpga stuff
<hno> HW watchpoints during original initialization process would be interesting. Need to try that. But currently matching register dumps to make sure I set up the registers right.
<furan> is there a tutorial somewhere on doing jtag debuggiing?
<Marex> hno: you usually need to write the registers in correct sequence
<furan> debugging
<Marex> furan: read up on OpenOCD ... that's cool
<furan> ok
<Marex> furan: for stuff like programming xscale chips, read up on openwince-jtag (now urjtag)
<Marex> furan: when you want to go to next level, get abatron bdi3000 :p
<Marex> furan: and then the only way up is probably the lauterbach one ;-D
* Marex puts off the drool
<furan> haha ok
<Marex> hno: another interesting thing you might want to try is qemulating the init code (in qemu) ... you can trap hardware accesses there really easily
<furan> is there anything else usually on the jtag chain besides the cpu?
<furan> on allwinner devices
<Marex> furan: no idea about allwiener ... but there might be
<hno> furan, no idea what's on the chain. Only know how to access the cpu.
L84Supper has quit [Ping timeout: 246 seconds]
<Marex> hno: the JTAG is a bus, like any other ... and there can be multiple devices connected on it
<Marex> hno: usually, there's only the CPU, alone, sad ... but there might be eg. an FPGA on the same JTAG bus
<furan> well I was wondering if flash was on jtag but the jtag pads I've seen are right next to the cpu
<furan> so perhaps not
<penguin42> don't you normally have to do evil things like wiggle the CPU pins over JTAG to do flash writes?
<Marex> furan: that's not very likely
<Marex> penguin42: yes
<hno> There is no JTAG chaining to external components. But there is multiple CPUs within the chip.
<furan> penguin42: no
<Marex> hno: the multiple CPUs business in case of the armv7 is handled by that coresight goo arm has
<furan> usually they're just on the jtag chain as independent devices (flash)
<furan> I have a lot of fpga boards that are like that, fpga and flash in the same chain
<hno> furan, I don't see any JTAG signals in the normal NAND pinout.
<Marex> furan: I didn't see too many flash chips with JTAG pads ;-)
L84Supper has joined #arm-netbook
RITRedbeard_ has joined #arm-netbook
RITRedbeard has quit [Read error: Connection reset by peer]
popolon has quit [Quit: Quitte]
CIA-124 has quit [Remote host closed the connection]
rellla has joined #arm-netbook
rellla has quit [Quit: SYLA]