<vincenzo>
I will check. Anyways: if the script.bin i'm using is the stock one, how can it be wrong?
<techn_>
device wont boot if you are using wrong dram parameters in uboot
BJfreeman has quit [Read error: Connection reset by peer]
hramrach_ has joined #linux-sunxi
<vincenzo>
in u-boot-sunxi/board/allwinner/a10_mid_1gb/dram.c: dram_emr1 = 0x4
<vincenzo>
but on the running board it is dram_emr1 = 0x0
<vincenzo>
techn_: is this a/the problem?
techn_ has quit [Read error: Connection reset by peer]
<vincenzo>
actually it is the opposite (0x04 on the board and 0x00 in uboot)
<rz2k>
hno: fixed my dram setup both in u-boot and script.bin, still the same... http://pastebin.com/5r7YFCKZ probably jtaging is needed. I have cloned J-Link around, not sure if it will work with OpenOCD
<Turl>
rz2k: what trouble are you having? looks like it booted ok
<rz2k>
Turl: it reboots after that and in bits and pieces that left over and spit out to UART you can clearly see that they are parts of addresses
<rz2k>
so its kernel panics there
<Turl>
rz2k: just after the uart driver curiously
<Turl>
what happens if you compile it out?
<rz2k>
checking right now
<rz2k>
i also noticed that there is "winners uart driver" around in serial, compiled it in for test
<rz2k>
i remember that we had standard 8250 working
<rz2k>
Turl: remember any other ipcores that are used in Axx ?
<Turl>
rz2k: I believe hno said MMC and SATA were someone else's IP
<rz2k>
if you have a reason, please add a remark there :) I added NAND because I worked with it a lot lately, and it is really weirdly done, just like it was put as an afterthought
<rz2k>
and glued with what they have around
<rz2k>
for example, you cant ready 448 bytes, only 1024.
<rz2k>
(the RAM0 size)
<rz2k>
s/ready/read/
<Turl>
I've only been working extensively with clocks, and cannot make any comment re. it
<rz2k>
ok
<Turl>
rz2k: I just saw your email on the list, you must have a pretty good eye
<Turl>
both images look like the same board to me :p
<rz2k>
different ddr3 marking
<rz2k>
:P
<Turl>
rz2k: yeah I won't be able to tell that with those imgs :P
<Turl>
rz2k: heh, they say A10-olinuxino-micro to add to the confusion
<rz2k>
yep, the layout is the same
<rz2k>
so they didnt change it
_BJFreeman has joined #linux-sunxi
_BJFreeman is now known as BJfreeman
<rz2k>
tried both "winners uart driver", and various settings of standard 8250
<naobsd>
hmmmmmmm... is cubieboard shipped with unieque MAC address? should I check it before flashing image?
<naobsd>
it may be too late ;)
tinti has joined #linux-sunxi
<Turl>
naobsd: the original one wasn't, I think they generate one from SID when flashing images now though
<naobsd>
Turl: thanks. this cb2 should be only for dev, so it may not have MAC address... I'll ask hipboi(or on #cubieboard)
<Turl>
naobsd: btw, I found out you can autogen the dram stuff this way
<Turl>
./fexc -O uboot yourfile.fex dram.c
<Turl>
or from a bin, ./fexc -I bin -O uboot blah.bin dram.c
<naobsd>
Turl: thanks. it worked, but some values in script.bin/fex are -1, so output is not correct :(
<Turl>
naobsd: that's why usually new boards consist on adding fex on sunxi-boards, then fixing up dram_para with aid of a10-meminfo, then disabling unused stuff in the fex depending on the device, then adding support to uboot :)
<naobsd>
I see :)
<naobsd>
DRAMC_init() should be dramc_init()... sunxi-tools/script_uboot.c should be updated
<naobsd>
anyway, thank you Turl
<hno>
naobsd, looks fine. Merged.
<naobsd>
hno: for now I only tested led on/off and mmcinfo ;)
<hno>
naobsd, there is no community A20 kernel tree yet.
<hno>
Should be possible to boot sunxi-3.3-cb2 I think, but have not tried, and have had problems booting Allwinner kernels.. seems boot1 is doing something that the kernel expects.
<derethor>
i am only trying to push data on the a13
<derethor>
if it is possible, of couse
derethor has quit [Quit: Leaving]
vincenzo has quit [Ping timeout: 245 seconds]
derethor has joined #linux-sunxi
rellla has joined #linux-sunxi
servili007 has joined #linux-sunxi
cajg has joined #linux-sunxi
derethor has quit [Remote host closed the connection]
vincenzo has joined #linux-sunxi
<servili007>
oliv3r: ping
derethor has joined #linux-sunxi
derethor_ has joined #linux-sunxi
derethor has quit [Client Quit]
derethor_ has quit [Client Quit]
derethor has joined #linux-sunxi
derethor has quit [Client Quit]
derethor has joined #linux-sunxi
jemk has joined #linux-sunxi
<soul>
Sorry for disturbing but, where I have to start reading for installing Debian or another GNU/Linux distro (with desktop if possible) on a Hyundai A7? I can't remember who helped me giving me this link (linux-sunxi.org/Hyundai_A7HD) but I'm still lost.
<focus>
hi guys, is there an easy way to create a single header file that described all of the registers and bit fields in an A10 SoC. In PIC world this is easy. In cortex M0, M3 world its a bit ridiculous with everyone doing their own names. I want the file to make the SoC appear as a glorified embedded CPU for high I/O pin count projects.
<focus>
In the long run, everyone could benefit from it because you will be able to see the entire CPU at a glance. When derivatives are made, it won't be so difficult to manage the porting of programs to the new CPU.
<libv>
soul: this is a plain A7, the white one?
<soul>
libv: Oh, hi. I have it without HD yes. It's white and the screen is 7"
<soul>
libv: I can find the hardware (I think)
wingrime has quit [Ping timeout: 252 seconds]
eebrah is now known as eebrah|away
jemk has quit [Quit: bye]
tzafrir has quit [Ping timeout: 240 seconds]
BJfreeman has quit [Ping timeout: 252 seconds]
_BJFreeman has joined #linux-sunxi
_BJFreeman is now known as BJfreeman
\\Mr_C\\ has quit []
BJfreeman has quit [Ping timeout: 252 seconds]
_BJFreeman has joined #linux-sunxi
_BJFreeman is now known as BJfreeman
<Turl>
focus: 1) open text editor 2) write 3) ??? 4) profit! :P
<Turl>
focus: on a little bit more serious note, I haven't seen anything like that for sunxi
<Turl>
focus: the kernel has some headers with bitfield struct definitions that you can map on top of the register to use, but it's nothing universal
<Turl>
focus: maybe an uboot standalone app would be more suitable for portability, although I don't know if they expose the i2c and the like apis to apps
soul has quit [Remote host closed the connection]
G[3z] has joined #linux-sunxi
<focus>
Turl: groan! I wanted gcc to compile a single executable from a single cpu header file. if I trawl through Linux source code, any chance I might gather up a few of the parameters to start off this header file?
BJfreeman has quit [Ping timeout: 252 seconds]
_BJFreeman has joined #linux-sunxi
_BJFreeman is now known as BJfreeman
<oliv3r>
anybody familiar usb-otg? i have a mini usb keyboard with regular usb connector. with a usb-otg 'converter' it works fine. now i soldered on a mini usb plug and of course it doesnt work
<oliv3r>
is the 4th pin spmehow involved? normally it is n/c
<oliv3r>
i thimk it is called otg-detect?
<oliv3r>
so maybe short it or somerhing?
<oliv3r>
focus: probably impossible
<oliv3r>
simple beacause we dont have all the docs
G[3z] has quit [Remote host closed the connection]
<oliv3r>
if you really want to use the soc as an avr replacement (there are high pincount avr's)
focus has quit [Quit: Leaving]
<oliv3r>
you ....leave
<oliv3r>
you could look at the avr headers and, well start writing
<oliv3r>
i think u-boot has some headers with some defines done
Soru has joined #linux-sunxi
<Soru>
test
<Soru>
libv: Sorry, my connection dropped. Did you say something?
<libv>
Soru: first off, start creating a wiki page for the a7
<libv>
Soru: feel free to use the general structure of the a7hd page
<libv>
then, you have to generate the necessary info for uboot and the kernel
<soul>
libv: Stock vendor firmware means the original rom?
<vincenzo>
Hi, I'm trying to figure out how to make my table work with the rom I'm building. It needs a module goodix_touch_3f.ko ... does anyone know where to get sources for it