bobbio has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
<RaYmAn>
Cool!
<menomc>
hipboi: what about the sexy cubieboards? :)
hipboi has quit [Quit: Leaving]
cubieboard has joined #arm-netbook
<cubieboard>
what?
<cubieboard>
who is calling me?
<cubieboard>
it will be available by the end of this month
<cubieboard>
second revision of the hardware
<menomc>
\o/
<RaYmAn>
cubieboard: are you familiar with JTAG on a10/a13 using that microsd breakout board? :)
<cubieboard>
yes
<cubieboard>
take a look at the script.fex
<RaYmAn>
cubieboard: how do I go about using it? :S hehe. There is a lot of unnamed pins on the 14 pin connector
<cubieboard>
RaYmAn:
<cubieboard>
[jtag_para]
<cubieboard>
jtag_enable =1
<cubieboard>
jtag_ms = port:PB14<3>
<cubieboard>
jtag_ck = port:PB15<3>
<cubieboard>
jtag_do = port:PB16<3>
<cubieboard>
jtag_di = port:PB17<3>
<cubieboard>
just set the port to the value and jtag is configed
<RaYmAn>
okay, so disable sdcard, change jtag to be on PF
<RaYmAn>
cubieboard: do you have any idea what pins are what on the microsd breakout 14-pin connecter? I'm assuming the included 2x2pin 0.05" pitch to 4pin 0.1" pitch cables are sufficient? :)
<cubieboard>
the 14pin connector is standard arm jtag header
<cubieboard>
many arm jtag debbger uses it
<RaYmAn>
fair enough - I'm kind of lacking any standard connectors, so planning to hook it up with jumper cables :)
<RaYmAn>
s/connectors/cables/
<ibot>
RaYmAn meant: fair enough - I'm kind of lacking any standard cables, so planning to hook it up with jumper cables :)
Quarx has quit []
<Mazon>
cubieboard with sata ? - or is that breakout sata ?
<mnemoc>
i suppose it will enable multipliers too...
<mnemoc>
for my use case the only but is how to power the drive without another PSU... and esata solves that, so that is what I value most of that interface :)
* mnemoc
very sad about having a dead uSD slot on the a13-olinuxino :<
<RaYmAn>
did you check script.bin setup, just in case?
<RaYmAn>
I dunno how hte low-level boot stuff works but..
<mnemoc>
this is far earlier than uboot or script.bin
<WarheadsSE>
afaik, then low level doesnt read the bin @ boot
<RaYmAn>
Sometimes it's good to assume everything you know is wrong ;)
<mnemoc>
=)
<WarheadsSE>
aye
<hno>
mnemoc, could be wiring error. uSD have not been verified yet.
<hno>
you could play with pio to check the pinout.
<mnemoc>
yes, good idea, I'll make a dump on my next break
<hno>
dump?
<mnemoc>
pio register
<hno>
WarheadsSE, BROM do not read script.bin. It only probes the available boot devices in a predefined order (SDC0, NAND, SDC1, SPI)
<WarheadsSE>
right, spl doesnt check the dram timings either though
<hno>
mnemoc, you need a little more than just dumping the registers. Alsn need to set them to input.
<hno>
WarheadsSE, check against what?
<WarheadsSE>
against, the .bin.. idk
* WarheadsSE
is still pissed @ gooseberry
<WarheadsSE>
We're pretty sure is a dram timing issue causing the reset
<mnemoc>
hno: yes, I know, but first need the dump to see it's initial state ;-)
<mnemoc>
hno: and to pass to `pio`
<hno>
WarheadsSE, what DRAM does it have? And do you have an matching android image for it?
<WarheadsSE>
it has an image in nand
<WarheadsSE>
I haven't spent a ton of time on it yet
<mnemoc>
isnt' that the board of the ly-f1?
<WarheadsSE>
and I dont have the board in front of me at the moment
<WarheadsSE>
A721
<WarheadsSE>
yes, though, very much almost identical
<hno>
WarheadsSE, do you have UART?
<WarheadsSE>
yeah
<WarheadsSE>
brb
<WarheadsSE>
back, yes we do
<WarheadsSE>
But the device is not in front of me atm
<WarheadsSE>
its a home, i am at the office
just4dos has quit [Quit: Leaving]
just4dos has joined #arm-netbook
just4dos has quit [Remote host closed the connection]
just4dos has joined #arm-netbook
<hno>
mnemoc, default A13 PIO is in github.
<mnemoc>
hno: uh, received your board??
cubieboard has quit [Quit: 暂离]
devxdev has joined #arm-netbook
devxdev has quit [Quit: ...]
<mnemoc>
hno: does your uSD work?
<WarheadsSE>
hno: why ask about the wart? get console & dump nand?
<RaYmAn>
mnemoc: hmm, should one usually completely remove the mux definitions when disabling a module or is it sufficient to just set it to unused/disabled?
<mnemoc>
RaYmAn: there is no such thing as "disabled" in the PIOs
<RaYmAn>
ok, so I need to set anything using the same pins to another port
Vayu has quit [Ping timeout: 268 seconds]
<mnemoc>
they'll remain as inputs if you don't touch them
<RaYmAn>
well, what I mean is. I have the PF00,01,03 and 05 set in the JTAG part, but they are also used elsewhere, so that would cause issues
<RaYmAn>
I can't seem to find the wiki page describing how to get e.g. UART over microsd :/
<mnemoc>
you'll need to relocate the other feature or disable it, setting foo_used to 0
<RaYmAn>
I was so sure I saw one at some point but..
gimli has joined #arm-netbook
<mnemoc>
RaYmAn: search for hacking A10 devices on elinux.org
<RaYmAn>
right, that's what I was forgetting - elinux.org :P
<RaYmAn>
thanks
<mnemoc>
RaYmAn: and the original wiki page in RT's wiki about hacking the mele
<mnemoc>
yw
<RaYmAn>
mnemoc: any idea what the last three params in the port block is? The default default defeault, and sometimes <1> or <0>
QingPei has joined #arm-netbook
<mnemoc>
function, pull up/down, drive level and value
<mnemoc>
pull up/down is boolean, enable-disable
<mnemoc>
value is boolean too, but only meaningful when function is output
<mnemoc>
drive level I think goes up to 3
<RaYmAn>
perfect, thanks
<mnemoc>
yw
<mnemoc>
RaYmAn: btw, it would be awesome if you could add some of this to the linux-sunxi wiki :)
<RaYmAn>
some of what? setting up uart? or the jtag stuff
<mnemoc>
both :p
<RaYmAn>
bah :P
<RaYmAn>
that sounds like work
<mnemoc>
^^
Quarx has joined #arm-netbook
tzafrir_laptop has quit [Ping timeout: 276 seconds]
P4R4N01D has quit [Ping timeout: 246 seconds]
P4R4N01D1 has joined #arm-netbook
just4dos has quit [Quit: Leaving]
just4dos has joined #arm-netbook
Quarx has quit []
QingPei has left #arm-netbook [#arm-netbook]
tzafrir_laptop has joined #arm-netbook
arokux_h has joined #arm-netbook
<CIA-121>
rhombus-tech: John master * redf25206b347 /allwinner_a10/orders/jguy.mdwn:
P4R4N01D1 has quit [Quit: Konversation terminated!]
<RaYmAn>
now, If I just had any clue how to actually use jtag ;)
<rz2k>
document that on wiki please
<rz2k>
connect gdb server
<rz2k>
if you have one
<RaYmAn>
doesn't that require it having some sort of code?
<RaYmAn>
lol
<RaYmAn>
this is using urjtag
<rz2k>
also you can read/write memory directly
<rz2k>
I remember I had good article aboutt kernel debugging with j-link, I will try to find it tomorrow, now sleep.
<rz2k>
good night
<RaYmAn>
jtag> peek 0x00004000
<RaYmAn>
error: illegal state: Bus missing
<RaYmAn>
so somehting isn't quite right
<RaYmAn>
night
eFfeM has joined #arm-netbook
<mnemoc>
RaYmAn: kudos!
<RaYmAn>
apparently it's important to connect VDD as well :P
<RaYmAn>
when dealing with JTAG
<mnemoc>
:D
<mnemoc>
wiki wiki :)
<RaYmAn>
yeah
<RaYmAn>
I'm not sure it'd be very easy without the microsd breakout though
<RaYmAn>
though, I guess I could test that, heh
<mnemoc>
first document the easy path ;-)
<RaYmAn>
I think I managed to flash a broken script.bin, so this actually seems to be default behavior
<RaYmAn>
I will document it (i have a few notes =P), but I would like to uhm, confirm it actually works properly first
<RaYmAn>
which is hard when you are mostly guessing when it comes to jtag :P
<mnemoc>
:D
nibb__ has joined #arm-netbook
nibb_ has quit [Read error: Connection reset by peer]
<RaYmAn>
mnemoc: isn't there a way to make those code sections nice? It looks kind of silly that each line gets "highlighted" by itself: http://linux-sunxi.org/JTAG
* Turl
asks wikipedia-knowledgeable buddy
<mnemoc>
RaYmAn: we have syntaxhighlighter_3.0.83
<mnemoc>
RaYmAn: but no 'ini' highlighter available