<willmore>
I'm trying to wrap my head around accessing SPI NOR flash from userland on Orange Pi boards. I'm running the dev version of the armbian distros with all packages current.
<willmore>
On the PC2 I see two mtd devices. On PC I see none. On One I see none. One both Zero boards I see three.
<willmore>
Now, neither the PC nor One have SPI chips, so their results make sense.
<willmore>
What I can't explain is the difference between the PC2 and the two Zeros. One Zero is a late model that came with a 2MB chip (16Mb). The other is an early model Zero that come with *no* SPI NOR but I later put on a 16MB (128Mb) chip.
<willmore>
How do I go about determining which of the mtd devices is what? Also, what explains the difference in # of mtd devices between the PC2 and the Zeros....
<willmore>
Any FAQ or required reading suggestions would be *very* welcome. I haven't messed with mtd devices since I was burning the kernels on my Webpals back a decade or so back. Things seem to have changed a bit...
jbrown has quit [Ping timeout: 255 seconds]
Andy-D has quit [Ping timeout: 260 seconds]
jbrown has joined #linux-sunxi
ErwinH has joined #linux-sunxi
<apritzel>
willmore: what's in the DT? Anything SPI related?
ErwinH has quit [Ping timeout: 240 seconds]
ErwinH has joined #linux-sunxi
ErwinH has quit [Ping timeout: 252 seconds]
ErwinH has joined #linux-sunxi
ErwinH has quit [Ping timeout: 256 seconds]
<dan0_0>
Anyone know which uboot branch works for Armbian with kernel 4.9.4?
anhn has joined #linux-sunxi
<dan0_0>
For the OrangePi Plus 2e
ErwinH has joined #linux-sunxi
jernej has quit [Ping timeout: 255 seconds]
ErwinH has quit [Ping timeout: 240 seconds]
anhn has quit [Quit: Konversation terminated!]
cnxsoft has joined #linux-sunxi
<wens>
uh, what about me?
* wens
is feeling dizzy from a bad cold
apritzel has quit [Ping timeout: 240 seconds]
ErwinH has joined #linux-sunxi
<willmore>
apritzel, I am learning how to read those. :)
<willmore>
I am learning! Found it on the 'big' zero: ./soc/spi@01c68000/spi-flash@0
ErwinH has quit [Ping timeout: 240 seconds]
ninolein has joined #linux-sunxi
ninolein_ has quit [Ping timeout: 276 seconds]
<wens>
montjoie: i think you can send some of the stmmac clean up bits to netdev soonish?
<willmore>
Since I'm doing this all from zero knowledge, would it be useful for me to write up what I learn on the wiki somehow?
<wens>
the sooner the better, network drivers don't always get attention, and davem sometimes just picks up trivial patches after a week or 2 after being posted
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
<TheLinuxBug>
wow, a very low rpm fan does wonders for this S905x
jbrown has quit [Ping timeout: 255 seconds]
<TheLinuxBug>
staying under 60c now at full 1.5Ghz
<TheLinuxBug>
willmore: your working on reading and writing the SPI NOR on the PC2?
<TheLinuxBug>
that would be interesting to know about
jbrown has joined #linux-sunxi
ErwinH has joined #linux-sunxi
Ntemis has quit [Remote host closed the connection]
ErwinH has quit [Ping timeout: 276 seconds]
<willmore>
TheLinuxBug, SPI NOR in general. I'm using the two new boards that come with it for my testing right now as they're more representative of what we can expect in the future. Lashing a chip to a GPIO header will have slightly poorer signal integrity and may introduce issue of its own.
<willmore>
My goal--once I get started--is to increase read performance of the SPI NOR so that it becomes a practical media for uboot+kernel. Seems like I'm going to need to learn uboot.
uwe_ has quit [Ping timeout: 276 seconds]
uwe_ has joined #linux-sunxi
ErwinH has joined #linux-sunxi
<TheLinuxBug>
yeah that was my hope as well
<TheLinuxBug>
to have uboot on SPI NOR for boot
<TheLinuxBug>
that would be nice
<TheLinuxBug>
willmore: let me know if you make any progress on it, would be interested in hearing more about it
ErwinH has quit [Ping timeout: 240 seconds]
<willmore>
TheLinuxBug, well, others here have done the main work. My contribution would just be optimization.
<willmore>
It just struck me what the Orange Pi Zero expansion board is missing--a barrel power connector. That would be a great addition for a V2 of that board. Quick, tkaiser, mention it to Stephen! :)
<TheLinuxBug>
well they did that because the idea was to allow the device to run off battery if you need
<TheLinuxBug>
because the CPU is downclocked enough you probably don't need more than 1.8A
<TheLinuxBug>
and then I assume you can use GPIO for power input as well?
<TheLinuxBug>
so maybe don't need the barrel connector? though I do agree it would be annoying to have the DC adapter and then have to switch to USB to power that board instead
<TheLinuxBug>
(shrug)
<TheLinuxBug>
I really can't believe the night and day running of the S905x with just the addition of a 1500RPM 25mm 5v fan
<TheLinuxBug>
just flies now
<TheLinuxBug>
no overheating
<willmore>
My issue is that I have a nice large 5V power supply that I want to power a bunch of boards from. Works great with One, PC, PC2, etc. Zero? Nope, need to hack a USB cable apart to have a micro-USB end on it.
<TheLinuxBug>
yeah
<willmore>
TheLinuxBug, just get a C2 and be happy. :)
<TheLinuxBug>
I get it totally
<TheLinuxBug>
I have several of the boards and I made sure to get a few extra supplies but have definently appriciated the ease of switching from one to another with a power supply I know works (dc barrel supply)
<willmore>
The NAS board for the Zero has a barrel connector on it and it will backfeed power to the Zero. That's how I'm powering the board I have with the other OPs. The lone non-NAS Zero sits alone elsewhere so that it can suck off of a USB power supply.
<willmore>
Now, we need to convince the ODROID people to stop using that little unreliable barrel connector and use the one the OP board do. This connector is the best barrel I've used.
<TheLinuxBug>
willmore: actually with the 802.11AC wifi adapter I think this board may actually be better somewhat, you may be able to squeeze a few more mhz out of the S905 (C2) but this thing now that the cooling issues are resolved seriously is impressive
<TheLinuxBug>
and over 150Mbit on wifi is pretty nice :D
* willmore
has little need of wifi in these boards.
<willmore>
I'd probably use an esp8266 if I needed something with wifi.
* willmore
shrugs.
<willmore>
We all have our different uses for these things.
<TheLinuxBug>
meh, it actually is a noteable difference when using the board as a desktop vs server
<TheLinuxBug>
your right though that in a server use case it probably wouldn't make much difference
<willmore>
Vs GigE? I'll take GigE
<TheLinuxBug>
yeah but let me tell you, this wifi chipset is pretty good, I thought I would be wanting for GigE but I am perfectly happy with ~200mbit via wifi and no extra wires
<TheLinuxBug>
because one thing I did have some doubts on
<TheLinuxBug>
is that the Khadas Vim only has a 100mbit NIC
<TheLinuxBug>
so in this case, wifi is actually twice as fast as built on NIC
<willmore>
I upgraded the wifi board on my laptop to AC and the improvement it made was stunning. I can easily do >40MB/s TX or RX. For the few times BW matters, I no longer really notice the time the wifi part of the process takes.
<TheLinuxBug>
that is the one major difference that made me think twice between another c2 vs this
<willmore>
Like syncing a camera to the server through the laptop. The 'move the files from the camera to the laptop' part takes 2 to 3x as long as the 'dump them to the server'. part.
<willmore>
didn't used to be that way back with just N
<TheLinuxBug>
at the price point though if you can afford to spend some time and fix the thermal issues your self (heatsinks and fan) then its definently a better bang for the $, 60$ all in and it has 2Gb Ram, 16GB emmc, 802.11AC, 100mbit nic, 2x USB 2.0, HDMI with full 4k, a nice little case (though half of itr has been removed to handle the thermal issue sadly).
<TheLinuxBug>
for similar Odroid your gonna easily pay 2x as much
<willmore>
Oh, that reminds me, I need to get the label maker out and label the PC and PC2 cases so I can tell them apart. ;) I knew I should have printed them in different colors. *facepalm*
<TheLinuxBug>
hehe, I purposely got a transparent case for the PC and a dark acrylic case for the PC2 so I could tell them apart
<willmore>
C2+uSD card is safely under $60.
<TheLinuxBug>
luckily the Plus 2E case is actually a small amount bigger than the PC so it is easy enough to tell them apart
<willmore>
Don't have one of those. :)
ErwinH has joined #linux-sunxi
<TheLinuxBug>
c2 + emmc + wifi + case + power supply = way more than that
<willmore>
I printed different color cases for the Ones. Though one has a camera attached to it, so they don't really need it. :)
<TheLinuxBug>
I think I got an 8gb emmc and I paid like 25$
<TheLinuxBug>
wifi was 14 for the dual band one (N not AC)
<willmore>
Ahh, if you have to use eMMC, then yes.
<TheLinuxBug>
case and power supply another 10ish
<willmore>
For me Wifi is more of a 'great, how do I go about disabling that?' kind of feature. :)
<willmore>
3D printer--never have to buy another case.
<TheLinuxBug>
im just saying if you compare what you get for the price is kinda impressive for the Khadas Vim
<willmore>
Understood.
<TheLinuxBug>
but as mdrjr said, you do get some cheaper components
<TheLinuxBug>
like the emmc is a bit different than I expected
jstein has quit [Remote host closed the connection]
<TheLinuxBug>
I can't actually fdisk the emmc and list the partitions
<TheLinuxBug>
I am not really familiar with the different type of chips but it seems the only way you can partition it is inside the android recovery used to flash the emmc
wzyy2 has joined #linux-sunxi
<TheLinuxBug>
which is a bit annoying on the dual OS image because it makes Android 4Gb and Ubuntu 4Gb and apparently wastes the rest of the emmc from what I can see
<TheLinuxBug>
was hoping to use gparted to resize partitions but no joy
<willmore>
yeah, not all eMMC are equal. And the hack that is the way Android likes to partition its storage doesn't help.
<TheLinuxBug>
been tempted to shell out for a 3d printer
<willmore>
It's a super cute case when assembled.
<willmore>
The antenna sticks out that hole in the O in zero.
<TheLinuxBug>
hehe
<willmore>
Makes it looks like a doll house scale wifi router
<TheLinuxBug>
that was my one complaint about the Xunlong cases for the boards with wifi
<TheLinuxBug>
they provide no hole for the antenna
<TheLinuxBug>
they expect you to keep it inside the case
<TheLinuxBug>
wasn't really big on that but so far it hasn't been too performance hindering
<willmore>
Well, given how crappy the antennas are, inside or outside doesn't make much difference. If you want, get a real antenna and bolt it to the case.
<TheLinuxBug>
so I haven't bothered modding the cases
<willmore>
You in the US?
<TheLinuxBug>
Yeah
<willmore>
I can print and send you cases if you want.
<TheLinuxBug>
well, thats a great offer and I may have to take you up on it later, but atm I have ordered the OEM cases for each OPi board I have
<TheLinuxBug>
and maybe by mid year Xunlong will decide to ship my PC Plus
<willmore>
Keep it in mind.
<willmore>
Sorry. :(
<TheLinuxBug>
I got a really funny message from them on Aliexpress
<TheLinuxBug>
I kept bugging them for an update cause the shipping label they generated stated the item was never picked up for shipment
<TheLinuxBug>
and they were kind enough to reply that "They forgot to ship it before the holiday, would I still like it shipped"
<willmore>
Uhh, yeah.
<TheLinuxBug>
I wanted to reach through the screen and smack the stupid smirk off the persons face who ask that question lol
<willmore>
Or just a few zeros... :)
<TheLinuxBug>
was like, no, I keep messaging you here for my health, I really have no interest in the item I already paid you for
<willmore>
I'm impressed they can do what they do for the prices they do it for.
<TheLinuxBug>
and they still refuse to ship it by e-packet which I paid for
<willmore>
This is sort of the singing dog problem.
<TheLinuxBug>
Well what annoys me is I considered a larger order (another) for some more boards for a potential project, but honestly if I can't get them to fully ship a 100$ order, not sure I am gonna spend multiple hundreds with them..
<TheLinuxBug>
was going to buid a kubernetes cluster of PC Plus's
<TheLinuxBug>
but at this point I may just go for something else entirely
<TheLinuxBug>
I mean I could understand them being lazy if I spent 20$ for a board
<TheLinuxBug>
and not wanting to ship it
<TheLinuxBug>
but my order was over 100$ and they just totally omitted my PC Plus and then when I asked them to ship it they have dicked me around
<willmore>
Sorry. :(
<TheLinuxBug>
meh, not your fault, just disappointed
<willmore>
That was more of a "I'm sorry you're in this situation".
<TheLinuxBug>
hehe I know ;p
<willmore>
But, they shipped my order. ;)
<TheLinuxBug>
I appriciate the sentiment
* willmore
ducks
<TheLinuxBug>
steven zhao
<TheLinuxBug>
2017-02-07 18:26:32
<TheLinuxBug>
we have sent it to you.
<TheLinuxBug>
we will see if it actually comes this time
<TheLinuxBug>
whats fun is in the original order they replied with a link showing that the original shipment did arrive and it looks like they are trying to prevent me from disputing it that way, and I am hoping by the above 'we have sent it to you' they don't mean 'you have already receieved it' and try not to ship it again
ErwinH has joined #linux-sunxi
<TheLinuxBug>
anyhow
<TheLinuxBug>
will corss my fingers and toes
<TheLinuxBug>
off to do a few more tests, gonna test most recent PC2 image and then there is a new version of that Android installer I need to test out
reev has joined #linux-sunxi
<TheLinuxBug>
willmore: most of the things you pointed ourt were fixed, should have a new test for you here tomorrow or next few days when you get some time. I think the most recent versions up on the site if you want to check, but am hoping KotCzarny gets time to add Bluetooth soon also ;p
<TheLinuxBug>
so may be a new version again soon as well..
<TheLinuxBug>
anyhow
<TheLinuxBug>
bbl
<TheLinuxBug>
;p
ErwinH has quit [Ping timeout: 245 seconds]
jbrown has quit [Ping timeout: 255 seconds]
jbrown has joined #linux-sunxi
vishnup has quit [Ping timeout: 245 seconds]
fire219 has quit [Read error: Connection reset by peer]
fire219 has joined #linux-sunxi
pg12 has quit [Ping timeout: 276 seconds]
pg12 has joined #linux-sunxi
orly_owl has quit [Ping timeout: 255 seconds]
wzyy2 has quit [Read error: No route to host]
MXfive has joined #linux-sunxi
amit has joined #linux-sunxi
amit is now known as Guest80588
<Guest80588>
Hi I am trying to boot H3 based nano pi M1 with Sunxi-next branch for audio codec, but am getting no soundcard found. Is there any related patch?
fire219 has quit [Ping timeout: 248 seconds]
wzyy2 has joined #linux-sunxi
victhor has quit [Ping timeout: 245 seconds]
f0xx has joined #linux-sunxi
desgen has quit [Ping timeout: 260 seconds]
JohnDoe_71Rus has joined #linux-sunxi
desgen has joined #linux-sunxi
desgen has quit [Changing host]
desgen has joined #linux-sunxi
<KotCzarny>
willmore: could you add information what CIR is too? for example as a paragraph of IR page
fire219 has joined #linux-sunxi
jbrown has quit [Ping timeout: 255 seconds]
<KotCzarny>
TheLinuxBug: yeah, forced air cooling helps in cases
MXfive has quit [Quit: Sleep Quit.]
<KotCzarny>
unless case is designed to force it on its own without a fan (proper convection tract)
<KotCzarny>
that's why there was a suggestion to run boards vertical, and coincidentally all those multi-sbc projects put boards vertical
IgorPec has joined #linux-sunxi
<montjoie>
wens: already sent stmmac clean up, will send v2 today
jbrown has joined #linux-sunxi
cajg has quit [Ping timeout: 252 seconds]
TheSeven has quit [Ping timeout: 276 seconds]
[7] has joined #linux-sunxi
reinforce has joined #linux-sunxi
cajg has joined #linux-sunxi
leio has quit [Remote host closed the connection]
leio has joined #linux-sunxi
<Guest80588>
[ 1.696703] sun4i-codec 1c22c00.codec: ASoC: /soc/codec-analog@01f015c0 not registered [ 1.704762] sun4i-codec 1c22c00.codec: Failed to register our card
<wens>
Guest80588: it's probed, you probably just need to fire up alsamixer and unmute various controls
<Guest80588>
root@nanopim1:~# alsamixer cannot open mixer: No such file or directory
<wens>
cat /proc/asound ? ls /sys/kernel/debug/asoc ?
<KotCzarny>
wens: maybe driver should add note in dmesg on init that some control needs to be unmuted?
<wens>
Guest80588: ls /dev/snd/ ?
<wens>
KotCzarny: proper fix is to use ucm
<KotCzarny>
ucm?
<IgorPec>
afaik there is some issue with nanopi m1 regarding audio
<wens>
KotCzarny: use case manager
<Guest80588>
root@nanopim1:~# ls /dev/snd/ by-path controlC0 pcmC0D0c pcmC0D0p timer
<KotCzarny>
wens: is that some daemon? or just smart name for rtfm?
<wens>
Guest80588: looks like everything is in order?
<Guest80588>
root@nanopim1:~# ls /sys/kernel/debug/asoc codecs dais H3 Audio Codec platforms
<wens>
KotCzarny: it's a library + program, that sound daemons liks pulse should call
<wens>
KotCzarny: of course the developer has to write a use case file for the platform first
<KotCzarny>
heh, i hate such things..
<KotCzarny>
alsa + timed power off should suffice
<KotCzarny>
we had that in times of intel hda
<KotCzarny>
and it was working well
<Guest80588>
root@nanopim1:~# alsamixer cannot open mixer: No such file or directory root@nanopim1:~# arecord test.wav arecord: main:722: audio open error: No such file or directory
<wens>
wrong permissions? i don't know
<wens>
KotCzarny: latest intel stuff uses topology manager, which generates controls and dapm widgets
<KotCzarny>
those are simple boards, overengineering them isnt good imo
<wens>
well, the codecs are quite complex
<wens>
but yeah, having a bunch of controls that control stuff that isn't used is not useful
<Guest80588>
the codecs indeed are complex but your patches have been helpful throughout @wens
<MoeIcenowy>
is the USB-SATA bridge on the Orange Pi Zero NAS Expansion Board a UASP one?
<wens>
yeah but users might not know which controls to toggle
<KotCzarny>
MoeIcenowy: yeah, its jms578
<wens>
i guess its better than the rk3288 veyron, where toggling the wrong ones can fry the amp
<KotCzarny>
wens: lol
terra854 has joined #linux-sunxi
<Guest80588>
wens: what do you reckon for my issue? Is it the codec or the ALSA config or something else?
<wens>
i don't know, feels like a userspace issue
<wens>
do you have SND_SUPPORT_OLD_API enabled?
<wens>
maybe a mismatch in alsao kernel vs userspace API
<wens>
what about running "amixer contents" or "amixer controls" ?
<KotCzarny>
wens, maybe wrong asoundrc?
ErwinH has joined #linux-sunxi
<KotCzarny>
aplay -l should show if there are any cards
<Guest80588>
root@nanopim1:~# amixer contents amixer: Control default open error: No such file or directory root@nanopim1:~# amixer controls amixer: Control default open error: No such file or directory root@nanopim1:~# aplay -l **** List of PLAYBACK Hardware Devices **** card 0: Codec [H3 Audio Codec], device 0: CDC PCM Codec-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0 root@nanopim1:~#
florianH has joined #linux-sunxi
<KotCzarny>
what's in /etc/asound.conf and ~/.asoundrc ?
jbrown has quit [Ping timeout: 255 seconds]
<Guest80588>
root@nanopim1:~# cat /etc/asound.conf pcm.!default { type hw card 1 } ctl.!default { type hw card 1 }
<KotCzarny>
change card 1 to card 0
<wens>
KotCzarny: to be honest, i'm not familiar with asound user space :p
<MoeIcenowy>
more and more devices are going to use LPDDR3...
TheLinuxBug has quit [Ping timeout: 264 seconds]
TheLinuxBug has joined #linux-sunxi
wzyy2 has quit [Remote host closed the connection]
wzyy2 has joined #linux-sunxi
Net147 has joined #linux-sunxi
<tuxillo>
moin
fkluknav has joined #linux-sunxi
<MoeIcenowy>
excuse me, how to verify the effect of a PWM?
<MoeIcenowy>
I'm developing a driver for the r_pwm on A64
<KotCzarny>
connect fan or led
<KotCzarny>
and test different values
<KotCzarny>
led is better because draws less power
jernej has joined #linux-sunxi
<MoeIcenowy>
should I attach any resistance?
<MoeIcenowy>
(I'm not good at electronics -- no experiences at all
* KotCzarny
neither, but i assume quick tests shouldnt burn anything (unless you attack heavy load there?)
<MoeIcenowy>
ok I will use a small LED
<MoeIcenowy>
if it's burned I can easily get one to replace ;-)
<wens>
should always use a resistor with the LED
<wens>
LEDs have fixed voltage drop
<wens>
and light up with 10~20 mA
<wens>
too much and it's fried
<KotCzarny>
so its to protect the led, not the board?
<wens>
it's a current limiting resistor
<KotCzarny>
otoh, how much power pwm gpio courd draw ?
<KotCzarny>
s/draw/deliver/
<wens>
the pio block can push up to 40mA?
apritzel has joined #linux-sunxi
<MoeIcenowy>
but it should be configured in dt...
<KotCzarny>
total or per output?
<wens>
KotCzarny: per pin controllable
<wens>
the drive strength property in the device tree :)
<MoeIcenowy>
oh it seems that set the pin direction to "in" can just power up the LED...
<wens>
i have no idea how that translates to real usage though
<ElBarto>
it's 40mA max for GPIO, I don't know if current changes in other functions
<wens>
maybe beeble has some idea how to rig it safely
<MoeIcenowy>
(I'm using PL10, but now not with PWM
<ElBarto>
MoeIcenowy: if you have a scope it would be better to test your pwm driver
<ElBarto>
even a cheap usb one
<MoeIcenowy>
I have a cheap USB logic analyzer
<wens>
instead of wondering how much it could push, maybe it is better to connect the LED to VCC-IO
<MoeIcenowy>
Cypress USB2FX-based
<wens>
when the pin is high, voltage on both sides are the same, so no current, no light
<ElBarto>
that would do too (at least for low freq)
<wens>
when the pin is low (ground) current will flow from VCC-IO through LED to the pin (to ground)
<wens>
remember to add the resistor
<MoeIcenowy>
a multimeter is not enough, right? ;-)
<KotCzarny>
you need to measure quick on/off
<KotCzarny>
so dc wouldnt work
<KotCzarny>
and i dont know how ac is measured in those meters
<KotCzarny>
maybe it averages over some period
<MoeIcenowy>
the PWM in CPUx part on A64 is not usable on Pine64...
<MoeIcenowy>
(but used in TERES to control backlight)
<MoeIcenowy>
so one must use r_pwm if he want a pwm
<ElBarto>
why is it not usable ?
<MoeIcenowy>
it's shared with EMAC
MXfive has joined #linux-sunxi
<MoeIcenowy>
Pine64 choose to use EMAC
<ElBarto>
ah
<ElBarto>
oh yeah only one pin have the pwm function
<ElBarto>
that sucks
<MoeIcenowy>
ElBarto: r_pwm is still available
<MoeIcenowy>
P.S. in BSP seems that Allwinner choose to set the pwm_chip's base parameter to 10 for s_pwm, so s_pwm will become pwm10, and original pwm become pwm0
<MoeIcenowy>
should it be reproduced in mainline?
<MoeIcenowy>
In addition, according to Pine64 schematics, VCC-PL is 1.8V, so that the I/O voltage of PL should be 1.8V
apritzel has quit [Ping timeout: 240 seconds]
<MoeIcenowy>
but I measured ~3V for PL10 in enabled status...
<beeble>
wens: what is the question?
<beeble>
how to wire an led?
<ElBarto>
MoeIcenowy: it's controlled by aldo2
<wens>
beeble: yeah, MoeIcenowy wants to test her pwm driver with an LED
<ElBarto>
MoeIcenowy: so if you have 3V that mean that aldo2 is configured for 3V
<beeble>
a resistor in series would be fine. but if it's an hassle to mount just drive the led directly from the i/o port. will do no harm in that case
<beeble>
you would see a power increase if you drive a lot of leds. but a single one doesn't matter
<MoeIcenowy>
ok got everything prepared now...
<KotCzarny>
fire extinguisher?
<KotCzarny>
;)
<MoeIcenowy>
nope. ;-)
<KotCzarny>
emergency mains switch?
<beeble>
MoeIcenowy: depending on your led, when you only have 1.8v i/o voltage it may be very dim
<beeble>
MoeIcenowy: typical forward voltage is above 2V
<MoeIcenowy>
KotCzarny: only a easily unpluggable USB is enough ;-)
<MoeIcenowy>
beeble: in fact it's not only 1.8v ;-)
LargePrime has quit [Ping timeout: 240 seconds]
IgorPec has joined #linux-sunxi
<beeble>
MoeIcenowy: just reading a few lines inbetween. so sorry if i missed something :)
apritzel has joined #linux-sunxi
JohnDoe71rus has joined #linux-sunxi
Ntemis has joined #linux-sunxi
<MoeIcenowy>
oh I found the sysfs interface of PWM difficult to use...
foxx has joined #linux-sunxi
wens_ has joined #linux-sunxi
zoobab_ has joined #linux-sunxi
zumbi_ has joined #linux-sunxi
swabbles has joined #linux-sunxi
mripard_ has joined #linux-sunxi
lordlod_ has joined #linux-sunxi
vbmithr_ has joined #linux-sunxi
diego71_ has joined #linux-sunxi
rtp_ has joined #linux-sunxi
bfree_ has joined #linux-sunxi
ksyz_ has joined #linux-sunxi
juri__ has joined #linux-sunxi
swiftgeek1 has joined #linux-sunxi
feuera has joined #linux-sunxi
destreza has joined #linux-sunxi
cnxsoft has quit [Quit: cnxsoft]
cnxsoft has joined #linux-sunxi
desgen has quit [*.net *.split]
JohnDoe_71Rus has quit [*.net *.split]
f0xx has quit [*.net *.split]
juri_ has quit [*.net *.split]
honx has quit [*.net *.split]
zoobab has quit [*.net *.split]
camh has quit [*.net *.split]
swiftgeek has quit [*.net *.split]
wens has quit [*.net *.split]
vbmithr has quit [*.net *.split]
zumbi has quit [*.net *.split]
SJRvanSchaik has quit [*.net *.split]
ksyz has quit [*.net *.split]
lordlod has quit [*.net *.split]
diego71 has quit [*.net *.split]
rtp has quit [*.net *.split]
bfree has quit [*.net *.split]
mripard has quit [*.net *.split]
LargePrime has joined #linux-sunxi
jbrown has quit [Ping timeout: 255 seconds]
<MoeIcenowy>
ok s_pwm test ok
cnxsoft has quit [Client Quit]
<MoeIcenowy>
maybe next target is an AXP803 driver ;-)
cnxsoft has joined #linux-sunxi
cnxsoft has quit [Client Quit]
cnxsoft has joined #linux-sunxi
<montjoie>
good news on pine64 I have now the same perf between both emac driver
<KotCzarny>
what was the fix?
<montjoie>
enabling hardware rx CRC
<MoeIcenowy>
montjoie: congrats!
camh has joined #linux-sunxi
honx has joined #linux-sunxi
<apritzel>
montjoie: awesome! Well done.
arete74__ has joined #linux-sunxi
arete74 has quit [Read error: Connection reset by peer]
<montjoie>
just a function that need non 0 return code to success
JohnDoe71rus has quit [Read error: Connection reset by peer]
<MoeIcenowy>
how to bump?
JohnDoe_71Rus has joined #linux-sunxi
cobra_koral has joined #linux-sunxi
BenG83 has quit [Ping timeout: 264 seconds]
<wens_>
MoeIcenowy: plaes means update
ErwinH has quit [Read error: No route to host]
wens_ is now known as wens
ErwinH has joined #linux-sunxi
apritzel has quit [Ping timeout: 255 seconds]
reinforce has quit [Quit: Leaving.]
<MoeIcenowy>
wens: I just do not know what needs update ;-)
<MoeIcenowy>
P.S. I have got axp20x-pek working on Pine64
<KotCzarny>
h3 mainline status
<KotCzarny>
ie update info that its quite well supported
<MoeIcenowy>
with a hardware button placed at the "Power" position between 3.5mm jack and USB ports
jbrown has quit [Ping timeout: 255 seconds]
enrico__ has joined #linux-sunxi
jbrown has joined #linux-sunxi
Pepe has joined #linux-sunxi
arete74__ has joined #linux-sunxi
arete74 has quit [Read error: Connection reset by peer]
jernej has joined #linux-sunxi
feuera has joined #linux-sunxi
BenG83 has joined #linux-sunxi
yann-kaelig has joined #linux-sunxi
futabachannel has quit [Quit: Leaving...]
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
reev has quit [Ping timeout: 245 seconds]
IgorPec has joined #linux-sunxi
<willmore>
KotCzarny, yes I can add such a page. Are links to wikipedia and elsewhere helpful?
<KotCzarny>
it can be a paragraph of IR page
lemonzest has joined #linux-sunxi
afaerber has quit [Quit: Leaving]
reinforce has joined #linux-sunxi
<agraf>
MoeIcenowy: i guess the upstream discussion already happened :)
<agraf>
MoeIcenowy: sorry, i'm quite swamped atm
jernej has quit [Ping timeout: 240 seconds]
<agraf>
MoeIcenowy: so are you interested in working on the dm conversion?
<MoeIcenowy>
nope
<MoeIcenowy>
When drivers land in U-Boot before in Linux kernel
<MoeIcenowy>
DM conversion is a disaster
<willmore>
KotCzarny, done. How does it look? Can we make CIR redirect there? Shall I make 'CIR' references in info boxes point there?
jbrown has quit [Ping timeout: 255 seconds]
<KotCzarny>
you should do redirect if you want to use [[CIR]]
<KotCzarny>
'referred' ?
komunista has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
mossroy has joined #linux-sunxi
paulk-collins has joined #linux-sunxi
jbrown has joined #linux-sunxi
Pepe has quit [Ping timeout: 252 seconds]
Pepe has joined #linux-sunxi
<fALSO>
just to report that I left my PI PC2 with armbian at home
<fALSO>
and it crashed :(
<agraf>
MoeIcenowy: i think you can do DM without DT
<KotCzarny>
that doesnt report anything. what os? kernel? settings? workload/env?
<plaes>
yeah.. and if it is about 3.4 kernel then this is not the right channel..
<fALSO>
kotczarny, on idle
<fALSO>
theres only one kernel for the PC2
<fALSO>
and just one OS
<KotCzarny>
not true
<jelle>
fALSO: nope, you can easily roll your own OS :-)
<fALSO>
theres ubuntu server, and ubuntu desktop
<fALSO>
jelle, i tried it yesterday
<fALSO>
to use the armbian kernel on my gentoo
<fALSO>
but the kernel is TOO SYSTEMDSIZED
<fALSO>
doesnt boot on gentoo
* jelle
smells FUD in the air
<fALSO>
:(
<KotCzarny>
same
<KotCzarny>
it could be other way round
<KotCzarny>
but kernel is still userland agnostic
<fALSO>
well it works with the 3.X kernel from the orangepi site
<fALSO>
but not with the one from armbian
<fALSO>
Ill try to give moar details later
<fALSO>
uboot after booting the kernel... is LOOKING for something
<fALSO>
and gives up
<KotCzarny>
anyway, this channel is about mainlining (ie. bringing mainline kernel to allwinner socs)
<fALSO>
yes i know
<fALSO>
But its also the only place where real people are :)
<jelle>
so u-boot can't find the kernel,..
<KotCzarny>
you should read uboot/kernel pages on wiki
<fALSO>
nop, uboot finds the kernel
<KotCzarny>
and maybe to understand what works and what doesnt
<KotCzarny>
and get uart dongle for debugging
<fALSO>
I have it
<fALSO>
I used it
<jelle>
hmm might be that it can't find init
<fALSO>
Ill give the error out later in the day, im at work now :(
<KotCzarny>
armbian bundles with initrd
<fALSO>
yap i think that is the problem
<jelle>
symlink :P
<KotCzarny>
you should know enough about linux how to boot it
<KotCzarny>
otherwise you arent struggling at sunxi, you are struggling at linux
<fALSO>
kotczarny, I copied the uboot part, from the armbian image
<fALSO>
to a new card
<fALSO>
then created the first partition at sector 4096
<fALSO>
then copied /boot from the armiam image to there
<fALSO>
and also the /lib/modules
<KotCzarny>
then you should also copy uenv.txt or boot.scr/txt to make it know where to find kernel
<jelle>
fALSO: can't you type a sentence?
<fALSO>
I copied the whole /boot - it has all those files there
<KotCzarny>
anyway, as i've stated, you are struggling at generic linux booting
<fALSO>
sorry but english isnt my main language :)
<fALSO>
not generic, uboot booting :)
victhor has joined #linux-sunxi
<KotCzarny>
k, then please read mainline uboot page on wiki
<fALSO>
Yes, im going to see if I can find moar info about kernel 4 booting
<fALSO>
thank you all again :)
<MoeIcenowy>
oh I got axp20x-regulator running on axp803
<MoeIcenowy>
it's a miracle that I didn't burn my Pine64 out
<KotCzarny>
MoeIcenowy: lucky you. still got that fire extinguisher handy? ;)
<feuera>
Hi, anyone knows how to do a fel boot with v3s chip? Datasheet does not mention any boot pin ..
cnxsoft has quit [Quit: cnxsoft]
<beeble>
feuera: short a line of your boot medium?
<beeble>
so it can't get the eGON header
<feuera>
beeble: ? currently booting sdcard?
<beeble>
feuera: remove the sdcard? the bootrom on the other devices will try all the available boot devices and go into fel if it finds no boot header
<plaes>
there's also possible to create fel-booting sdcard
<plaes>
in case your device has nand or any other builtin storage
<feuera>
beeble: ah okay thanks
<feuera>
about ion memory manager: trying to use kernel 3.4 and CSI (ov5640 and/or ar0330). V3s has 64MiB of ram. what would be a good choice for preallocated memory for the sunxi heap?
afaerber has joined #linux-sunxi
sztibi88 has joined #linux-sunxi
arete74 has joined #linux-sunxi
arete74__ has quit [Read error: Connection reset by peer]
reinforce has quit [Quit: Leaving.]
paulk-collins has quit [Quit: Leaving]
JohnDoe_71Rus has joined #linux-sunxi
<MoeIcenowy>
are you hacking a camera?
Ntemis has quit [Ping timeout: 240 seconds]
<Wizzup>
there's no u-boot spi driver for a64 yet, right (apart from spl)?)
<Wizzup>
we're working on an a10/a20 driver, but when I get the a64 board, I'll see if we can make it work on that one too
<plaes>
Wizzup: nope
destreza has left #linux-sunxi ["Leaving"]
<Wizzup>
cool. so that can be written as well then
jernej has joined #linux-sunxi
juri__ is now known as juri_
<feuera>
I built a small pcb using V3s chip. i2c connection to the camera seems okay (altough i wired it up to i2c0 instead of csi_cci)
Andy-D has joined #linux-sunxi
jbrown has quit [Ping timeout: 255 seconds]
soltys has joined #linux-sunxi
nove has joined #linux-sunxi
jbrown has joined #linux-sunxi
aballier has joined #linux-sunxi
ErwinH has quit [Remote host closed the connection]
<beeble>
Wizzup: maybe you want to delay that. we should post patches for u-boot spi soon
fkluknav has quit [Ping timeout: 240 seconds]
fkluknav has joined #linux-sunxi
<Wizzup>
beeble: for which socs, and where can I follow the progress
jernej has quit [Ping timeout: 240 seconds]
<beeble>
Wizzup: a64 at least. but was inital made for a31 so it will probably work on most socs? not sure if my colleague is posting it somewhere yet. will ask
mozzwald has quit [Quit: leaving]
<Wizzup>
beeble: please do, as we are working on a10/a20 atm.
<beeble>
Wizzup: and will follow up with the new stuff as soon as i get the info
<Wizzup>
thanks
mozzwald has joined #linux-sunxi
<soltys>
hi, can somebody point me url to status of support for pine64 (a64) in mainline u-boot/kernel?
<jelle>
soltys: search on the wiki for mainline linux
<soltys>
kk
ErwinH has joined #linux-sunxi
victhor has quit [Ping timeout: 256 seconds]
muvlon has joined #linux-sunxi
ErwinH has quit [Ping timeout: 260 seconds]
ErwinH has joined #linux-sunxi
reinforce has joined #linux-sunxi
Ntemis has joined #linux-sunxi
ErwinH has quit [Ping timeout: 240 seconds]
arete74 has quit [Read error: Connection reset by peer]
arete74__ has joined #linux-sunxi
<tuxillo>
hmm, this nanopi neo runs hot
<tuxillo>
near 80C
foxx has quit [Ping timeout: 240 seconds]
sztibi88 has quit [Remote host closed the connection]
nove has quit [Quit: nove]
jbrown has quit [Ping timeout: 255 seconds]
foxx has joined #linux-sunxi
jbrown has joined #linux-sunxi
vinimac has joined #linux-sunxi
vishnup has joined #linux-sunxi
ErwinH has joined #linux-sunxi
ErwinH has quit [Ping timeout: 240 seconds]
feuera has quit [Ping timeout: 260 seconds]
paulk-collins has joined #linux-sunxi
fkluknav has quit [Ping timeout: 240 seconds]
BenG83 has quit [Quit: Leaving]
jernej has joined #linux-sunxi
fkluknav has joined #linux-sunxi
massi has quit [Quit: Leaving]
dave0x6d has quit [Quit: Connection closed for inactivity]
Xalius has joined #linux-sunxi
jbrown has quit [Ping timeout: 255 seconds]
enrico__ has quit [Quit: Bye]
jbrown has joined #linux-sunxi
bugzc_ns has quit [Remote host closed the connection]
zerotri has quit [Remote host closed the connection]
steev has quit [Remote host closed the connection]
nihcas_ has quit [Remote host closed the connection]
florianH has quit [Remote host closed the connection]
bamvor has quit [Remote host closed the connection]
lvrp16 has quit [Write error: Broken pipe]
yann-kaelig has quit [Quit: Leaving]
terra854 has quit [Remote host closed the connection]
arnd has quit [Remote host closed the connection]
aliosa27 has quit [Remote host closed the connection]
petr has quit [Ping timeout: 258 seconds]
petr has joined #linux-sunxi
Qui_Sum has joined #linux-sunxi
vagrantc has joined #linux-sunxi
ErwinH has joined #linux-sunxi
|Jeroen| has joined #linux-sunxi
<Qui_Sum>
Hi! I want to use a cubieboard (A10) as a headless MPD server with audio via HDMI. I'm not entirely clear on the current status in the mainline kernel. Is HDMI audio possible / planned / impossible?
<jelle>
Qui_Sum: I don't think output HDMI (video) is supported
ErwinH has quit [Ping timeout: 252 seconds]
<KotCzarny>
jelle: see 'headless'
<jelle>
KotCzarny: sure
<KotCzarny>
so his question is 'is audio via hdmi working on a10/mainline'
<jelle>
KotCzarny: I know
<KotCzarny>
i dont own a10 so im not sure
<KotCzarny>
on a20 its supported
<jelle>
I couldn't find info on the wiki
<MoeIcenowy>
KotCzarny: how is it supported?
<jelle>
Qui_Sum: if you have a spare sd card you might just try it :)
<KotCzarny>
MoeIcenowy: it works?
<MoeIcenowy>
I do not know
<MoeIcenowy>
and I think it may not work
<KotCzarny>
hmm, aplay only shows analog path on my banana
<Qui_Sum>
I'm currently running Archlinux ARM, analog audio works, but HDMI doesn't. Am I doing something wrong? I see great progress for mainline on the wiki, should I wait? Or should I switch to the sunxi kernel?
<jelle>
Qui_Sum: not all the parts of mainlining are equally simple
<willmore>
Makes sense. I'm new to writing/editing on Wikis. I've been reading them for decades. :)
<willmore>
And I don't think I've ever gotten a user page in a search result, so I see the logic of taht.
cptG has joined #linux-sunxi
<willmore>
Okay, got all of Xunlong done. Shall I search globally and see what else is out there? I can look at the photos of the boards to ensure it's really CIR and not IRDA.
<KotCzarny>
i bet cir was in reference allwinner design
<KotCzarny>
and only vendors that design their own boards grounds up might have two way, but unlikely
jbrown has joined #linux-sunxi
cptG_ has quit [Ping timeout: 255 seconds]
<willmore>
I moved the wikipedia CIR reference link to the references section of the Infra Red/CIR page and credited Phie8pie in the change comment. I hope thats the right way to do it.
iamfrankenstein has quit [Quit: iamfrankenstein]
<rellla>
willmore: it's a wiki :) just do it, people will get up, if they don't agree
ErwinH has joined #linux-sunxi
ErwinH has quit [Ping timeout: 240 seconds]
reinforce has quit [Quit: Leaving.]
florianH has quit [Quit: Connection closed for inactivity]
tsuggs has joined #linux-sunxi
<willmore>
rellla, I'm trying to get used to that mindset.
Guest80588 has quit [Ping timeout: 260 seconds]
terra854 has quit [Quit: Connection closed for inactivity]
victhor has joined #linux-sunxi
lemonzest has quit [Quit: Leaving]
swiftgeek1 has quit [Quit: WeeChat 1.5]
swiftgeek has joined #linux-sunxi
jernej has quit [Quit: Konversation terminated!]
<apritzel>
jemk: are you the Jens on the Olimex blog page?
LargePrime has quit [Ping timeout: 258 seconds]
<apritzel>
anyway, funny enough actually an "smc #0" in non-secure state on my "bricked" Pine64 brings it back into secure state
ErwinH has joined #linux-sunxi
<apritzel>
then returning to FEL lets me load stuff and warm reset into AArch64
<apritzel>
and now Trustzone works!
<apritzel>
(because U-Boot hangs, probably on trying to write CNTFRQ)
komunista has quit [Quit: Leaving.]
MXfive has quit [Quit: Sleep Quit.]
ErwinH has quit [Ping timeout: 245 seconds]
MXfive has joined #linux-sunxi
LargePrime has joined #linux-sunxi
pitillo has quit [Changing host]
pitillo has joined #linux-sunxi
LargePrime has quit [Ping timeout: 245 seconds]
jbrown has quit [Ping timeout: 255 seconds]
<vagrantc>
hrm. it looks like USB supprot for the sun9i8-a80-optimus was added quite some time ago, but the cubieboard4 still lacks it ... is there something hugely different with cubieboard4's usb support?
<vagrantc>
it also claims that mmc works, but neither the eMMC or uSD card are detected ... running 4.9.x