<afaerber>
and btw, when forgetting/misspelling the vmmc-supply property, the kernel does a null pointer access somewhere that probably should be caught
<mripard>
well, yeah, you forgot the phasing clocks
<afaerber>
pll you mean?
<afaerber>
I have a placeholder comment in one place but have no clue how to find out which ones are needed there ;/
<mripard>
no
<mripard>
the mmc phase clocks
<afaerber>
another thing I am unsure about is cd-gpios since I did not find another example using irq rather than gpio_in
<afaerber>
(based on .fex file)
<mripard>
hmmmmm
<mripard>
what tree is this based on?
<afaerber>
mripard, you forgot to push your for-next / sunxi-next branches once again ;)
<afaerber>
so it's an older sunxi-next with patches from wens and you on top
<mripard>
hwww
<mripard>
for-next is pushed for sure
<afaerber>
mripard, it was five days old but 3.19-dt was four days old, the weekend
<afaerber>
so, back to your point, on a20 .dtsi, mmc0_clk has clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
<mripard>
nevermind
<mripard>
it's my fault...
<mripard>
I asked to not merge the last patches of my mmc clock rework serie
<mripard>
and somehow expected them to be here :)
<afaerber>
which was the plls I was asking about: no clue how to find out what to add there - is that was you meant with mmc phase clocks? if not, what did you mean?
<mripard>
discard my comment
<mripard>
for the PLL, I have no idea
<mripard>
have you looked at AW's BSP ?
dt6 has quit [Read error: Connection reset by peer]
<afaerber>
sunxi-mci.h has #define MMC_SRCCLK_PLL "pll4" - would that translate to <&pll4 1>?
<mripard>
the parents are just the hosc and pll4
<mripard>
and it's just pll4, you don't need the extra bit
hramrach_ has quit [Remote host closed the connection]
<wens>
uhm.... the factors clocks needs to be reworked a bit, but i don't expect it to be a problem to support mmc
hramrach_ has joined #linux-sunxi
<mripard>
wens: why?
<wens>
they have wider mux bits
afaerber_ has joined #linux-sunxi
<wens>
but for mmc/spi clocks, it doesn't matter
<wens>
damn, i left my notes at the office :(
<wens>
i have a series for uart/i2c/leds ready
<arokux>
mripard: funny enough, there is no crash with sun4i timer just after I decided to record the oops message :D
<wens>
afaerber: personally i wouldn't enable mmc1. it's used for wifi and requires some other regulators
<arokux>
mripard: yep. btw, I have a question. now that I'm going to prettyfy the code.. there are two control registers in SRAM with bits for different purposes. I need to poke one of these bits. wens has proposed to represent these registers with syscon regmap.
<afaerber>
wens, oh! I thought those were SD and eMMC... o:-/
<arokux>
astr: firmware gets loaded onto wlan adapter it is not run by SoC cores..
<astr>
but wifi does not show up in the network applet :\
<arokux>
astr: lsusb?
<arokux>
astr: dmesg | grep usb
<astr>
for getting it to work in debian they say you need kernel 3.5 btw
<astr>
x86 Debian i assume
<hlavery1>
mripard: Is there a working dts/b for Hackberry? I can boot mainstream kernel and get ethernet, but the USB ports are unpowered. Using 3.17.0 kernel and dts source.
<astr>
arokux, Bus 002 Device 003: ID 04da:3904 Panasonic (Matsushita) N5HBZ0000055 802.11abgn Wireless Adapter [Atheros AR7010+AR9280]
<astr>
arokux, [ 2130.463358] usb 1-1: new high-speed USB device number 2 using sw_hcd_host0
<astr>
[ 2130.691275] WRN:L1741(drivers/usb/sunxi_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_h_ep0_irq, ep aborting
<astr>
hmm
<mripard>
hlavery1: the mainline one should be working
<mripard>
I don't have that board, so I don't know whether it works or not.
<hlavery1>
mripard: OK, thanks. It doesn't work, but I'll keep poking at it.
<astr>
arokux, I'll be back later and see and replays
<arokux>
astr: sorry, I will not be able to help...
<astr>
ok thanks for your time
<lioka>
hlavery1: so on your hackberry ethernet actually works with mainline ?
jhonny has quit [Quit: Page closed]
<arokux>
lioka: what happened, ethernet worked in mainline a year ago. did it break?
<lioka>
arokux: yep
<arokux>
lioka: somebody should run git bisect
egbert has joined #linux-sunxi
Andy-D has joined #linux-sunxi
<hlavery1>
Well, I did have to modify the dts/dtb and set reg = <1> under mdio@01c0b080
<hlavery1>
This had no effect on USB power; there is none <0> or <1> in that spot.
Quarx has joined #linux-sunxi
<lioka>
hlavery1: which hw revision your hackberry is ?
<arokux>
I have small guide how to do git bisect, if somebody is interested
Quarx has quit [Ping timeout: 250 seconds]
<hlavery1>
lioka: Not sure about revision number; it is a 1G version, though.
<lioka>
hlavery1: well, mine too.
HeHoPMaJIeH has quit [Quit: Konversation terminated!]
naobsd has joined #linux-sunxi
diego71 has quit [Ping timeout: 245 seconds]
diego71 has joined #linux-sunxi
philippe_fouquet has quit [Remote host closed the connection]
<ricardocrudo>
looking at the usb-boot script of sunxi-tools I can see some "fel write" to specific addresses (0x4a000000, 0x43000000, ...) I checked the A20 datasheet and I can't find any specific reference to this addresses. They are in the DDR-II/DDR-III range. What this addresses mean (any documentation)? the fel command is writing to sdcard or nand?
FunkyPenguin has quit [Ping timeout: 245 seconds]
<afaerber>
ricardocrudo, it's copying files to more-or-less "random" addresses of RAM
Andy-D has quit [Ping timeout: 258 seconds]
FunkyPenguin has joined #linux-sunxi
<hramrach_>
hello
Gerwin_J has quit [Quit: Gerwin_J]
<hramrach_>
regarding mmc1 is it not used for the full size mmc slot on some olimex boards?
<hramrach_>
that it needs special regulators when connected to onboard wifi is one thing but it could work as standard mmc without anything special, could it not?
<ricardocrudo>
afaerber: sure, and after that...?
<afaerber>
ricardocrudo, exec invokes execution at that address. U-Boot environment or boot.scr tells it to load kernel etc. from specific addresses :)
<ricardocrudo>
afaerber: hmm, I got it. So, supposing that I want (after get into FEL mode) boot a specific nand partition, can I invoke this copied u-boot with parameters that does this?
<afaerber>
ricardocrudo, maybe. you need to load stuff from the U-Boot prompt then, and it depends on whether your U-Boot has support for nand
<afaerber>
can't really help you there, sorry
<ricardocrudo>
afaerber: your info already was very helpful. thanks
indy has joined #linux-sunxi
<hno>
ricardocrudo, you need to modify the ram-boot u-boot script to set suitable kernel arguments.
<hno>
the default is tailored for booting from ram.
philippe_fouquet has joined #linux-sunxi
<ricardocrudo>
hno: the ram-boot you said is the binary: bin/ramboot.scr?
<ricardocrudo>
hno: of the sunxi-tools repo, I mean
pwhalen has quit [Read error: Connection reset by peer]
pwhalen has joined #linux-sunxi
philippe_fouquet has quit [Ping timeout: 244 seconds]
netlynx has joined #linux-sunxi
bonbons has joined #linux-sunxi
Akagi201 has quit [Remote host closed the connection]
skaag has quit [Quit: Leaving.]
Andy-D has joined #linux-sunxi
tomboy64 has quit [Remote host closed the connection]
tomboy64 has joined #linux-sunxi
bertrik has quit [Remote host closed the connection]
bertrik has joined #linux-sunxi
blsd has joined #linux-sunxi
petr has quit [Ping timeout: 255 seconds]
petr has joined #linux-sunxi
amitk has quit [Quit: leaving]
Zboonet has joined #linux-sunxi
skaag has joined #linux-sunxi
arokux2 has joined #linux-sunxi
theskilledworker has joined #linux-sunxi
theskilledworker has joined #linux-sunxi
MY123 has quit [Quit: Connection closed for inactivity]
wickwire has quit [Read error: Connection reset by peer]
<hno>
ricardocrudo, yes, the source is next to it in the same folder.
<ricardocrudo>
hno: great! thanks
<hno>
you make the "binary" by using u-boot mkimage
<ricardocrudo>
hno: right!
<ricardocrudo>
hno: btw, do you know if u-boot sunxi fork supports cdc_acm and/or network usb gadget?
<hno>
I don't think we have working usb gadget support.
<hno>
Do you have serial console to your board? It helps greatly when dealing with these things.
<ricardocrudo>
hno: yes, I have. But now thinking better the cdc_acm gadget sounds better solution to my problem. I'm thinking to give a look in both sources code the original one and sunxi
<ricardocrudo>
hno: assuming that the original u-boot has cdc_acm gadget working
theskilledworker has quit [Quit: Leaving]
netlynx has quit [Quit: Leaving]
sehraf has quit [Read error: Connection reset by peer]
konradoo77 has joined #linux-sunxi
sehraf has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
FergusL has joined #linux-sunxi
Zboonet has quit [Quit: Leaving]
Zboonet has joined #linux-sunxi
joost_dtn has joined #linux-sunxi
FR^2 has quit [Quit: Connection reset by peer]
joost_dtn has quit [Remote host closed the connection]
paulk-aldrin has quit [Ping timeout: 258 seconds]
paulk-aldrin has joined #linux-sunxi
mturquette has joined #linux-sunxi
Akagi201 has joined #linux-sunxi
konradoo87 has joined #linux-sunxi
jelly-home is now known as bass
bass is now known as jelly-home
Akagi201 has quit [Ping timeout: 260 seconds]
konradoo77 has quit [Ping timeout: 255 seconds]
Andy-D has quit [Read error: Connection reset by peer]
Andy-D_ has joined #linux-sunxi
FR^2 has joined #linux-sunxi
<ricardocrudo>
is there any reason to netconsole does be supported on sunxi u-boot fork?
<mmarker>
Hmm. If I want to use 3.17 mainline, I need a devicetree for the board in question, correct?
<mmarker>
This is on a mk802+, so sun4i.
Zboonet has quit [Quit: Leaving]
Zboonet has joined #linux-sunxi
Zboonet has quit [Remote host closed the connection]
HeavyMetal has quit [Quit: BNC Services Provided by The ASoTnet IRC Network.]
jemk has quit [Quit: leaving]
paulk-aldrin has quit [Ping timeout: 258 seconds]
paulk-aldrin has joined #linux-sunxi
konradoo77 has joined #linux-sunxi
konradoo87 has quit [Ping timeout: 272 seconds]
bonbons has quit [Quit: Leaving]
dreamer has quit [Changing host]
dreamer has joined #linux-sunxi
konradoo77 has quit [Ping timeout: 272 seconds]
FergusL has quit [Read error: Connection reset by peer]
<astr>
I assume linux-sunix is behind the main line kernel linux
<astr>
?
<astr>
so linux-sunix does not use it's own version numbering meaning that it is not actually in sync/based on mainline kernel linux 3.5
defu has quit [Ping timeout: 246 seconds]
paulk-aldrin has quit [Quit: Ex-Chat]
<arokux2>
astr: sunxi-3.4 -- this is how we call it. it is based on linux-3.4 and will be not updated to 3.5 or later.
<astr>
arokux2, ok thanks
<arokux2>
astr: only bugs are fixed. there is also mainline with lots of supported stuff
<astr>
arokux2, I guess it's too much work?
<astr>
don't blame you
<arokux2>
astr: no sense in doing that. things are being ported to mainline directly
<astr>
wonder if mainline works on olimex lime a10? olimex don't say anything to why knowage
<astr>
why=my
<arokux2>
astr: yes it does, afaik. not everything will work. (NAND will not yet work) they do not mention it because mainline is not feature complete, I guess
<astr>
don't have nand
<arokux2>
astr: what do you need?
<astr>
if sound,gpio,Ethernet,lcd,backlight pwm dimming work then great/
<astr>
?
Faisal has joined #linux-sunxi
<astr>
arokux2, think thats all, yea
<arokux2>
astr: hm.. I do not know exactly, but I think sound, lcd and backlight pwm dimming does not work.... maybe sound works. don't know
<astr>
oh, no lcd then I'll have to wait
<arokux2>
astr: I think sound doesn't since it relies on dam
<astr>
sorry, I'm looking to reduce technical things I do and switch and do more of other things. so no leaning new kernel skills. ekk I don't like the sound one of my harddrives just made
<astr>
arokux2, so what about the lcd? not working but what sort of road blocks
<astr>
?
skaag has quit [Quit: Leaving.]
<arokux2>
astr: I have no idea of lcd, please ask libv
<astr>
I keep forgetting the question mark
<astr>
ok thanks
hramrach_ has quit [Ping timeout: 246 seconds]
skaag has joined #linux-sunxi
hramrach_ has joined #linux-sunxi
diego71 has quit [Ping timeout: 258 seconds]
diego71 has joined #linux-sunxi
sehraf has quit [Read error: Connection reset by peer]
FreezingCold has quit [Ping timeout: 255 seconds]
rafaelMOD has quit [Quit: Saindo]
FreezingCold has joined #linux-sunxi
arokux2 has quit [Remote host closed the connection]
bengal has quit [Quit: Leaving]
Andy-D_ has quit [Ping timeout: 265 seconds]
xavia has quit [Remote host closed the connection]
bertrik has quit [Remote host closed the connection]