mnemoc changed the topic of #linux-sunxi to: Allwinner/sunxi development discussion - did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait! - https://github.com/linux-sunxi/ - Logs at http://irclog.whitequark.org/linux-sunxi
<hno> that driver is also in the sunxi kernel.
<jhonny> interesting
<jhonny> i can't find anything 8188 related in dmesg
<jhonny> also i don't know why, probably something i did, but my dmesg on this new kernel 3.4 is very "verbose"
<hno> be warned that there is several different 8188 chips from Realtek, all requiring different drivers.
FunkyPenguin has quit [Ping timeout: 244 seconds]
petr has quit [Ping timeout: 244 seconds]
<jhonny> ahhh good to know
<hno> The realtek drivers in sunxi kernel is RTL8180, RTL8187, RTLWIFI, RTL8192CU_SW, RTL8188EU, RTL8189ES, RTL8723AS.
FunkyPenguin has joined #linux-sunxi
<jhonny> yeah i need RTL8188CUS
<hno> 8188CUS is supposedly supported by both RTL8192CUS and RTLWIFI.
<jhonny> so i have RTL8192CUS loaded because that's the onboard wifi
<jhonny> but my USB Edimax chip doesn't seem to load, and it has the 8188CUS chip
FreezingCold has quit [Ping timeout: 260 seconds]
petr has joined #linux-sunxi
<hno> but you need different versions of wpa_supplicant depending on which driver you use.
<jhonny> well, I'm about to find out if this breaks it or not ;)
lerc has quit [Ping timeout: 245 seconds]
<hno> jhonny, what is the vendor:product of the failing card?
<hno> from lsusb.
<hno> jhonny, you may also try the other RTL drivers. They all seem to register for 8188CU USB device.
<hno> It's all a big pile of stinking code.
FreezingCold has joined #linux-sunxi
<jhonny> Bus 004 Device 002: ID 0bda:018a Realtek Semiconductor Corp
<jhonny> oh no wait
<jhonny> that's the RTL8192CU
<jhonny> the one that's not working is
<jhonny> Bus 002 Device 007: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]
lerc has joined #linux-sunxi
viccuad has quit [Read error: Connection reset by peer]
viccuad has joined #linux-sunxi
<jhonny> i also have a Ralink RT5730 USB wifi dongle i can use instead
<jhonny> if that's easier
<hno> That too seems to be listed in most of the drivers. http://ur1.ca/ik5hf
<hno> The edimax.
<hno> No idea about the Ralink RT5730 one.
<hno> very much doubt RT5730 is supported. rt2x00 driver goes up to RT53xx only.
Wizzup has quit [Quit: reboot]
Renard has quit [Remote host closed the connection]
Wizzup has joined #linux-sunxi
FunkyPenguin has quit [Ping timeout: 250 seconds]
FunkyPenguin has joined #linux-sunxi
wenbin has joined #linux-sunxi
<jhonny> ok so going back to the edimax
<jhonny> i don't know why its not loading
<jhonny> i pulled down the realtek drivers from their website
<jhonny> in the drivers directory i ran make
<jhonny> and then when i do insmod 8192cu.ko i get the following:
<jhonny> insmod: ERROR: could not insert module 8192cu.ko: Invalid module format
skaag1 has quit [Ping timeout: 244 seconds]
<Turl> jhonny: check dmesg for hints
FergusL has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
skaag has joined #linux-sunxi
<jhonny> dmesg says
popolon has quit [Quit: WeeChat 1.0.1]
<jhonny> 'No symbo8192cu: l version for module_layout"
<jhonny> 8192cu: "No symbol version for module_layout"
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
<jhonny> while i run the install.sh script i get a warning
<jhonny> WARNING: Symbol version dump /linux-sunxi/Module.symvers
<jhonny> is missing; modules will have no dependencies and modversions
jhonny has quit [Ping timeout: 246 seconds]
focus has quit [Ping timeout: 244 seconds]
naobsd has joined #linux-sunxi
focus has joined #linux-sunxi
ricardocrudo has quit [Ping timeout: 245 seconds]
FunkyPenguin has quit [Ping timeout: 260 seconds]
FunkyPenguin has joined #linux-sunxi
FunkyPenguin has quit [Ping timeout: 240 seconds]
FunkyPenguin has joined #linux-sunxi
Faisal_ has joined #linux-sunxi
Faisal has quit [Ping timeout: 255 seconds]
FergusL has joined #linux-sunxi
Andy-D has joined #linux-sunxi
viccuad has quit [Read error: Connection reset by peer]
Gerwin_J has quit [Quit: Gerwin_J]
nieuwbie has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
[7] has quit [Disconnected by services]
TheSeven has joined #linux-sunxi
amitk has joined #linux-sunxi
jhonny has joined #linux-sunxi
<jhonny> howdy gents, I'm trying to compile a Realtek driver for 8188 and it gives me the following error after i run the install.sh script
<jhonny> insmod: ERROR: could not insert module 8192cu.ko: Invalid module format
<jhonny> I've edited the Makefile and changed it from PC
<jhonny> to
<jhonny> SUNxi
<jhonny> but once the driver is compiled it still comes up that way
Faisal_ has quit [Ping timeout: 260 seconds]
JohnDoe_71Rus has joined #linux-sunxi
<Turl> jhonny: what's install.sh?
<Turl> jhonny: also, most if not all of the rtl chips are supported already
<Turl> you should check dmesg for a possibly more meaningful error
<Turl> good night :)
FunkyPenguin has quit [Ping timeout: 244 seconds]
Andy-D has quit [Ping timeout: 256 seconds]
FunkyPenguin has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
JohnDoe_71Rus has joined #linux-sunxi
HeHoPMaJIeH has joined #linux-sunxi
HeHoPMaJIeH has quit [Changing host]
HeHoPMaJIeH has joined #linux-sunxi
bertrik has joined #linux-sunxi
leviathanch2 has joined #linux-sunxi
kz1 has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
bertrik has quit [Read error: Connection reset by peer]
JohnDoe_71Rus has joined #linux-sunxi
philippe_fouquet has joined #linux-sunxi
<wens> mripard: the newer systems are designed so that different pin banks are powered by different regulators
sehraf has joined #linux-sunxi
<wens> which is separate from whatever regulator the connected peripheral might need
<wens> mripard: how do you think we should support this?
arokux2 has joined #linux-sunxi
arokux2 has quit [Remote host closed the connection]
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
akaizen has quit [Ping timeout: 272 seconds]
apo has quit [Read error: Connection reset by peer]
apo has joined #linux-sunxi
HeHoPMaJIeH has quit [Quit: Konversation terminated!]
<mripard> hno: as usual, in the datasheet
<mripard> wens: it was already the case actually
akaizen has joined #linux-sunxi
<mripard> hans had this issue where one pinbank of one A20 board was powered through a gpio connected regulator
<mripard> which caused a bit of trouble :)
jemk has joined #linux-sunxi
<wens> the a31 hummingbird might have that as well, for the bank with csi
<wens> on the a80, i think gmac needs it :(
<wens> and not suprisingly, the regulators used are the axps
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
<mripard> well, for the gmac, it's easy
leviathanch2 has quit [Ping timeout: 256 seconds]
<mripard> except that we need to support the AXP
<mripard> for the bank itself, the thing is that we need a gpio to enable the bank
<mripard> and we are the driver providing this gpio
<mripard> so you have a bit of a chicken/egg issue
akaizen has quit [Ping timeout: 245 seconds]
<wens> the banks also use axp
<mripard> ah
<mripard> it's easy then, we just need to add the axp support
leviathanch2 has joined #linux-sunxi
<mripard> but then, we will need the pinctrl driver to get i2c running, and the i2c to get power to the gpios...
akaizen has joined #linux-sunxi
leviathanch2 has quit [Remote host closed the connection]
<hno> mripard, thanks. Somehow overlooked that the datasheet had pinmux data, thought it only had pins.
leviathanch2 has joined #linux-sunxi
<hno> wonder if it's right. At least the A10 datasheet had very confusing pinmux data, with a separate document with actual mappings.
<mripard> so far, it has been
<mripard> I've used it for at least the A20 and A31 in the past, and apart from typos, it was quite reliable
<hno> good
<wens> mripard: axp needs rsb on r_pio
<mripard> wens: ah, right
<mripard> then we're good
<wens> though the axps can run i2c, they are initialized to rsb by the bootloaders
ganbold_ has quit [Remote host closed the connection]
joga has joined #linux-sunxi
joga has quit [Changing host]
ganbold_ has joined #linux-sunxi
wickwire has joined #linux-sunxi
FR^2 has joined #linux-sunxi
MY123 has joined #linux-sunxi
akaizen has quit [Ping timeout: 260 seconds]
<mripard> wens: do you have your hummingbird within reach?
akaizen has joined #linux-sunxi
akaizen has quit [Remote host closed the connection]
<wens> mripard: nope
<Montjoie> For people wanting to have numbers for Security System bench, http://sunxi.montjoie.ovh
jhonny has quit [Ping timeout: 246 seconds]
<wens> mripard: what's up?
<wens> Montjoie: comma in the numbers should be a decimal point?
<Montjoie> Yes, I need to conver french decimal
leviathanch2 has quit [Ping timeout: 244 seconds]
<Montjoie> with writesl I got some more performance improvment, I am happy
ninolein has quit [Ping timeout: 245 seconds]
ninolein has joined #linux-sunxi
<wens> mripard: btw, i can get arch_timer running on the a80 with the clock-frequency property
<wens> though that usage seems to be discouraged
<maz> wens: very much so!
<wens> and no smp support for now :|
<mripard> wens: I have cleaned up the patch to fix the memcpy issue on the a31
<mripard> but I don't have any A31 board available within 600km
<mripard> :)
<mripard> wens: cool, I've never been able to do it on the A31
<mripard> maz: how difficult would it be to implement PSCI on a platform-specific, baremetal project ?
* mripard is thinking about new directions for babelfish
<maz> mripard: not difficult at all, look at what I implemented for u-boot.
<maz> mripard: this is almost completely standalone.
<mripard> cool
<maz> mripard: the only requirement is to be in secure mode.
<mripard> yep, but so far, none of the AW bootloaders where switching to non-secure
<mripard> s/where/were/
<mripard> so I guess it's fine to make this assumption
<maz> perfect.
paulk-aldrin has joined #linux-sunxi
<maz> just find yourself some secure RAM (or at least something that the kernel won't step on).
<mripard> the one that you use seems perfect for that :)
<maz> is it present on the other allwinner implementations?
phh_ is now known as phh
<mripard> at least on the A31 yes
popolon has joined #linux-sunxi
jhonny has joined #linux-sunxi
<jhonny> hey guys, i just upgraded from 3.0 kernel to 3.4 on my MK802 and when i run lsmod
<jhonny> it doesn't show up anything
<jhonny> i've copied all the new modules to /lib/modules/3.4.xxx
hipboi has quit [Ping timeout: 245 seconds]
<libv> xxx?
<jhonny> xxx = whatever the version is :)
<jhonny> but i think i found my problem
<jhonny> when i gzipped the directory off my VM it gzipped all the files individually and then into an archive
<jhonny> i just unzipped all the modules
<jhonny> lets see what loaded now
<jhonny> yeah, i really f**ked it up
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
hipboi has joined #linux-sunxi
Renard has joined #linux-sunxi
naobsd has quit [Quit: Page closed]
bengal has joined #linux-sunxi
wenbin has quit [Read error: Connection reset by peer]
FreezingCold has quit [Ping timeout: 272 seconds]
dt6 has joined #linux-sunxi
hipboi has quit [Ping timeout: 244 seconds]
viccuad has joined #linux-sunxi
<wens> that reminds me, i need to take another look at my a31 psci patches
FreezingCold has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
hipboi has joined #linux-sunxi
ricardocrudo has quit [Remote host closed the connection]
ricardocrudo has joined #linux-sunxi
rz2k|2 has joined #linux-sunxi
rz2k|3 has joined #linux-sunxi
rz2k_ has quit [Read error: Connection reset by peer]
rafaelMOD has quit [Remote host closed the connection]
rz2k|2 has quit [Read error: Connection reset by peer]
rz2k|3 has quit [Client Quit]
rafaelMOD has joined #linux-sunxi
Black_Horseman has quit [Remote host closed the connection]
<afaerber> mripard, wens: hi, I rebased my SD patch for A80 in the pinctrl patches: https://github.com/afaerber/linux/commits/optimus
<afaerber> still doesn't work yet, unfortunately
<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> still 6 vs. 7
<afaerber> still 7
<afaerber> ;)
<mripard> still, it shouldn't be like this
<afaerber> yep...
<mripard> aaaaaaah
<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
<arokux> wens: I've ported otg to mainline, btw. host mode works.
<arokux> wens: device mode is yet to test. otg mode is yet to port.
<wens> arokux: yay!
afaerber has quit [Ping timeout: 240 seconds]
<wens> arokux: let me know if you have problems
afaerber_ is now known as afaerber
<arokux> wens: alright. now there are 3 native usb ports in mainline :)
<wens> mripard: watchdog driver made it into 3.18-rc2
<mripard> wens: cool
<mripard> arokux: see! :)
<mripard> arokux: are you working on top of musb?
FergusL has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
astr has joined #linux-sunxi
<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:-/
<wens> afaerber: eMMC is on mmc2
<arokux> mripard: can you please confirm this is the way to go?
<wens> some very old code :p
<wens> afaerber: i think the fex file shipped with the SDK was for NAND and not eMMC...
<afaerber> wens, the .fex file has [mmc2_para] sdc_used = 0 though?
<afaerber> ah, okay
Gerwin_J has joined #linux-sunxi
<wens> just give it a try :)
<wens> stock u-boot mentions mmc2, so... should be it
<wens> wifi needs gpios on PL bank
<afaerber> yeah, I wondered about that too
<mripard> arokux: ah, this...
<mripard> I cannot confirm anything, I have no idea whether it's the right solution or not
<mripard> start with this
<mripard> make it work
<mripard> send your patches
<mripard> and then we'll see
<arokux> mripard: :) ok. I have already sending-patches-syndrome -- preparing to be criticized. thanks!
defu has joined #linux-sunxi
<wens> btw, i'm looking at usb atm
xavia has joined #linux-sunxi
<astr> but it looks like it needs kernel 3.5 for debian....
<astr> I complied linux-sunxi with ath mobile chipsets enabled and added the ath_htc firmware
<astr> modprope works but wifi is not showing up in the network systray applet like it should
indy has quit [Ping timeout: 244 seconds]
<astr> I know it works with another usb wifi dongle I have
HeHoPMaJIeH has joined #linux-sunxi
HeHoPMaJIeH has joined #linux-sunxi
<ccaione> arokux: I already sent patches for the syscon regmap but mripard NACKED them :)
<afaerber> wens, mripard: updated with pll4 and mmc2 but not yet working: https://github.com/afaerber/linux/commit/ac3c6616ec33373d218796d8dbdf5a7b01c690fc
<mripard> ccaione: did I? :)
<ccaione> mripard: yep, you did :D
<afaerber> mripard, nope, no code changes so far
<wens> i think the nack was to delay it until an actual use case popped up so we could assess whether it was the way to go?
<mripard> ccaione: you're being hard on me here, the conclusion was "I don't know, show me some code that uses it :)"
<astr> is there anything I can do to get this usb wifi to work or do I need to wait?
<mripard> soooo, not really an Ack :)
<wens> afaerber: what output are you getting?
<mripard> a NAK
<arokux> astr: what wifi are you talking about?
<wens> oh boy... a clock module that needs enabling a gate/reset to access it :(
<ccaione> mripard: hahah then I hope arokux will do good use of that code :D
<arokux> ccaione: wait a second, this is dt node without C driver/code, right? :)
<ccaione> arokux: you don't need c code for syscon mapping
<wens> arokux: the syscon driver is already in the kernel, only need a dt node to describe it
<afaerber> wens, http://paste.opensuse.org/36f25c33 - no mmc0 or mmc1 device showing up
<arokux> ccaione: how about nice names for the bits?
<wens> though recent work decouples that, so you can register syscon nodes from any driver
<ccaione> arokux: just go with offset in the driver using the syscon node
<wens> afaerber: maybe enable some debug output? (compile with -DDEBUG, may need to manually edit drivers/mmc/Makefile)
<ccaione> arokux: that's what I meant. the bits/regs are specific for the driver using the syscon mapping
<ccaione> (at least this is what I would do)
<arokux> ccaione: I guess it is good to have one header with defines for all of the bits...?
<ccaione> arokux: your call :)
<mripard> afaerber: the card detect that doesn't work maybe ?
<afaerber> mripard, may well be, but I would then assume mmc2 to work due to non-removable property?
<ccaione> arokux: it seems that other drivers use the include file for the syscon bit description
<mripard> hmmm, right
<ccaione> so go with that
<mripard> are you sure of your base memory addresses?
<wens> they look right
<afaerber> they were taken from A80 SDK header file
<arokux> ccaione: will do. mripard I'll check everything...
<afaerber> 3.4 kernel unfortunately didn't spit them out
<arokux> astr: hm... and why are u asking about it here, at sunxi soc dev channel? :)
<astr> arokux, cus I'm trying to get it working on a sunix kernel
<mripard> afaerber: ok
<wens> afaerber: adding your work to mainlining effort page
<arokux> astr: sunxi-3.4?
<astr> yes
<arokux> I see.
<astr> arokux, I have complied the kernel with ath mobile chipsets enabled and added the firmware from https://www.thinkpenguin.com/gnu-linux/penguin-wireless-n-usb-adapter-gnu-linux-tpe-n150usb-tpe-n150usbl-tpe-nusbdb as I think firmware doesn't need recompiling for arm right?
<astr> modeprobe ath9k_htc works
<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.672904] WRN:L1722(drivers/usb/sunxi_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_h_ep0_irq, STALLING ENDPOINT
<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 :)
<afaerber> compare the manual example for A80 here: http://linux-sunxi.org/User:Wens#FEL_mode
<afaerber> s/exec/exe/
bertrik has joined #linux-sunxi
<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> ricardocrudo, https://github.com/linux-sunxi/u-boot-sunxi/wiki shows how to make the boot.scr.
<ricardocrudo> hno: perfect, thanks
<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> oh...
<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
<arokux2> dma*
<astr> dma?
<astr> !bot
<astr> hmm no info bot
<astr> arr
<astr> thanks. your work is appreciated
<arokux2> astr: your help also :)
<astr> what help? I didn't do anything
Black_Horseman has joined #linux-sunxi
<arokux2> astr: I encourage you to help :)
<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]
petr has quit [Ping timeout: 244 seconds]
Akagi201 has joined #linux-sunxi
petr has joined #linux-sunxi
Akagi201 has quit [Ping timeout: 265 seconds]
FergusL has joined #linux-sunxi
blsd has left #linux-sunxi [#linux-sunxi]
Andy-D_ has joined #linux-sunxi