syeekick has quit [Read error: Connection reset by peer]
gianMOD has joined #linux-sunxi
faisal has quit [Ping timeout: 244 seconds]
<bonbons>
it's know that the website has some trouble, a few disk failures keeping the machine from booting (properly)
<flok420>
hi. with recent kernels (3.18 eg) the gpio sys-files no longer have their name in the file. eg gpio1_ph15. how can I find out what gpio-number is allocated for ph15?
iamfrankenstein has quit [Quit: iamfrankenstein]
paulk-collins has joined #linux-sunxi
<bonbons>
flok420: for which kernels did the naming work as expected?
<bonbons>
if it was for 3.4 sunxi kernel, then some details of the FEX file were not ported to device-tree. In that case it's also important to note exactly which board you are using
<flok420>
bonbons: 3.4 kernels had the gio
<flok420>
yes the 3.4 sunxi. there I used gpio_ph15 but now with 3.18 I have a hard time finding the corresponding gpioXXX file
<flok420>
it is a cubieboard 1
<bonbons>
you would probably need to "configure" the gpio with pinctrl first but I don't know the details... (you can automate this via dts file, take a look at how LEDs are defined in there)
iamfrankenstein has joined #linux-sunxi
<flok420>
hmm ok. that's different from the usual path of saying eg echo 13 > /sys/class/gpio/export for pin 13. will look at pinctrl
<sehraf>
flok420: you need to calculate the number ... e.g h is the 7th letter (counting from 0) --> ph15 = x * 7 + 15 .. i'm not sure what x is ... maybe 128 or 256 ..
<sehraf>
242 is the reset pin for BT and 248 is the wake pin
<sehraf>
(on a coubetruck)
<sehraf>
cubie*
<sehraf>
the formula might be on linux-sunxi.org .....
<flok420>
hmmm are you sure it is character * 7? because for example pa has way more pins than 7?
<sehraf>
the 7 is the gpio bank number (and because a has way more pins you multiply 7 with x, which is the maximum number of pins per bank)
<flok420>
oh that's what you mean. ok let me see
<flok420>
found it: is 32 * x + y
<flok420>
nice
Black_Horseman has quit [Quit: Zwi se logou mou!!!]
iamfrankenstein has quit [Ping timeout: 245 seconds]
iamfrankenstein has joined #linux-sunxi
jelly-home is now known as jelly
iamfrankenstein has quit [Ping timeout: 272 seconds]
fr4z has joined #linux-sunxi
<oliv3r>
flok420: quickest way, is to boot u-boot, and cancel the boot, in the u-boot console, you can do a gpio toggle pi19
<oliv3r>
flok420: and u-boot will tell you the decimal ID; also, you could do the math :)
<flok420>
ah! good!
<flok420>
funny thing is that i don't get interrupts like the 3.4 (and recent kernels on other platforms) do
<flok420>
ph15 is supposed to have an interrupt but changing the level doesn't trigger poll(POLLPRI)
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<oliv3r>
i tested a few pins with the rotary driver (though the gpio_keys driver would be more appropiate i suppose)
<oliv3r>
and it triggers interrupts as expected
<flok420>
hmmm. what could it be.
<oliv3r>
th epin you configure doesn' thave an EINT :)
<oliv3r>
your driver is not setting up the key properly
<flok420>
the datasheet says it does
<oliv3r>
you have to use gpio_to_irq for example if my mmeory serves me right
<oliv3r>
don't trust the datasheet :)
<oliv3r>
that's why i said, use the gpio_keys to test your pin, and to follow the code as an example :)
<flok420>
i do this from userspace, e.g. echo 239 > /sys/.../export, echo in > sys/.../direction, etc
<oliv3r>
not sure if you can trigger interrupts from userspace
<mripard_>
flok420: did you modify .../edge?
<flok420>
oliv3r: yes you can. set direction to in, edge to whatever and do a poll(POLLPRI) on the filehandle for the ../value "file"
<flok420>
mripard_: yes
<oliv3r>
flok420: ah, awesome, I did not know
<flok420>
the same code runs fine on an rpi, a beagble bond and a udoo.
<mripard_>
flok420: and nothing shows up in /proc/interrupts?
<oliv3r>
mripard_: did I promise you hugs and kisses allready?
<mripard_>
oliv3r: no, but you don't have to
<mripard_>
really :)
<oliv3r>
mripard_: are you VERY sure?
<oliv3r>
:p
<oliv3r>
a ONCE in a lifetime offer
<mripard_>
yeah, I'm pretty sure
<flok420>
mripard_: nope, only sun4i_timer0 and eth0 increase
<oliv3r>
mripard_: :(
domidumont has quit [Remote host closed the connection]
<oliv3r>
mripard_: good, i'm sure my gf wouldn't approve
<mripard_>
now, if you add a 3d printer to that offer... :)
<mripard_>
flok420: what's supposed to generate interrupts?
<oliv3r>
mripard_: LOL, you'll take kisses for a printer? you are cheap!
domidumont has joined #linux-sunxi
<flok420>
mripard_: gpio pin ph15 (239)
<mripard_>
flok420: you told that already
<oliv3r>
flok420: i think he means what is connected ON pin ph15
<mripard_>
but what's wired to that pin?
<oliv3r>
flok420: also, check 'value' to see if you are actually toggeling something :)
<flok420>
oh it is a gps module with a pps.
<oliv3r>
isn't there a kernel driver for that allready? to use the pps as a timesource?
<flok420>
oliv3r: yeah I did that: for i in `seq 0 1000` ; do cat /sys/class/gpio/gpio239/value ; done | sort | uniq -c shows me that it is 10% high which is correct; the gps makes the pps pin high 100ms per second
<flok420>
oliv3r: yes but it is unclear how to apply that to a gpio pin on the cubieboard. so i'm first trying to use my userspace solution for that.
<oliv3r>
flok420: well the driver hasn't been ported to devicetree as far as I can see, so it might be tricky :p
<flok420>
ok so then i definately need to use my userspace driver
ssvb has joined #linux-sunxi
<oliv3r>
doesn't seem to work on tickless systems also, which I think the majority are today? could be wrong here though
<oliv3r>
ah it only works via the parallel port
<flok420>
tickless doesn't matter.
<oliv3r>
for the driver it does :p
<flok420>
on x86/rpi it also works with tickless kernel. the system clock is independent from the administrative timer. and pps is looking at the system clock every pps interrupt to see what the local offset is to the pps
<oliv3r>
flok420: ah; well the pps driver in the kernel, does not work with a tickless kernel, nor does it work with anything other then a parallel port
<flok420>
in the cubie kernel you mean?
<oliv3r>
from a quick glance at kernel code
<oliv3r>
flok420: the pps driver frame work in the kernel
<flok420>
because on x86 it works fine with serial. i've been using it for years that way.
<oliv3r>
so userspace should work without a problem, kernel space, either fix + extend the kernel driver, or, not :)
<oliv3r>
ohhh it's an OUTPUT i think on the parallel port
<oliv3r>
yeah, serial only in, parallel only out
<flok420>
ntpq -c pe -n keetweej.vanheusden.com <- 192.168.64.2 is connected via serial to a garmin 18+ lvc
<oliv3r>
cool :)
iamfrankenstein has quit [Ping timeout: 245 seconds]
<flok420>
the others are rpi's, a nanos g20, an gl-inet (with polling though; it doesn/t do interrupts)
<oliv3r>
but doing it via GPIO is unsupported at the moment
<oliv3r>
i wonder if my gps has a pps pin
<oliv3r>
it's a usb/serial device, so it must be hidden on the PCB somewhere IF it has it at all
domidumont has quit [Remote host closed the connection]
domidumont has joined #linux-sunxi
iamfrankenstein1 has quit [Ping timeout: 245 seconds]
<flok420>
oliv3r: what is the brand? usb is useless for pps because usb has bad timing (seen from a timekeeping perspective)
FreezingCold has quit [Ping timeout: 240 seconds]
a1d3s has joined #linux-sunxi
Guest78775 has joined #linux-sunxi
cubear has quit [Remote host closed the connection]
cnxsoft1 has quit [Quit: cnxsoft1]
cnxsoft has joined #linux-sunxi
a1d3s has quit [Ping timeout: 265 seconds]
Nyuutwo has joined #linux-sunxi
Nyuutwo has quit [Remote host closed the connection]
cnxsoft has quit [Quit: cnxsoft]
Nyuutwo has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
a1d3s has joined #linux-sunxi
FDCX has quit [Ping timeout: 246 seconds]
ssvb has quit [Ping timeout: 252 seconds]
viccuad has joined #linux-sunxi
viccuad has quit [Client Quit]
paulk-collins has quit [Quit: Quitte]
ricardocrudo has quit [Ping timeout: 264 seconds]
<flok420>
that interrupt-problem I was complaining about may be a kernel problem. I noticed that the raspberry pi i used to do this poll-for-interrupt trick on also suddenly fails to wait for interrupts since kernel 3.18.3/4
<flok420>
this worked fine until at least 3.12
<flok420>
am composing an e-mail to lkml about it
<mripard_>
flok420: can you put me in Cc ?
f15h has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
ssvb has joined #linux-sunxi
<flok420>
mripard_: what is your e-mail address?
<flok420>
I already sent it but i can forward you the mail
<mripard_>
flok420: never mind then :)
<mripard_>
what ml did you send it to?
bonbons has quit [Quit: Leaving]
<flok420>
mripard_: linux-kernel@vger.kernel.org
FDCX has joined #linux-sunxi
FDCX_ has joined #linux-sunxi
FDCX_ has quit [Remote host closed the connection]
<mripard_>
flok420: ack
ricardocrudo has joined #linux-sunxi
FDCX has quit [Quit: Leaving]
FDCX has joined #linux-sunxi
leowt has joined #linux-sunxi
kurain has joined #linux-sunxi
<leowt>
:quit
leowt has quit [Client Quit]
ricardocrudo has quit [Ping timeout: 245 seconds]
vishnup has joined #linux-sunxi
<oliv3r>
flok420: i ment to disasemble it and find a pps signal on the PCB ;)
<oliv3r>
flok420: also these devices have a serial port an dthen an in-wire usb to serial converter
a1d3s has quit [Ping timeout: 264 seconds]
<vishnup>
hi, I'm trying to bringup my A33 tablet using Mainline uboot/spl
<vishnup>
In SPL itself, Timeout is happening while initializing DRAM
<vishnup>
dram code is not provided by allwinner
<vishnup>
wens: ping
Fsanches has joined #linux-sunxi
HeHoPMaJIeH has quit [Quit: Konversation terminated!]
vishnup has quit [Remote host closed the connection]
crised has joined #linux-sunxi
vishnup has joined #linux-sunxi
skaag1 has quit [Quit: Leaving.]
<crised>
Hello, I want to run Linux in a smartphone, which hardware do you advice?
reinforce has joined #linux-sunxi
<Fsanches>
crised: the Android operating system runs Linux as its kernel
<crised>
Fsanches: true... but I want to use the smartphone as a server, don't need any GUI
<crised>
just CLI
<crised>
don't need all the specialization that android has on UI
gianMOD has quit [Remote host closed the connection]
<crised>
Linux-sunxi.org is DOWN for everyone.
<linkmauve1>
crised, my phone is an OpenMoko one, which is exactly what you are describing, but certainly not the best price/performance ratio you could find currently.
<crised>
linkmauve1: ok which other options are out there?
<NiteHawk>
turl: maybe put some notice about current linux-sunxi.org hw failure / downtime in the topic?
<linkmauve1>
crised, dunno, I’m perfectly happy of my current phone, and have been since 2008.
<crised>
linkmauve1: hows the keyboard in those opnemoko?
ricardocrudo has joined #linux-sunxi
<linkmauve1>
crised, virtual.
<linkmauve1>
Except if you plug a physical one in USB (it can switch from device to host on a simple command) or bluetooth.
<NiteHawk>
crised, why would you aim specicifally for a smartphone instead of a more general embedded (SoC) system?
<crised>
linkmauve1: virtual? touch?
<linkmauve1>
crised, yup.
<crised>
NiteHawk: because of the price, it combines a 2g/3G modem built in
<NiteHawk>
ok, the modem is a valid point of course
Netlynx has joined #linux-sunxi
<crised>
NiteHawk: also they carry a camera
<ssvb>
vishnup: is there A33 SDK available somewhere?
<vishnup>
no
<crised>
linkmauve1: which openmoko devices are for sale?
<crised>
linkmauve1: Could you configure the smartphone for only CLI?
<ssvb>
vishnup, plaes: ^
<linkmauve1>
crised, huh, GTA02 doesn’t do 3G nor has a camera, so from what you said I guess you don’t want it.
<linkmauve1>
(It’s the model I use.)
<linkmauve1>
So you still have the GTA04, but it’s more expensive.
<crised>
linkmauve1: where can you buy those?
<linkmauve1>
And yes, you can perfectly configure them both to use a CLI-only environment.
<linkmauve1>
I know a guy who uses exclusively Emacs on his GTA02. :)
<crised>
linkmauve1: :)
<linkmauve1>
crised, no idea, I haven’t searched a new phone since 2008.
<crised>
linkmauve1: lol
<linkmauve1>
At that time I bought it from BearsTech, a French company that was reselling this phone.
<crised>
linkmauve1: I see, this seems popular in europe
<crised>
linkmauve1: Does openmoko uses sunxi?
<linkmauve1>
No, the GTA04 uses a TI OMAP SoC.
<crised>
linkmauve1: ok
<ssvb>
vishnup: hansg took the boot0 binary (which is very small and easy to analyze) from A23 SDK and just converted one function in it from assembly into C code with really minimal modifications
<linkmauve1>
So it’s quite off-topic for this room. :p
<ssvb>
vishnup: something similar can be done for A33 too
<vishnup>
ssvb: where is boot0 stored?
<vishnup>
Can I extract it from Tablet memory?
<vishnup>
we do not have A33 sdk at the moment
<vishnup>
I'll be back
<ssvb>
vishnup: let me look again, in A23-v1.0.tar.gz it was in A23/lichee/tools/pack/chips/sun8iw3p1/bin/boot0_sdcard_sun8iw3p1.bin
<ssvb>
vishnup: at the offset 0x34A0 there is a function, which is nearly identical to the 'mctl_init' function contributed by Hans to the mainline u-boot
domidumont has quit [Quit: Leaving.]
<ssvb>
vishnup: I think that having a look at libdram (which was removed from the allwinner's u-boot repository) is the most efficient way to extract the relevant functionality
<ssvb>
plaes: do you still have a copy of libdram for a33?
vishnup1 has joined #linux-sunxi
<ssvb>
plaes: you kinda suggested this in the github comment :)
Skaag has joined #linux-sunxi
Skaag has quit [Max SendQ exceeded]
Skaag has joined #linux-sunxi
Skaag has quit [Max SendQ exceeded]
Skaag has joined #linux-sunxi
Skaag has quit [Max SendQ exceeded]
Skaag has joined #linux-sunxi
Skaag has quit [Max SendQ exceeded]
Skaag has joined #linux-sunxi
Skaag has quit [Max SendQ exceeded]
Skaag has joined #linux-sunxi
Skaag has quit [Max SendQ exceeded]
Skaag has joined #linux-sunxi
Skaag has quit [Max SendQ exceeded]
Skaag has joined #linux-sunxi
Skaag has quit [Max SendQ exceeded]
Skaag has joined #linux-sunxi
Skaag has quit [Max SendQ exceeded]
Skaag has joined #linux-sunxi
Skaag has quit [Max SendQ exceeded]
Skaag has joined #linux-sunxi
Skaag has quit [Max SendQ exceeded]
Skaag has joined #linux-sunxi
Skaag has quit [Max SendQ exceeded]
a1d3s has joined #linux-sunxi
Skaag has joined #linux-sunxi
Skaag has quit [Max SendQ exceeded]
<a1d3s>
ssvb now i have burned this android image on sd , but cant find any script.bin
Skaag has joined #linux-sunxi
Skaag has quit [Max SendQ exceeded]
Skaag has joined #linux-sunxi
Skaag has quit [Max SendQ exceeded]
Skaag has joined #linux-sunxi
Skaag has quit [Max SendQ exceeded]
Skaag has joined #linux-sunxi
Skaag has quit [Max SendQ exceeded]
crised has left #linux-sunxi [#linux-sunxi]
Skaag has joined #linux-sunxi
Skaag has quit [Remote host closed the connection]
vishnup1 has quit [Quit: Leaving]
<ssvb>
a1d3s: appears that we need a simple tool to dump 0x20000 bytes from 0x43000000 via /dev/mem
<ssvb>
a1d3s: vishnup already has one :)
<ssvb>
a1d3s: do you at least have root privileges in this android?
<ssvb>
a1d3s: android in a31s tablets is a real pain to get rooted
<vishnup>
KingoRoot software helped me to root a33 tablet easily
<a1d3s>
ssvb would it be help if i dd my sdcard and upload it somewhere?
<ssvb>
maybe we can have some sort of a universal fex dumper with integrated rooting functionality if necessary :)
<ssvb>
a1d3s: can you write a simple program to dump a piece of physical ram via /dev/mem ?
<a1d3s>
ahm no
<vishnup>
I'd written one, Let me upload it..give 10 min
<ssvb>
a1d3s: if not, then maybe vishnup can share his /dev/mem dumping program with you
<a1d3s>
as i say some days ago , im not a dev only a stupid user ;)
<a1d3s>
because if someone explain what to do , then i do :)
konradoo77 has joined #linux-sunxi
<ssvb>
vishnup: very cool, this libdram even has symbol names for the functions! this is much easier to analyze than the boot0 blob
<ssvb>
vishnup: maybe Hans also had a copy of libdram when he worked on a23 dram support (because the 'mctl_init' function name is not present in the boot0 blob)
<ssvb>
vishnup: you can probably try to link this libdram binary as part of the u-boot build and just call 'mctl_init' function instead of the a23 dram code
<ssvb>
vishnup: we just need to figure out where are the dram parameters (clock speed, etc.) stored
f15h has quit [Remote host closed the connection]
<vishnup>
ssvb: I'd tried the dram params from FEX file
<WarheadsSE>
linkmauve1: thanks for assisting crised earlier.
<WarheadsSE>
He came to Arch Linux ARM, but aside from the OpenMoko, I could not immediately name another.
<ssvb>
vishnup: how did you try them?
<vishnup>
ssvb: they did not work atleast with current A23 dram SPL implementation
<linkmauve1>
WarheadsSE, yeah, I didn’t either.
<ssvb>
vishnup: heh, you likely need the code from libdram
<ssvb>
vishnup: just link the libdram code and call the 'mctl_init' function (with no parameters)
<NiteHawk>
(as the issue was brought up repeatedly)
afaerber has quit [Quit: Verlassend]
Andy-D has joined #linux-sunxi
popolon has quit [Quit: WeeChat 1.1.1]
konradoo77 has quit [Ping timeout: 255 seconds]
<Seppoz>
is the sunxi wiki down?
<Seppoz>
what is the kernel doing with [target] and [clock] settings?
konradoo77 has joined #linux-sunxi
<ssvb>
vishnup: http://www.kingoapp.com/faq.htm - "We manage to obtain root privilege of Android by exploiting certain undisclosed vulnerabilities, which we believe would be patched in no time once made public. And that would dysfunction this software that we've worked so hard for"
ricardocrudo_ has quit [Ping timeout: 264 seconds]
<ssvb>
Seppoz: the readme.txt has some explanations, and there is a static binary too
<Seppoz>
ok
<ssvb>
basically, if this test fails, then you still need to tweak dram configuration
<Seppoz>
ok
<Seppoz>
is sunxi wiki down?
<Turl>
Seppoz: yes, /topic
jinzo has joined #linux-sunxi
mozzwald has joined #linux-sunxi
dack has joined #linux-sunxi
ricardocrudo_ has joined #linux-sunxi
mozzwald has left #linux-sunxi [#linux-sunxi]
<Seppoz>
ssvb: is the static build of lima mamtester working on sunxi?
<ssvb>
Seppoz: yes, of course
<ssvb>
Seppoz: are you getting some problems with it?
<Seppoz>
why does it need mail?
<Seppoz>
module?
<ssvb>
to use mali
<Seppoz>
can i use it without?
<ssvb>
from the readme.txt - "Earlier experiments with overclocking RAM on Allwinner A10 and Allwinner A20 hardware have shown that Mali400 usually starts misbehaving first. Exposing faults, which are very difficult to reproduce on CPU-only workloads."
<ssvb>
you can use the regular memtester from http://pyropus.ca/software/memtester/ but it alone does not really detect dram misconfiguration problems
<Seppoz>
ok so let me get the modules in
<ssvb>
Seppoz: do you need help installing modules?
<ssvb>
Seppoz: in fact, I have a patch to enable statically built mali driver for the sunxi-3.4 kernel and will submit it to the mailing list soon
<ssvb>
Seppoz: this should make it less inconvenient
_massi has quit [Remote host closed the connection]
steeve has quit [Remote host closed the connection]
<jero>
my sun4i's screen has weird lcd colors, basically the red tones appear blueish.. human skin looks like avatar characters. anyone has an idea on what could cause this?
vishnup has joined #linux-sunxi
<ssvb>
jero: what kind of hardware is that? and what kind of software are you running on it?
<wens>
vishnup: pong?
<wens>
i'm in brussels doing touristy stuff
<Seppoz>
not a problem just need to compile and install them
<Seppoz>
which is what im doing now
<WarheadsSE>
linkmauve1: yeah.. It seems he was so intent on it. There are plenty of options for uber cheap (and publically usable/configurable) 3g/4g modems, let alone 2G
<Seppoz>
jero: itsa either wiring or lcd settings
<Seppoz>
jero: make sure all cables ar in properly
<wens>
oliv3r: btw, you can get the 10 trip cards at the metro kiosk
<jero>
ssvb: this is an A10 on a awsom-a10 module.. running the upstream sunxi-3.4 branch
<vishnup>
wens: DRAM is getting timed out in SPL with settings from FEX file for my A33 tablet
<wens>
the ticket machines at the train station seem to sell them as well
<wens>
vishnup: i don't have an a33
<vishnup>
I'll try to include libdram provided by allwinner
<linkmauve1>
WarheadsSE, it’s ok to let people do mistakes, the FreeRunner was my first dive into open hardware, it sucks but it was a great thing to make me realize why and how every other device out there has flaws.
<vishnup>
wens: I think you and Hans has done dram related things in SPL for A23,
<WarheadsSE>
linkmauve1: agreed. He poofed before I could really correct him. I'm not worried, he will be back
<jero>
Seppoz: thanks I will check it again. Beside the fex settings, are you aware of driver settings that may have this impact?
<wens>
vishnup: hans did, not me
<vishnup>
okie
<wens>
anyway i'm in europe these 2 weeks, so don't expect a response from me during the daytime
FreezingCold has joined #linux-sunxi
konradoo77 has quit [Ping timeout: 264 seconds]
<Seppoz>
ssvb: as soon as i modprobe mali my board crashes
<Seppoz>
im at 432 now which is absolutely fine with me
<ssvb>
for example, you can go up to 480mhz and see if the board still boots and if the lima-memtester detects any problems or not
<Seppoz>
when im bored i will absoltely test 600 xD
<Seppoz>
now the only problem left is the reboot issue
<Seppoz>
you have any magic ideas on that?
<ssvb>
usually lima-memtester starts failing at least ~50mhz earlier before the board becomes unbootable
<Seppoz>
ok
<Seppoz>
safe is good with me
<Seppoz>
what else can cause the board to not boot?
<ssvb>
what exactly is happening? can you describe the symptoms of this reboot issue?
<Seppoz>
beside wrong dram settings?
<Seppoz>
well i boot the board
<Seppoz>
after i let it sit a bit
<Seppoz>
then it boots fine the frst time usually
<Seppoz>
if i unplug the power now and plug it right back
<Seppoz>
i mean with like 10 secs time
kurain has quit [Remote host closed the connection]
<Seppoz>
it wont boot again
<Seppoz>
i dont even see ubot output
<Seppoz>
*uboot
<ssvb>
does it show any messages on the serial console?
<Seppoz>
no
<Seppoz>
if this happens
<ssvb>
completely nothing?
<Seppoz>
i let it sit 5 mins
<Seppoz>
than it boots fine again
<Seppoz>
yes completely nothing
<Seppoz>
so im thinking either there is something wrong with reading from SD
<Seppoz>
or the cpu is not powered up properly when power comes on
<ssvb>
I have no ideas
<ssvb>
maybe the hardware people could help
<ssvb>
like the olimex guys
<Seppoz>
well i gotta do some meassuring i guess
<Seppoz>
what i find strange is
<Seppoz>
when i only boot uboot
<Seppoz>
i can plug it out and in
<Seppoz>
as often as i want
<Seppoz>
so im wondering how software could effect that
<ssvb>
either way, this reboot issue is unlikely to be related to dram, because the board uses sram initialy and initializes dram later, after printing some messages on the serial console
<ssvb>
if you don't see any messages, then it dies even before reaching the dram initialization
paulk-collins has joined #linux-sunxi
<Seppoz>
it migth actually be a bad PSU
<Seppoz>
just trieing a different, seem to give me better result. will keep testing
<Seppoz>
seems to be the freaking PSU!! dafuq
<Seppoz>
i hate china
<wens>
the joys of buying stuff from aliexpress/taobao
<Seppoz>
xD
arossdotme has quit [Ping timeout: 255 seconds]
arokux1 has joined #linux-sunxi
phh_ has joined #linux-sunxi
gaby_ has joined #linux-sunxi
buZz_ has joined #linux-sunxi
VargaD has quit [Ping timeout: 276 seconds]
domidumont has joined #linux-sunxi
FR^2 has joined #linux-sunxi
Renard has joined #linux-sunxi
p1u3sch1_ has joined #linux-sunxi
VargaD has joined #linux-sunxi
FergusL_ has joined #linux-sunxi
p1u3sch1 has quit [Ping timeout: 264 seconds]
buZz has quit [Ping timeout: 264 seconds]
arokux has quit [Ping timeout: 264 seconds]
a1d3s has quit [Ping timeout: 264 seconds]
phh has quit [Ping timeout: 264 seconds]
gaby has quit [Ping timeout: 264 seconds]
FergusL has quit [Ping timeout: 264 seconds]
a1d3s has joined #linux-sunxi
konradoo77 has quit [Ping timeout: 245 seconds]
<ssvb>
vishnup: did you get any results with libdram?
arossdotme has joined #linux-sunxi
konradoo77 has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
gianMOD has quit [Remote host closed the connection]
<Seppoz>
ssvb: even if i send /sdb/reboot i cant restart the board
<Seppoz>
*sbin
<Seppoz>
so its hard to believe it has somehting to do with the power
<Seppoz>
any idea?
<ssvb>
Seppoz: so the board does not reboot when you try to run 'reboot'?
<Seppoz>
yes
<Seppoz>
exactly
<Seppoz>
so im having hard time beliving it has to do with power supply
<ssvb>
don't know, some of the reboot/poweroff functionality might be AXP specific
<Seppoz>
dont even have axp
<mripard_>
it usually uses the watchdog though
<Seppoz>
and also worked on a10
<ssvb>
mripard_: yes
<Seppoz>
thats quite confusing
<ssvb>
Seppoz: do you have anything axp related in your fex?
<ssvb>
Seppoz: any suspicious error/warning messages in the kernel log?
<Seppoz>
dmesg | grep axp no thing
<Seppoz>
also in fex i disabled axp
adj_ has quit [Ping timeout: 276 seconds]
<Seppoz>
tomorrow ill meassure if the cpu tries to get stuff from sd
<ssvb>
yes, you need to connect a cable to the USB OTG port and to your PC
<ssvb>
as you have the FEL button, you can press it when powering on to boot in FEL mode and experiment a bit
<ssvb>
the device should get recognized as something like 'Bus 002 Device 056: ID 1f3a:efe8 Onda (unverified) V972 tablet in flashing mode' in lsusb on your desktop PC
<Seppoz>
what is the RESET# pin doing?
<ssvb>
well, I guess it just resets the device, some devboards have a reset button and it works fine
fr4z has quit [Remote host closed the connection]
<Seppoz>
is reset# an output?
<ssvb>
Seppoz: what does a20 datasheet say?
gianMOD has joined #linux-sunxi
FreezingCold has quit [Ping timeout: 240 seconds]
<Seppoz>
resets the board (I)
<Seppoz>
well nevermind for now i will need to meassure a bit
<Seppoz>
is the FEL pin supposed to be HI or LOW?
<Seppoz>
to boot uboot
<ssvb>
Seppoz: A20 user manual, "System Boot Diagram" section
<jero>
is it possible to configure the swapping of the red and blue channels for all output on an A10 LCD ?
<Seppoz>
i cant find a description for the UBOOT_SEL pin in the datasheet
<jero>
my avatar issue seems to be these 2 are inverted.
<Seppoz>
jero: its more likely wrong timing
<Seppoz>
we are talking ttl lcd panel right?
<ssvb>
jero: I believe that this is possible
<jero>
Seppoz: yes ttl, lcd0/lcd1
<Seppoz>
ssvb: whats BSP pin? uboot SEL?
konradoo87 has joined #linux-sunxi
<ssvb>
Seppoz: I guess, it's the same thing with different names
<ssvb>
jero: check LAY_BRSWAPEN bit in the A20 manual, this stuff is likely also exposed in fex
Netlynx has quit [Quit: Leaving]
<ssvb>
jero: and probably documented in the wiki
<Seppoz>
ssvb: when USB boot operation starts would i see any output on the console?
<Seppoz>
jero: what panel are you using? you have a ling?
konradoo77 has quit [Ping timeout: 276 seconds]
<ssvb>
Seppoz: there is nothing on the serial console in USB boot mode (aka FEL mode)
<Seppoz>
ok
<ssvb>
Seppoz: the device should get recognized as something like 'Bus 002 Device 056: ID 1f3a:efe8 Onda (unverified) V972 tablet in flashing mode' in lsusb on your desktop PC
<ssvb>
Seppoz: if you have a usb cable connected
<Seppoz>
ok i will need a host->dev converter first
<ssvb>
Seppoz: isn't it just a regular USB cable like the one used for charging a phone?
<ssvb>
Seppoz: if that's a microusb connector
<jero>
Seppoz: seems to be a at070tn90
<ssvb>
Seppoz: and in the case of a miniusb connector, you can get a cable from any USB hub
<Seppoz>
ssvb: only got physical usb host
<Seppoz>
jero: we use AT070TN92
<Seppoz>
are u using any particular hardware
<Seppoz>
like A13_LCD7 or so
<Seppoz>
whats your hardware
<jero>
Seppoz: it's a AWSOM-A10 system on module,
<Seppoz>
jero: check the A10 schematics of olimex
<Seppoz>
they have nearly same panel
<jero>
good, i'll have a look
<Seppoz>
compare the wiring
<Seppoz>
and see if something is different in yours
<ssvb>
jero: what kind of kernel is that? for the sunxi-3.4 kernel you can probably change 'fb0_pixel_sequence' in fex from 0 to 2
Seppoz has quit [Remote host closed the connection]
Seppoz_nowork has joined #linux-sunxi
pmattern has joined #linux-sunxi
pmattern has quit [Changing host]
pmattern has joined #linux-sunxi
FreezingAlt has joined #linux-sunxi
FreezingCold has quit [Remote host closed the connection]
faisal has quit [Read error: Connection reset by peer]
FR^2 has quit [Quit: Leaving]
naobsd has quit [Quit: naobsd]
whitesn_ has joined #linux-sunxi
imcsk8 has quit [Quit: Reconnecting]
imcsk8 has joined #linux-sunxi
Turl has quit [Remote host closed the connection]
Turl has joined #linux-sunxi
steeve has joined #linux-sunxi
<steeve>
hey folks, does anyone has any success with AP6210 and brcmfmac ?
<steeve>
i'm trying to replace bcmdhd with brcmfmac, but the device never probes
<steeve>
s/device/driver
mmarker has joined #linux-sunxi
mmarker has quit [Changing host]
mmarker has joined #linux-sunxi
<mmarker>
Hmm. Is there a way to hard reset a A20? Looking to wire up a hardware reset. I can pull the plug, but looking for something simpler like a pin I can pull high or something.