Turl 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
<swiftgeek> it sorta works on v2017.09
<BenG83> what is broken? setting clocks?
<swiftgeek> no idea haven't bisected yet
<swiftgeek> all i know is that hdmi doesn't work
<swiftgeek> i was supposed to bisect sooner but i messed up my spine ^^
Ntemis has quit [Remote host closed the connection]
<BenG83> I had no HDMI output on A10 with latest u-boot
<BenG83> but I didnt investigate
<swiftgeek> and v2017.11 is first broken on my H3 board
<swiftgeek> (release)
<swiftgeek> Let's see how it goes Bisecting: 518 revisions left to test after this (roughly 9 steps)
<swiftgeek> this will take some time after meltdown ^^
fkluknav has quit [Ping timeout: 240 seconds]
<swiftgeek> how do i tell git bisect to ignore this commit xD
<swiftgeek> git bisect skip, k
pgreco has quit [Quit: Leaving.]
megi has quit [Ping timeout: 256 seconds]
xyntrix has joined #linux-sunxi
<swiftgeek> i need to skip a lot of commits ;/
elros_ has quit [Quit: Communi 3.5.0 - http://communi.github.com]
hanetzer has joined #linux-sunxi
<swiftgeek> and now i'm stuck at skip
skiboy has joined #linux-sunxi
kloczek has quit [Ping timeout: 256 seconds]
<swiftgeek> so
<swiftgeek> Last Good - 3a61b080acee941a1b14b709b58ff9cde0b367bc , Oldest Bad that compiles - 9f35688349cf019ce4f85c81d7ec1a34d865dcc4
<swiftgeek> and stuff between doesn't compile
chlorine has joined #linux-sunxi
chlorine has quit [Ping timeout: 248 seconds]
chomwitt has quit [Ping timeout: 255 seconds]
<swiftgeek> jernej: o/
<swiftgeek> i canno de-select usb
<swiftgeek> so i cannot compile those stuff in between
ninolein_ has joined #linux-sunxi
ninolein has quit [Ping timeout: 260 seconds]
xyntrix has quit [Ping timeout: 260 seconds]
<hanetzer> swiftgeek: whassup geek
<swiftgeek> the best i could get was "undefined reference to `usb_add_function'"
<swiftgeek> after modifying config
<swiftgeek> and i cannot revert those commits xD
<smaeul> swiftgeek: what device/defconfig are you using?
<swiftgeek> orangepi_plus2e_defconfig
<swiftgeek> huh looks like git bisect lied to me about 9f35688349cf019ce4f85c81d7ec1a34d865dcc4 compiling
wasutton3_mobile has joined #linux-sunxi
<swiftgeek> or i pasted wrong thing xD
<swiftgeek> e6ee85a6891eca187c9a9364c51690d3f6a36932 *
<swiftgeek> ↑ bad one
<smaeul> none of those have anything to do with HDMI though
<swiftgeek> smaeul: yep
<swiftgeek> which makes it harder to spot the commit
<swiftgeek> or code change that broke it
<swiftgeek> ok
<swiftgeek> i reverted de86fc3859f9c9ae26faed6f9d8fc115e1329b4f on oldest bad compiling commit - e6ee85a6891eca187c9a9364c51690d3f6a36932
<swiftgeek> and it works
<swiftgeek> but i cannot revert it on master
<swiftgeek> just to be double sure i'm pasting right thing : reverted "sunxi: Remove the MMC index hack"
<swiftgeek> while after that commit i get no errors on mmc_init
<swiftgeek> i don't get hdmi either
<swiftgeek> gonna triple check e6ee85a6891eca187c9a9364c51690d3f6a36932 is broken
<smaeul> swiftgeek: do you have anything stored in the environment that might affect HDMI?
<swiftgeek> smaeul: what do you mean
<smaeul> i.e. that commit might affect which eMMC/MMC device the environment is read from
<swiftgeek> ah
<swiftgeek> i don't know how anything from env could affect it
<swiftgeek> and i'm loading it via fel
<swiftgeek> so i'm even more confused
<smaeul> /* If we have two devices (most likely eMMC + MMC), favour the eMMC */
<smaeul> #define CONFIG_SYS_MMC_ENV_DEV 1
<smaeul> doesn't matter where you boot from, it still looks for environment in mmc
<swiftgeek> smaeul: what do you recommend then?
<swiftgeek> env default?
xyntrix has joined #linux-sunxi
<smaeul> diff the environment with and without that commit?
<swiftgeek> smaeul: i did default thing and it works
<swiftgeek> but there was nothing in there that i would set myself or anything about hdmi
<smaeul> maybe failing to load environment breaks HDMI? I dunno
<swiftgeek> this is before
cnxsoft has joined #linux-sunxi
<swiftgeek> i don't have anything about HDMI after resetting
<swiftgeek> or no
<smaeul> swiftgeek: before `env default` or before the commit that broke it?
<swiftgeek> i do have
<swiftgeek> stdout=serial
<swiftgeek> vs stdout=serial,vidconsole
<smaeul> that'll probably do it :)
<swiftgeek> way too much time
<swiftgeek> xD
<swiftgeek> smaeul: thanks for help
<swiftgeek> so hopefully now simplefb will work
<swiftgeek> smaeul: so it worked before because eMMC was a hack and it didn't fetch env from eMMC?
<swiftgeek> works on master
<swiftgeek> terminal works too
<swiftgeek> jernej: sorry for bothering you with my stupidity then all that time xD
<swiftgeek> nice, i get simplefb
<aalm> :)
<swiftgeek> can i easily mirror vt on ttySx ?
vagrantc has quit [Quit: leaving]
* PhotoJim is installing Debian on a Banana Pi that he used to run Bananian on, but was idle for the last year or so
\\Mr-C\\ has joined #linux-sunxi
\\Mr_C\\ has quit [Ping timeout: 248 seconds]
wasutton3_mobile has quit [Ping timeout: 268 seconds]
victhor has quit [Remote host closed the connection]
juri_ has quit [Ping timeout: 264 seconds]
juri_ has joined #linux-sunxi
nuuuciano has quit [Ping timeout: 255 seconds]
\\Mr-C\\ has quit [Ping timeout: 248 seconds]
\\Mr_C\\ has joined #linux-sunxi
nuuuciano has joined #linux-sunxi
Wizzup has quit [Remote host closed the connection]
xyntrix has quit [Ping timeout: 248 seconds]
IgorPec has joined #linux-sunxi
nots has quit [Quit: Page closed]
xcko has quit [Ping timeout: 264 seconds]
dave0x6d has joined #linux-sunxi
xyntrix has joined #linux-sunxi
xyntrix has quit [Remote host closed the connection]
ninolein_ has quit [Ping timeout: 265 seconds]
ninolein has joined #linux-sunxi
TheSeven has quit [Ping timeout: 240 seconds]
JohnDoe_71Rus has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
chlorine has joined #linux-sunxi
TheSeven has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 256 seconds]
chlorine has quit [Ping timeout: 264 seconds]
leviathan has joined #linux-sunxi
TheSeven has quit [Ping timeout: 265 seconds]
adj__ has quit [Quit: Leaving]
f0xx has joined #linux-sunxi
xcko has joined #linux-sunxi
<jernej> swiftgeek: no problem
<jernej> mripard: Since I'm not on any mailing list where you sent vblank patch, how can I give you tested-by and reviewed-by tags?
medvid has quit [Ping timeout: 256 seconds]
skiboy has quit [Quit: Leaving]
reinforce has joined #linux-sunxi
TheSeven has joined #linux-sunxi
Putti has joined #linux-sunxi
medvid has joined #linux-sunxi
nuuuciano has quit [Ping timeout: 256 seconds]
dddddd has quit [Remote host closed the connection]
matthias_bgg has joined #linux-sunxi
fkluknav has joined #linux-sunxi
Wizzup has joined #linux-sunxi
IgorPec has quit [Ping timeout: 264 seconds]
matthias_bgg has quit [Ping timeout: 240 seconds]
fkluknav has quit [Ping timeout: 276 seconds]
nuuuciano has joined #linux-sunxi
xcko has quit [Ping timeout: 255 seconds]
<silviop> root@Tablet0:/sys/class/thermal/thermal_zone0# cat temp
<silviop> give cat: temp: Invalid argument
<silviop> my kernel il 4.14.19
<silviop> is this bug still present ?
xcko has joined #linux-sunxi
Mr__Anderson has joined #linux-sunxi
sr-digitronic has joined #linux-sunxi
fkluknav has joined #linux-sunxi
fkluknav has quit [Ping timeout: 265 seconds]
tllim has quit [Read error: Connection reset by peer]
sr-digitronic is now known as basxto_
arete74 has joined #linux-sunxi
lemonzest has joined #linux-sunxi
akaWolf has quit [Ping timeout: 256 seconds]
thehungus has joined #linux-sunxi
tom_nov has joined #linux-sunxi
raspo666 has joined #linux-sunxi
yann|work has joined #linux-sunxi
chlorine has joined #linux-sunxi
chlorine has quit [Ping timeout: 265 seconds]
BenG83 has quit [Quit: Leaving]
_whitelogger has joined #linux-sunxi
BenG83 has joined #linux-sunxi
yann|work has quit [Ping timeout: 248 seconds]
pgreco has joined #linux-sunxi
megi has joined #linux-sunxi
thehungus has quit [Ping timeout: 260 seconds]
clemens3 has joined #linux-sunxi
IgorPec has joined #linux-sunxi
victhor has joined #linux-sunxi
<mripard> silviop: no one reads bugzilla
chlorine_ has joined #linux-sunxi
<mripard> jernej: I didn't put you in cc ? :/
focus has joined #linux-sunxi
<focus> hi, got a bit of funding and spare time - thinking of open source kicad R40 pcb :)
<focus> R40 documented well enough?
swabbles has joined #linux-sunxi
SJRvanSchaik has quit [Ping timeout: 264 seconds]
KotCzarny_ has joined #linux-sunxi
vbmithr_ has joined #linux-sunxi
jailbox_ has joined #linux-sunxi
<BenG83> what made you look at R40?
KotCzarny has quit [Ping timeout: 264 seconds]
mcan has quit [Ping timeout: 264 seconds]
jailbox has quit [Ping timeout: 264 seconds]
vbmithr has quit [Ping timeout: 264 seconds]
mcan_ has joined #linux-sunxi
jailbox_ has quit [Quit: Leaving]
jailbox_ has joined #linux-sunxi
<focus> R40 has sata :)
<focus> i'm thiking sata good for hard disk
f0xx has quit [Ping timeout: 255 seconds]
clemens3 has quit [Ping timeout: 248 seconds]
yann|work has joined #linux-sunxi
<focus> 2GB RAM to boot Ubuntu
Strontium has joined #linux-sunxi
jailbox_ has quit [Quit: Leaving]
jailbox has joined #linux-sunxi
<focus> Boot from uSD card
<focus> and then chain to hard disk
<swiftgeek> focus: PCB for what? SBC?
<swiftgeek> focus: remember to use components that are generic when possible ie. can be found on aliexpress
<focus> SBC - hopefully 6 layer or less
<swiftgeek> definitely use PMIC so it can work off the battery
<swiftgeek> focus: if somebody pushes the BOM too much - leave pads on PCB, remove from BOM
<swiftgeek> focus: definitely have pads for diode for reverse polarity protection/fuse and esd protection
<swiftgeek> focus: and each rail should be possible to detached as a whole or from individual circuits so it is actually possible to 1. debug and fix board 2. monitor current of a chosen circuit
<focus> PMIC definitely - but I really don't know much about this IC
<swiftgeek> focus: this can be achieved either via solder bridges pads or special 0Ω links on PCB
<focus> 0R for me :)
<swiftgeek> focus: please don't
<swiftgeek> solder bridges whenever possible
<focus> maximum io lines if feasible
<swiftgeek> focus: you can debug board in less than 5 minutes when it uses solder bridges
<focus> price difference high between 4 layer and 6 layer - any ideas if it is doable in 4 layer?
<swiftgeek> but if it has 0Ω links you need to CUT traces with a dremel
<swiftgeek> and there is a chance you cut too deep
<swiftgeek> and it's time consuming
<swiftgeek> focus: so if solderbridge doesn't cost you anything - use them
<focus> sounds really good
<focus> (solder bridges)
maz_ has joined #linux-sunxi
jailbox_ has joined #linux-sunxi
<swiftgeek> focus: seriously if it has solder bridges all you need is ZD915
<focus> 0R SMT resistor pads - not actual tracks - may be 0805 - may be 0603
<swiftgeek> focus: no, those are expensive and pointless and why bother
<swiftgeek> lemme show you some examples
itdnhr_ has joined #linux-sunxi
<swiftgeek> below unpopulated button you have pads without solder
<focus> reverse polarity - using a schottky for that
<swiftgeek> focus: that's subideal one
<swiftgeek> focus: PTC in series + diode parallel inserted backwards
<swiftgeek> *polyfuse
<focus> yes - thinking of PTC - most good boards have it
<swiftgeek> focus: most sane boards have it
<focus> :)
<swiftgeek> focus: PMIC should be located on side if possible or at least with some spacing
<swiftgeek> definitely don't have melty connector near it
valkyr1e_ has joined #linux-sunxi
<swiftgeek> because if it dies it's pretty easy to replace - don't make it harder than it should be
<focus> very good point!
<focus> what initialises the PMIC - is it a kernel module or some code in uboot?
<swiftgeek> focus: soic8 for spi 25xx flash is also nice
<swiftgeek> focus: it has it's own logic inside
<focus> ooo?
<swiftgeek> focus: then after uboot boots it can adjust some adjustable LDOs
<swiftgeek> over i2c or sth
<swiftgeek> same for ADC/GPIOs on it
valkyr1e has quit [Ping timeout: 264 seconds]
jailbox has quit [Ping timeout: 264 seconds]
maz has quit [Ping timeout: 264 seconds]
itdnhr has quit [Ping timeout: 264 seconds]
<swiftgeek> when you have spare ADCs, connect them to rails
<swiftgeek> so you can monitor rails
<swiftgeek> and whenever you have important N/C pin add testpad to it
<swiftgeek> whenever possible
<focus> so i was wondering when the R40 boots, it already gets power from PMIC without PMIC being initialised?
<swiftgeek> like you use 2 out of 3 USBs or something? expose 3rd via testpads
<focus> yes good point about test pad - always leave it in me thinks
<focus> i was planning to put in fpc connectors for expansion
<swiftgeek> focus: if you need parts recommendation ask me
<focus> oh i will :) :)
<swiftgeek> as in generic part recommendation :D
<focus> want to do up the kicad pcb - starting with the R40 chip
<focus> plan is 2GB RAM - any thoughts on best chips
<swiftgeek> like currently SRV05-4 is the most generic part possible for esd protection of USB/up-to-gigabit-ethernet
<focus> check on aliexpress for SRV05-4 price?
<swiftgeek> dust
rpirea has joined #linux-sunxi
<focus> That really nice swiftgeek - i gonna order a reel
BenG83 has quit [Remote host closed the connection]
<swiftgeek> focus: well if you are ordering reels order it from digikey or sth xD
<swiftgeek> aliexpress is for repair, first step to mount chips from there is to scratch pads/balls from oxide
<swiftgeek> and maybe even bake them
<focus> i have friend in china with factory, i can ask and he get me at china prices
<focus> :)
<swiftgeek> focus: ask him for lattice FPGAs then xD
<swiftgeek> those icestorm ones
<focus> FPGA?
<swiftgeek> focus: for most of the world aliexpress is the only option
<swiftgeek> and you can't quite get those chips from aliexpress yet
<swiftgeek> stm32 in bga form factor are pain to get too
<swiftgeek> or even qfn
<focus> icestorm seems to have made a lot of progress!
<swiftgeek> a bit ago somebody enlightened everybody that all you need to mount old stock bga chipie
<swiftgeek> is to scratch its balls!
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<focus> :)
<swiftgeek> so low pin bga with bigger pitch would be fun
<swiftgeek> focus: also definitely have FEL button with solderbridge across it
<focus> I gonna create a spreadsheet with R40 pins to start
<focus> then enter a footprint into kicad today hopefully
<swiftgeek> focus: signal solderbridges are tinier http://h5ai.swiftgeek.net/Versaloon/STM32L-DISCOVERY/16645.jpg
<focus> jp3?
<swiftgeek> SB* stuff
<swiftgeek> one near battery is filled with just solder
<focus> yes "reserved"
<focus> those pads easy to do
<focus> i do them
<focus> V shape for easy solder bridge
IlyaM has joined #linux-sunxi
<swiftgeek> focus: if you need inspiration for power solderbridges and how to use them you can look at examples like
<swiftgeek> x200 - mocha-1 from wistron
<swiftgeek> uses those 0Ω links that you need to cut
<swiftgeek> but schematics should give you idea where they place them :D
<swiftgeek> usually you have some individual circuit on some page
<swiftgeek> so it would be on Vin there
<swiftgeek> except DC-DC converters where would also happen on output
<swiftgeek> focus: one of the most annoying issues you can find are broken ceramic caps on rails
<focus> i was going to put in screw terminals for power - need that to be solid method of connection for some applications i have in mind
<swiftgeek> with solderbridge on output of rail you can easily apply some current from lab supply
<swiftgeek> until ceramic cap is noticeably hot
<focus> ah - yessssss!!!
<swiftgeek> even to the point of desoldering itself
<focus> always need to take out the power supply and run from lab supply
<swiftgeek> focus: consider push terminals
<swiftgeek> we live in the future after all
<focus> wago expensive?
<swiftgeek> nah some generic one
<focus> ah ok
chlorine_ has quit [Ping timeout: 255 seconds]
<swiftgeek> unless you expect people to use ferrules/spade terminals ofc
<focus> ferrule crimped to avoid copper shreds falling onto pcbs
<focus> spade terminal - probably excessive
<IlyaM> Hi, I have devboard with RK3328, which has CLKOUT pin, how can I enable this pin to generate clock?
<swiftgeek> focus: that doesn't happen xD
<swiftgeek> focus: more like wire breaking lose
<swiftgeek> but wago-style terminals are usually good with handling that without use of ferrules
<swiftgeek> but connector is longer
BenG83 has joined #linux-sunxi
<swiftgeek> focus: feel free to send me layout/schematics for review i will call you out on non-repair-friendly parts :D
<swiftgeek> focus: also if you chose to not publish artwork for some reason - please at the very least publish boardview
<swiftgeek> ie. just each pad location
<swiftgeek> with netlist
<focus> i am releasing the design every day in KiCAD with daily updates - I'll send the link as soon as I got the R40 into the kicad design
<swiftgeek> nice
<focus> the pmic still worries me
<swiftgeek> focus: but i will probably forget about it so poke me when you want it checked
<swiftgeek> focus: shouldn't
chlorine_ has joined #linux-sunxi
<swiftgeek> it can take of itself
<swiftgeek> *take care
<focus> ok
<focus> will do swifgeek - you been so helpful today :)
<swiftgeek> focus: when you add 25xx spi flash
<swiftgeek> make sure it has schottky diode on it's power supply
<swiftgeek> so you can reflash it externally without powering rest of the board
<focus> hmmm.. sounds nice :) - never thought of it like that
<focus> will do
<focus> also need to repair problems with serial port from PC powering up the SBC preventing a good reboot - common problem from cubieboard onwards
<focus> may be put an optical isolator on the erial connection :)
<swiftgeek> too much xD
<focus> "xD" ?
<swiftgeek> but it would be nice selling point if you implement that (if enough space)
<focus> connect direct with solder bridge or through opto isolator if chip installed - make it an option
<focus> i design those before
<willmore> You don't need the diode on the SPI NOR. You need a jumper that disables the CS line to it. If the SoC can't read it, I'll fall to the next boot device. You just put something there to say "take off the jumper so I can reflash the SPI".
<swiftgeek> focus: that would be ideal
<swiftgeek> willmore: nope you misunderstood :D
<willmore> No other boot device?
<willmore> It's allwinner, there's always FEL.
<swiftgeek> willmore: external reflashing via testclip
<willmore> No, I understood that. I'm saying don't do that.
<willmore> Let the target reflash itself.
<swiftgeek> meh
<swiftgeek> external reflashing is fun to have ;P
<swiftgeek> focus: btw you would put that diode on solder bridge anyway
<willmore> It's an unnecessary complication. What are you doing to protect the data lines?
<swiftgeek> so no diode -> regular solder bridge
<swiftgeek> willmore: no need to protect it
<willmore> Now you have a board that'll need a dozen solder bridges installed by hand.
<swiftgeek> willmore: if it's too huge bother - 0Ω links
<swiftgeek> in coper
<swiftgeek> *copper
<swiftgeek> the real problems start when you don't have even that
IgorPec has quit [Quit: Nettalk6 - www.ntalk.de]
<willmore> I like the pads for a 0ohm resistor. That way you can enable/diasable in the build list for a specific batch--just like you could populate or not specific extra chips.
<focus> thinking - may be 2 flash chips - one for the current boot, the second for alternative boot - handy for developers
<willmore> You can alwasy take the 0 ohm off and put a current shunt there.
<swiftgeek> focus: nah fel is for devel
<willmore> focus, find some way to swap between the two in software and/or a jumper and you'll make friends with developers.
<swiftgeek> focus: but you would have that on x86 boards (2 chips)
<swiftgeek> focus: this is why i mentioned solderbridge across button
<swiftgeek> for fel
<swiftgeek> bonus points for making it header for jumper
IgorPec has joined #linux-sunxi
<focus> for array design, i was going to have an extra chip that allowed reboot of the SoC and perhaps change of the boot chip - sounds naff - but handy
<swiftgeek> focus: not really for allwinner :P
<focus> remote control of reboot through rs485 messaging line
<swiftgeek> focus: boot chip is just handy to have there so you don't need to worry about having uboot in beginning of SD/eMMC
<swiftgeek> so guide for distro is shorter
<swiftgeek> focus: allwinner is already rich with alternative boot options
<swiftgeek> focus: you should probably focus more on designing bed of nails :P
<swiftgeek> so you can automate troubleshooting :P
rwmjones is now known as rwmjones|biab
<focus> just a moment..
<swiftgeek> focus: btw notice how those pads http://h5ai.swiftgeek.net/Versaloon/STM32L-DISCOVERY/16645.jpg are both solder jumpers and pads for components
rpirea has left #linux-sunxi [#linux-sunxi]
<jonkerj> IIRC those "components" are 0ohm resistors
<swiftgeek> jonkerj: could be said diode too :P
<swiftgeek> or fuse
<swiftgeek> it's a really nice gesture towards person repairing board as you don't need to worry about 0Ω in some particular package
leviathan has joined #linux-sunxi
<swiftgeek> less time spend on soldering is more time spend on debugging
<swiftgeek> focus: add RTC stuff if i didn't mention it before
xcko has quit [Remote host closed the connection]
<focus> RTC yes
<swiftgeek> focus: preferably with pad for thinkpad coin cell battery :P
xcko has joined #linux-sunxi
<swiftgeek> *connector
<focus> Reboot remote for array is done by separate low end CPU with RS485 link
<focus> one idea is that two uSD card slots
<swiftgeek> stm8s?
<focus> one slot for normal operation
<focus> second slot to wipe and reformat the disk
<focus> STM32F103C8T6
<swiftgeek> focus: 16MiB 25xx flash should be enough
<swiftgeek> focus: fine as well
hardfalcon has quit [Ping timeout: 256 seconds]
<focus> (reformat disk and install a new image grabbed from a server)
<swiftgeek> focus: yep but you can achieve that easily with just 25xx flash and sd card or emmc
<swiftgeek> focus: have uart go straight to RS485 chipie (generic uart<>rs486)
<swiftgeek> *rs485 dammit
<swiftgeek> focus: and then let uboot handle it
<swiftgeek> if AR100 is on R40 then there is also that
<swiftgeek> no need for separate stm32
<focus> AR100 ?
<swiftgeek> (i have no clue whether it exists on R40)
<focus> wow did not know that
<focus> but binary blobs
<swiftgeek> focus: no blobs :D
<swiftgeek> you can use it however you like for now :P
<swiftgeek> would be pretty neat of out-of-the-band stuff
<swiftgeek> over that rs-485
<wens> focus: you need to get the PMIC that's paired with the SoC, and follow design recommendations, like which rail should be used for what
<wens> those rails come up by default at the correct voltage when it powers on
<wens> so it automagically works :)
<swiftgeek> and sequence
<focus> yes - pmic - i think there are open source circuits out there - just copy i guess?
<swiftgeek> focus: that would be hard
<swiftgeek> it's analog/digital mixed
zerotri has quit [Ping timeout: 255 seconds]
<swiftgeek> so first step really is to have open fab xD
zerotri has joined #linux-sunxi
<swiftgeek> focus: if you look at x86 / thinkpad you will notice that there is a separate gate array to do power sequencing :P
<swiftgeek> so such PMIC made just for the allwinner soc is pretty neat thing as it saves you a lot of trouble
<swiftgeek> + it's mixed so it's really compact
<focus> hmmmp.. stick with allwinner related pmic
<focus> this AR100 - how to use?
<focus> is there a compiler for it?
<swiftgeek> focus: first confirm if it's in AR100 xD
<swiftgeek> *R40
<focus> (probably not immediately use AR100 - I plan the array and peripherals to have same STM32F103C8T6 to do the communications - too difficult to have different CPUs)
<focus> Also may be use cheaper STM32F030C8T6 or its clone GD32F030C8T6
<focus> difference is STM32F103C8T6 has USB - and I got it working with Arduino IDE :)
<swiftgeek> focus: GD32F030C8T6 should have usb too
<swiftgeek> and way bigger flash
cosm has quit [Read error: Connection reset by peer]
<swiftgeek> but not so sure about its accessibility
<focus> accessibility?
<swiftgeek> focus: well possibility to source
jbrown has quit [Ping timeout: 256 seconds]
<focus> The STM32 chips also have free AC6 Eclipse IDE gcc compiler that runs on Linux
<swiftgeek> it doesn't like GD32 has quite caught on
<swiftgeek> *doesn't look
cosm has joined #linux-sunxi
<focus> GD is China company - and they raising prices of their STM32 clones - so I think they might have caught on :))))
<swiftgeek> focus: that would be opposite if they are raising it xD
<focus> They were cheaper than ST, but now it is similar price
<focus> and the GD is faster
<swiftgeek> focus: but it's still pin and footprint compatible right ?
<focus> and 100% identical to ST - the gcc generated code, and the programmer work identically
<focus> i buy both - 100% identical
<swiftgeek> so as long as you don't depend on bigger flash it should be fine
hardfalcon has joined #linux-sunxi
<swiftgeek> focus: anyway try to not make your board overly complex ;D
<focus> it would be nice to get the Arduino IDE to work on R40 - to make it like a PCDuino - is that complicated i wonder?
<swiftgeek> focus: would be probably against common sense
<swiftgeek> xD
<swiftgeek> ah IDE itself ? sure no issues
<focus> i agree but think of the childrroooon!
fkluknav has joined #linux-sunxi
<swiftgeek> focus: and for love of flying spaghetti monster
<swiftgeek> don't use blue leds
ernestask has joined #linux-sunxi
<hanetzer> hehe. what's wrong with blue ones?
<swiftgeek> retina piercing spawns of devil xD
<silviop> mripard: i file on linux-suxi mailing list ok?
<mripard> silviop: no, the PWM authors and maintainers aren't there
<focus> I got arduino ide working on linux in R40 board no problems
<mripard> and it's the one you should be reporting it to
rwmjones|biab is now known as rwmjones
<swiftgeek> focus: i just thought for a moment you want arduino to describe R40 behaviour for shitty PLC reasons
<focus> but really i want R40 working like a arduino running the program and controlling its own own IO pins on the SBC
<swiftgeek> well that's against common sense
<swiftgeek> focus: focus on supporting NuttX then
<BenG83> please don't to another crippled 'RPi2' expansion connector :)
<BenG83> *do
<swiftgeek> yep definitely that
<swiftgeek> i hate those evil things
<silviop> mripard: i'm not shure if it is pwm_bl or sun4i_pwm module
<focus> swiftgeek: think of the childrooon! They want this!
reinforce has quit [Quit: Leaving.]
<BenG83> make an expansion header that makes most sense for the board and the interfaces you have free
<swiftgeek> focus: since you have LVDS on R40
<swiftgeek> definitely expose that
<swiftgeek> so many screens are laying around with LVDS
<swiftgeek> and i can't get cheap A20 board anymore :(
<focus> ok - LVDS - but i also want a OLED 5.5" display display done up with capacitive sensing
<silviop> I use lvds with cubiaboard 1/2 and banana pi M2 (A31s)
<mripard> silviop: then report it to both
<swiftgeek> focus: you would use DSI for that
<silviop> with old laptop /desktop lcd
elros_ has joined #linux-sunxi
<BenG83> and if I could have another wish, make the input 12V
JohnDoe_71Rus has joined #linux-sunxi
<swiftgeek> BenG83: if PMIC is used - no issue
<swiftgeek> not sure how far it goes but it's way above 5V for sure
<BenG83> AXPs can't use 12V directly
<BenG83> but with SATA on board 12V makes sense
<swiftgeek> lemme seee
<focus> I think power distribution for array is from 12 PC power supply
<swiftgeek> hmm old one was terrible indeed just 6V
jbrown has joined #linux-sunxi
<focus> also use the 5V and 12V for the hard disks
<swiftgeek> focus: please don't xD
<swiftgeek> atx connectors are way too bulky
<swiftgeek> and there are better supplies with smaller form factor and often standby voltage
<focus> ATX power supply for array - cheap
<mripard> silviop: read the page I linked
<focus> R40 has DSI interface for OLED screens?
KotCzarny_ is now known as KotCzarny
<focus> swiftgeek: once i finish the R40 board, it should be replacement for the hard to get A20 boards
<focus> after that i try my luck with a RK3399 - but not much experience with it
<KotCzarny> focus: ar100 is openrisc core that can be initialized either via uboot or loading in linux/arm
<KotCzarny> pretty much self contained and independent from arm cores
<KotCzarny> there is gcc for it and usually soc registers are documented enough to have fun with it
<KotCzarny> initially it was meant for powercontrol/suspend etc, but nowadays its unused by mainline kernel
<KotCzarny> so one can treat it as a separate cpu
<swiftgeek> KotCzarny: but does it exist in R40?
<focus> KotCzarny: thank you i will research this - if it has gcc support, and it can interface through the SoC pins for a serial link, i can then use it to communicate through a RS485 link to command it to do things when the board is an array
<silviop> mripard:ok i added the mantainer to the bug i filed with bugzilla
<KotCzarny> focus: it can do pretty much everything arm cores can
<focus> wow
<mripard> silviop: again, no one reads bugzilla
<mripard> send an email
<swiftgeek> focus: this is why no blobs allowed
<KotCzarny> switftgeek: according to http://linux-sunxi.org/AR100#Blob_versions there is no blob for r40
<KotCzarny> so there is high chance it's not included there
<focus> blobs disgusting : most of my troubles for any project begins and ends in a blob if there is one in there
<KotCzarny> bbl
<swiftgeek> focus: sure but the realization that everything is a blob is fun
<swiftgeek> suddenly even trackpoint on thinkpad is blob ;D
<focus> KotCzarny: yeah no worries - the iniatial plan was to use a cheap STM32F030C8T6 or a STM32F103C8T6 to do the communications
<swiftgeek> focus: adding stuff to BOM is a cost too
<focus> switgeek: plan is to make maximum options with an open source kicad design, and let everyone customize by removing stuff
<focus> kicad so powerful now
<swiftgeek> yep but that would be just bom hopefully :P
<swiftgeek> not pads
<focus> can be both - sometimes a smaller board needed
<swiftgeek> then repairability suffers a lot
<focus> minimal board - pmic, ram, soc, and couple of pads for power, fpc for serial + some IO
<swiftgeek> focus: fpc for serial?
<swiftgeek> focus: if you want connector use 2.5mm jack
<focus> fpc connector - say 40 pin with everything on it including serial connector
<swiftgeek> yep but uart is sacred
<focus> so the board footprint is very small
<swiftgeek> should be header
<swiftgeek> or 2.5mm jack
<focus> i do lots of versions :)
<focus> one big one, then remove some big items, and a minimalist one
<swiftgeek> focus: uart is pretty critical to have
<swiftgeek> accessible
<focus> yes - hmmm... 3 pins or pads - doable
<swiftgeek> definitely pins
Putti has quit [Ping timeout: 240 seconds]
<focus> 3 pins it is
<swiftgeek> if it's not that or jack it will end being uart over sdcard
Putti has joined #linux-sunxi
<focus> swiftgeek: interesting
<focus> got a diagram?
<swiftgeek> focus: ie. you won't use some ffc conenctor for uart
<swiftgeek> as sane person
<focus> i use fpc a lot since they became high current and cheap - now its easy to connect everything by just fpc - times move on!
<focus> the off the shelf fpc can do 1A easy now
<swiftgeek> sure
<swiftgeek> but uart is sacred
<focus> i vote to keep it sacred :)
anarsoul has quit [Ping timeout: 268 seconds]
<swiftgeek> sometimes it makes sense to have it as ffc, like in notebooks sometimes
<swiftgeek> so you can assemble whole thing and sneak out uart if layout doesn't allow for better placement
<focus> (may be easiest to have both worlds - fpc + 3 pins for the existing USB UARTs out there)
<swiftgeek> if you like stubs xD
<swiftgeek> focus: remember you have multiple uarts and whatnot
<swiftgeek> dedicated header for bootloader is a must :P
Ixnus has joined #linux-sunxi
<focus> yes multiple uarts
<swiftgeek> focus: in development stage of your x86 notebook there was always rs232 on it
<swiftgeek> at some point somehow
<focus> yes all my boards of all descriptions have UART
<swiftgeek> usually superio connecting via header :P
putti_ has joined #linux-sunxi
<focus> lately i put uarts through optic isolator - because building big systems is a risk with lots of boards connected - some running at high voltages
<swiftgeek> sometimes they are good at hiding it :P
<swiftgeek> (under express card slot here)
Putti has quit [Ping timeout: 260 seconds]
IlyaM has quit [Quit: Textual IRC Client: www.textualapp.com]
anarsoul has joined #linux-sunxi
<focus> don't understand why people do that - mark clearly: Debug Port!
<swiftgeek> focus: it's clearly documented in schematics
<swiftgeek> but placement is not in schematics ;P
<focus> ah
<swiftgeek> any schematics for R40 yet?
dev1990 has quit [Remote host closed the connection]
<BenG83> BPi M2U probably
<focus> a long time ago i downloaded a set - have to find them again
<focus> ah - the download links work for schematic diagram from gitbook site
reinforce has joined #linux-sunxi
<swiftgeek> would be nice to see reference schematics from allwinner
Ixnus has quit [Ping timeout: 260 seconds]
<swiftgeek> but at least it has AXP221S used so there is that
<Strontium> icenowy[m]: i am trying to build your TVE code (tve-v2 branch) for a OPi Zero (Armbian) 4.14 Kernel. Other then removing things the Armbian kernel already seems to include and changing at to @ in DTSI files, it all was reasonably easy to port forward.
jeandet has quit [Ping timeout: 255 seconds]
<Strontium> However, it doesn't do anything, and I am sure thats my fault, my question is, is the best code for me to play with?
juri_ has quit [Ping timeout: 240 seconds]
a|3x has quit [Ping timeout: 255 seconds]
jeandet has joined #linux-sunxi
Ixnus has joined #linux-sunxi
rwmjones is now known as rwmjones|mtg
<focus> page79 of R40 datasheet V0.1 has pin map of BGA - I think i can start working on a schematic symbol for the bga today
a|3x has joined #linux-sunxi
f0xx has joined #linux-sunxi
juri_ has joined #linux-sunxi
putti_ is now known as Putti
BenG83 has quit [Remote host closed the connection]
Ixnus has quit [Ping timeout: 260 seconds]
cnxsoft has quit [Quit: cnxsoft]
Ixnus has joined #linux-sunxi
<Ixnus> focus: contact Olimex ? https://fosdem.org/2018/schedule/event/oshw_laptop/ they like open source, KiCaD , sunxi, sata :)
<focus> tsevtan?
Ixnus has quit [Ping timeout: 260 seconds]
<focus> olimex nice - i download some of their stuff before and buy their boards
<focus> wow - making their own open source laptop
silviop has quit [Quit: ChatZilla 0.9.93 [SeaMonkey 2.49.1/20171015235623]]
Ixnus has joined #linux-sunxi
<Ixnus> yes, Tsvetan.
<Ixnus> first batch of the laptop already shipped, Just contact them with what you are up to.
<Ixnus> Good luck with your project.
Ixnus has quit [Quit: Page closed]
juri_ has quit [Remote host closed the connection]
juri_ has joined #linux-sunxi
putti_ has joined #linux-sunxi
Putti has quit [Disconnected by services]
putti_ is now known as Putti
<focus> Tsvetan knows me from Cubieboard days :)
<focus> Ixnus: Yes may be cooperation.
tllim has joined #linux-sunxi
juri_ has quit [Ping timeout: 255 seconds]
<Strontium> icenowy[m]: I have determined that "sun4i_tv_probe" is being called, but "sun4i_tv_bind" is not subsequently being called, so i guess thats my problem. Not sure what cause/blocks the bind being called.
<swiftgeek> apparently AXP221s can go to 10V
<swiftgeek> so that's not that bad
<swiftgeek> oh nvm
itdnhr_ has quit [Quit: leaving]
<swiftgeek> that was Absolute max my chinese was crap
<swiftgeek> xD
itdnhr has joined #linux-sunxi
<swiftgeek> still 6.3V :(
<focus> 5V 30A from ATX for array ought to be enough
<focus> I was planning battery back up in case power off by mistake
<focus> 18650 / 26650 batteries
<wens> lkcl mentioned ddr3 ram supplies being hoarded by apple lol
<wens> now it's passed CNY, wonder if anything changed
<focus> RAM is seriously short supply
tl_lim has joined #linux-sunxi
<focus> Moore's law not scaling - demand higher - but 2D manufacturing is taking up all capacity
tllim has quit [Ping timeout: 265 seconds]
BenG83 has joined #linux-sunxi
f0xx has quit [Ping timeout: 252 seconds]
BenG83 has quit [Remote host closed the connection]
<swiftgeek> focus: 5V 30A, add some contact resistance...
miasma has quit [Ping timeout: 256 seconds]
xyntrix has joined #linux-sunxi
juri_ has joined #linux-sunxi
maz_ is now known as maz
rwmjones|mtg is now known as rwmjones
dddddd has joined #linux-sunxi
miasma has joined #linux-sunxi
<megi> I noticed that with 4.16-rc1 LVDS output on A83T doesn't work (there's output but it's garbled)
<megi> I compared some older patches for LVDS with the mainstreamed ones and this change is missing from mainstream https://github.com/megous/linux/commit/41eba1ddc9a9be8b905ea2770d413900406226d5
<megi> It's present in the older version of the patches and it seems to fix the issue
f0xx has joined #linux-sunxi
<megi> I don't know what it does though and the harcoded register value doesn't inspire much confidence that it will work in a general case
<mripard> megi: send an email
<megi> Ok
BenG83 has joined #linux-sunxi
GPLExtek has joined #linux-sunxi
GPLExtek has quit [Client Quit]
xerpi has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
fkluknav has quit [Ping timeout: 248 seconds]
matthias_bgg has quit [Quit: Leaving]
xcko has quit [Ping timeout: 240 seconds]
return0e_ has joined #linux-sunxi
xerpi has quit [Quit: Leaving]
return0e has quit [Ping timeout: 252 seconds]
xcko has joined #linux-sunxi
fkluknav has joined #linux-sunxi
chlorine has joined #linux-sunxi
msimpson has quit [Quit: Leaving]
chlorine_ has quit [Ping timeout: 276 seconds]
chlorine has quit [Ping timeout: 256 seconds]
fkluknav has quit [Ping timeout: 256 seconds]
megi has quit [Ping timeout: 256 seconds]
f0xx has quit [Ping timeout: 260 seconds]
basxto_ has quit [Remote host closed the connection]
aib has left #linux-sunxi ["Good day, sir!"]
aib has joined #linux-sunxi
chlorine has joined #linux-sunxi
chlorine_ has joined #linux-sunxi
chlorine has quit [Ping timeout: 264 seconds]
tom_nov has quit [Quit: Leaving]
clemens3 has joined #linux-sunxi
megi has joined #linux-sunxi
BenG83 has quit [Remote host closed the connection]
BenG83 has joined #linux-sunxi
tl_lim has quit [Ping timeout: 276 seconds]
tl_lim has joined #linux-sunxi
yann|work has quit [Ping timeout: 240 seconds]
focus has quit [Quit: Leaving]
raspo666 has quit [Quit: Leaving]
msimpson has joined #linux-sunxi
msimpson has quit [Read error: Connection reset by peer]
lemonzest has quit [Quit: Quitting]
lemonzest has joined #linux-sunxi
chlorine_ has quit [Ping timeout: 248 seconds]
dev1990 has joined #linux-sunxi
wasutton3 has joined #linux-sunxi
lemonzest has quit [Quit: Quitting]
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/]
Guest3431 has joined #linux-sunxi
hanni76 has joined #linux-sunxi
duracrisis has quit [Quit: Remember, smarter not harder!]
elros_ has quit [Quit: Communi 3.5.0 - http://communi.github.com]
<Guest3431> allwinner chips are fully open right? no blobs? if i dont care about 3D accel.
<plaes> Guest3431: depends..
<Guest3431> do you know of a fully open hard-firm-software chip, no scruples? or are the Allwinner's my best bet
<plaes> "no blobs" is somewhat gray area..
<plaes> there's boot rom and newer chips also have AR100
f0xx has joined #linux-sunxi
<Guest3431> plaes, my primary use case is as an SPI programmer, but if i can't make a purely ethical purchase anyway, better look for something cheap, i guess..
<BenG83> as BROM can be dumped and AR100 is not used, I consider most of my Allwiner devices blob free for the SoC :P
<plaes> Guest3431: why not just use a whatever microcontroller that has SPI support and use UART or USB for communications
<Guest3431> i am searXing as i go along here, still a noob, what would you recommend me plaes ?
<plaes> well, stm32f103-based devices are cheap.. or just use esp32 with micropython
<anarsoul> embed-3d: hey, do you have any patches for a64 thermal sensor?
Ntemis has joined #linux-sunxi
<Guest3431> thanks
<hanni76> anarsoul: he is working on it, not finished yet
xcko has quit [Ping timeout: 255 seconds]
xcko has joined #linux-sunxi
vagrantc has joined #linux-sunxi
Wizzup has quit [Ping timeout: 255 seconds]
Wizzup has joined #linux-sunxi
ernestask has quit [Quit: ernestask]
Wizzup has quit [Ping timeout: 264 seconds]
Wizzup has joined #linux-sunxi
hanni76 has quit [Remote host closed the connection]
BenG83 has quit [Remote host closed the connection]
BenG83 has joined #linux-sunxi
Wizzup has quit [Ping timeout: 255 seconds]
BenG83 has quit [Remote host closed the connection]
BenG83 has joined #linux-sunxi
Wizzup has joined #linux-sunxi
clemens3 has quit [Ping timeout: 240 seconds]
f0xx has quit [Ping timeout: 256 seconds]
lrusak has quit [Read error: Connection reset by peer]
TEKrantz has quit [Read error: Connection reset by peer]
lrusak has joined #linux-sunxi
TEKrantz has joined #linux-sunxi
<swiftgeek> i'm probably going too far https://lut.im/gallery#I5laYtG8dv/kdTqLLxjVbTXes7q.jpg,sIhvSqt0hQ/qk0nLwe51jXfxc8k.jpg,L9hMyGQjnK/SgXPfCWJX4LtPPJK.jpg,tsEM4ZR2kF/WcGAng31Gb7KNy0X.jpg
<swiftgeek> (that clad board is for exposing SPI)
<KotCzarny> i kinda hate sites unusable without js
<KotCzarny> nice hack though
hardfalcon has quit [Quit: Leaving.]
<swiftgeek> i guess i will be more careful next time when reballing eMMC
<swiftgeek> because wiring that up took more than reballing but i don't think eMMC chip works anymore xD
hardfalcon has joined #linux-sunxi
GrimKriegor has quit [Read error: Connection reset by peer]
leviathan has quit [Remote host closed the connection]
fkluknav has joined #linux-sunxi
GrimKriegor has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
hardfalcon has quit [Ping timeout: 240 seconds]
IgorPec has quit [Ping timeout: 252 seconds]
pgreco has quit [Quit: Leaving.]
yann|work has joined #linux-sunxi
Putti has quit [Ping timeout: 256 seconds]
hardfalcon has joined #linux-sunxi
xcko has quit [Ping timeout: 260 seconds]
xcko has joined #linux-sunxi
TEKrantz has quit [Ping timeout: 240 seconds]
SP7RT has quit [Ping timeout: 256 seconds]
SP7RT has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
<ElBarto> does anyone here saw that : https://neutis.io/ ?
<jernej> mripard: wens: with current A83T and WIP H3 HDMI driver I get vblank timeouts, but only if monitor is connected at boot
<jernej> if it is not, everything works as expected
<jernej> here is dmesg: https://pastebin.com/raw/kz02AxFA
<jernej> I also noticed, that A83T HDMI driver is the first one sun4i drm driver which has interrupts for hot plug detection
<jernej> I think that may have something to do with this
<jernej> any ideas?
<jernej> additionally, not all monitors causes that issue
<BenG83> ElBarto, neat, I guess I will go visit them at Embedded World
<swiftgeek> have somebody added volume keys to uboot as keys?
<BenG83> as in KEYADC driver?
<swiftgeek> ii guess yes because they are done with ADC
TEKrantz has joined #linux-sunxi
TEKrantz has quit [Read error: Connection reset by peer]
<ElBarto> BenG83: keep us informed then :)
TEKrantz has joined #linux-sunxi
SP7RT has quit [Ping timeout: 240 seconds]