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
<willmore> FWIW, this is the one I printed: https://www.thingiverse.com/thing:1174137
fugitive has quit [Ping timeout: 260 seconds]
fugitive has joined #linux-sunxi
Ultrasauce has joined #linux-sunxi
afaerber has joined #linux-sunxi
fugitive has quit [Ping timeout: 258 seconds]
_whitelogger has joined #linux-sunxi
ganbold has joined #linux-sunxi
popolon has quit [Quit: WeeChat 1.9.1]
ninolein_ has quit [Ping timeout: 258 seconds]
ninolein has joined #linux-sunxi
lurchi__ is now known as lurchi_
Hao has joined #linux-sunxi
JBrooksBSI has quit [Ping timeout: 260 seconds]
anarsoul|2 has quit [Ping timeout: 258 seconds]
lurchi_ is now known as lurchi__
Macer_ has joined #linux-sunxi
lkcl has quit [Ping timeout: 240 seconds]
delarge has quit [Ping timeout: 240 seconds]
delarge has joined #linux-sunxi
lkcl has joined #linux-sunxi
Macer has quit [Ping timeout: 260 seconds]
Macer_ is now known as Macer
cnxsoft has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
<smaeul> ullbeking: I got the official case for the opi pc2 and it worked fine
<smaeul> there's only one way to put it in though
jbrown has quit [Ping timeout: 240 seconds]
Andy-D_ has joined #linux-sunxi
Andy-D has quit [Ping timeout: 255 seconds]
IgorPec has joined #linux-sunxi
Andy-D_ has quit [Ping timeout: 260 seconds]
[7] has quit [Ping timeout: 255 seconds]
TheSeven has joined #linux-sunxi
dave0x6d has quit [Quit: Connection closed for inactivity]
Andy-D_ has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 240 seconds]
TheSeven has quit [Ping timeout: 258 seconds]
TheSeven has joined #linux-sunxi
anarsoul has quit [Remote host closed the connection]
Hao has quit [Ping timeout: 260 seconds]
awais has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 240 seconds]
libv has quit [Ping timeout: 260 seconds]
foxx_ has joined #linux-sunxi
Andy-D_ has quit [Ping timeout: 260 seconds]
anarsoul has joined #linux-sunxi
libv has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
a|3x has quit [Ping timeout: 264 seconds]
cnxsoft has quit [Read error: Connection reset by peer]
robogoat has quit [Ping timeout: 258 seconds]
robogoat has joined #linux-sunxi
<KotCzarny> 2x eth?
<plaes> doh.. there are already at least two SOM standards...
<KotCzarny> i wonder why they dont add sodimm slot, is ram size hardcoded in soc?
<anarsoul> KotCzarny: that's not trivial
<plaes> routing ddr is hard
<KotCzarny> there are quite a lot of systems with ram on the slot
<plaes> but yeah.. there are somewhat well-established standard called SMARC
libv has quit [Ping timeout: 260 seconds]
Mr__Anderson has joined #linux-sunxi
paintenzero has joined #linux-sunxi
<paintenzero> Hello! Does somebody use 4.x kernel on OrangePi (Allwinner H3)?
Mr__Anderson has quit [Quit: Leaving.]
cnxsoft has joined #linux-sunxi
leviathanch has joined #linux-sunxi
tkaiser has joined #linux-sunxi
libv has joined #linux-sunxi
<montjoie> yes
<montjoie> but your question is unprecise
<montjoie> (many orangepi) (many 4.x)
guest2 has joined #linux-sunxi
<guest2> Hi everyone
aleksandr has joined #linux-sunxi
<guest2> Anybody knows what is the reason that mainline sunxi-uboot allows only half a SRAM for SPL?
<KotCzarny> maybe they steal it for atf
<guest2> I tried to compile the u-boot and there is linker script with .sram section which is only about 0x5fea in size
<guest2> what is atf?
<KotCzarny> something for arm64
<KotCzarny> arm trusted firmware
<guest2> ok, but I have chosen configuration for BPI-M2-ULTRA (R40) which is 32bit
diego_r has joined #linux-sunxi
<KotCzarny> i think montjoie might be able to answer that
<montjoie> I do not know well gmac on A20
<KotCzarny> isnt it served by the same driver as the one in h3?
<montjoie> no
<montjoie> its dwmac-sunxi not dwmac-sun8i:)
<KotCzarny> ahm
<montjoie> A TRAP!
<KotCzarny> sun7i-dwmac even
<KotCzarny> (at least in 4.9)
<montjoie> as I read the mail, its clearly a pinctrl problem (out of my knowledge)
<tkaiser> guest2: If you work on something for R40 you're pretty much out of luck anyway. Either choose the 'legacy combo' https://github.com/dan-and/BPI-M2U-bsp or use both mainline u-boot and kernel (and be prepared that not much will work)
<montjoie> the filename is dwmac-sunxi.c but yeah the modulename is sun7i-dwmac
<wens> The A20 has the GMAC (dwmac-sun7i) and EMAC (sun4i-emac), and it's possible to route them to different pins
<wens> the "shared clock" thing is bogus
<tkaiser> wens: Why?
yann has quit [Ping timeout: 240 seconds]
<guest2> In case of uboot-sunxi - can I increase in the linker script the amount of SRAM memory for .sram section without any side effects?
<wens> tkaiser: nothing is shared, so I have no idea what he's talking about
<wens> unless you count the ahb bus
<tkaiser> wens: Ok, maybe some sort of 'people love simple explanations/excuses... even if wrong' ;)
<tkaiser> 'We did not figure out how to do it' sounds differently :)
<wens> the EMAC pins do conflict with commonly used GPIO pins, so one has to reserve them when doing the design
<wens> and about the A64 PMIC, I believe regulator support is in
<wens> MoeIcenowy is the main (and possibly only) person pushing A64 support
iamfrankenstein has joined #linux-sunxi
<tkaiser> wens: Unfortunately for an A64 laptop there is a bit more to consider than basic PMIC support. Most important one: prevent things catching fire (battery charging logic)
cnxsoft has quit [Read error: Connection reset by peer]
<wens> MoeIcenowy has something in the works
<wens> my A64 boards are still lying around, untouched and unused
guest2 has quit [Ping timeout: 260 seconds]
<tkaiser> I know but still... and Olimex' laptop wouldn't sell anyway with just 1GB DRAM and being too expensive...
cnxsoft has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
<tkaiser> wens: Let's see what Tsvetan has to answer to your rectification :)
<KotCzarny> best comment from olimex:
<KotCzarny> For all our further boards we will be conservative and make boards only when we see good linux support.
<KotCzarny> When we started the laptop A64 was relatively new chip. We were ready with the hardware approx one year after we started, but A64 user experience was worse than A20 for almost one more year which prevent us to release the laptop! This is what happens when you use new chips with missing Linux support, you can make toy running Android but nothing which you can actually use with Linux
<wens> *sigh
<Wizzup> eh
msimpson has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 248 seconds]
matthias_bgg has quit [Quit: Leaving]
matthias_bgg has joined #linux-sunxi
lemonzest has joined #linux-sunxi
Putti has quit [Ping timeout: 248 seconds]
popolon has joined #linux-sunxi
<Pe3ucTop> Hello, could anybody comment on "sunxi-nand-image-builder" , question about scramble data - what for it is used ? Could data scrambling be excluded for --boot0 generation ?
<Pe3ucTop> also - is one copy of boot0 block is enough or all N-copies must be present ??
yann has joined #linux-sunxi
LargePrime has quit [Ping timeout: 248 seconds]
<Pe3ucTop> Also - is there posibility to dump BROM and check for eGON parameters it looking for ??
chlorine has joined #linux-sunxi
<KotCzarny> someone did it in the past
chlorine_ has joined #linux-sunxi
chlorine has quit [Ping timeout: 240 seconds]
<Pe3ucTop> KotCzarny: thanks.
LargePrime has joined #linux-sunxi
<tkaiser> wens: Tsvetan pinged you ;)
BenG83 has joined #linux-sunxi
<wens> unfortunately I don't have any answers :(
Ntemis has joined #linux-sunxi
lezsakdomi has joined #linux-sunxi
<tkaiser> wens: I believe you and him are using the term 'clock' with different meaning anyway... and for me personally the attempts to use EMAC+GMAC in parallel comes a bit (too) late now
<wens> tkaiser: he's referring to the external RX CLK from the PHYs, which Stefan's email actually mentions
BenG83 has quit [Ping timeout: 240 seconds]
muvlon has joined #linux-sunxi
a10 has joined #linux-sunxi
fugitive has joined #linux-sunxi
<KotCzarny> brief process tag thread raw time threadtime long
<KotCzarny> oops.
a10 has quit [Quit: Page closed]
fugitive has quit [Ping timeout: 240 seconds]
<MoeIcenowy> KotCzarny: SODIMM have 64-bit data lines
<MoeIcenowy> but embedded memory controllers are nowadays usually 32-bit
<KotCzarny> 64bit chips use the same mem controller or are closer to year 2000 already?
<MoeIcenowy> wens: I think according to mikey from sinovoip, their experiments on dual-MAC A20 failed
<MoeIcenowy> KotCzarny: yes
<MoeIcenowy> or sometimes dual-channel 32-bit
sr-digitronic has joined #linux-sunxi
<MoeIcenowy> but dual-channel 32-bit still cannot fit SODIMM as SODIMM is designed for single-channel 64-bit
<KotCzarny> it's a pity. also from mem bandwith pov
<MoeIcenowy> e.g. A31 (without s), A80, RK3399 uses dual-channel 32-bit
<beeble> why? dual 32bit controller makes more sense for such a platform then a single channel 64bit
<MoeIcenowy> P.S. there's something to mention: LPDDR3 chips are usually directly 32-bit, and as some LPDDR3 are designed to PoP, the SoC must have also 32-bit memory controller
<beeble> KotCzarny: don't compare a x86 machine with multirank multichannel 64bit with a soc targeted for embedded
<KotCzarny> ahhum.
<KotCzarny> so we would never see such option.
<MoeIcenowy> some vendors make special 32-bit SODIMMs
<MoeIcenowy> for embedded
<MoeIcenowy> but they'
<MoeIcenowy> they're usually specially tagged as "customized" or "embedded"
<wens> MoeIcenowy: sounds like something was routed incorrectly
<MoeIcenowy> there's a document called "IDT_79RC32438_APN_20031029.pdf" which mentioned some possibility to use 64-bit DRAM on 32-bit controller
<MoeIcenowy> It's part of the application note of the IDT RC32438 chip
<MoeIcenowy> and https://community.nxp.com/thread/434192 the thread mentions this doc
<MoeIcenowy> P.S. it seems that board vendors now start to use LPDDR3 on AW chip designs
yann-kaelig has joined #linux-sunxi
<MoeIcenowy> for example, recent Pine family boards and the Orange Pi 3 Plus board use LPDDR3
<MoeIcenowy> and memory bandwidth is also going to be a problem on these chips, as they now adds 4K support to these hardware codec
<beeble> MoeIcenowy: muxing the datalines as described in that appnote for ddr3 is a bad idea. you will have a lot of fun adapting the timings. after you found muxes fast enough and placing/routing them in the layout
<willmore> pleas: https://xkcd.com/927/
leviathanch has quit [Read error: Connection reset by peer]
reinforce has joined #linux-sunxi
nvz has quit [Ping timeout: 248 seconds]
nvz has joined #linux-sunxi
nvz has quit [Ping timeout: 248 seconds]
nvz has joined #linux-sunxi
dave0x6d has joined #linux-sunxi
lezsakdomi has quit [Quit: Leaving]
leviathanch has joined #linux-sunxi
chlorine has joined #linux-sunxi
chlorine_ has quit [Ping timeout: 255 seconds]
aleksandr has quit [Remote host closed the connection]
aleksandr has joined #linux-sunxi
fl_0 has quit [Ping timeout: 264 seconds]
fl_0 has joined #linux-sunxi
<wens> plaes: minor issue about the a10/a20 ccu driver
<wens> plaes: you force ahb to use pll6 as it's parent, but the list of parents for ahb for a20 doesn't have them
<wens> hmm, it's just the comment that's misleading
aleksandr has quit [Remote host closed the connection]
aleksandr has joined #linux-sunxi
chlorine has quit [Remote host closed the connection]
chlorine_ has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 246 seconds]
BenG83 has joined #linux-sunxi
<paintenzero> montjoie: Do you have all cpu cores online? The problem is I have only 1 core available on any 4.x kernel I compiled :( How do you make your kernel run all 4 cores?
<MoeIcenowy> paintenzero: what SoC
<paintenzero> MoeIcenowy: Allwinner H2+
<MoeIcenowy> please check your u-boot
<MoeIcenowy> and boot mode
<tkaiser> paintenzero: especially if you used before legacy kernel with same config :)
<paintenzero> MoeIcenowy: could you please tell what should i check? :)
<MoeIcenowy> your boot.scr
<paintenzero> MoeIcenowy: but what should i change?
<MoeIcenowy> check if it sets bootm_boot_mode
<MoeIcenowy> if it's set, change the value to "nonsec"
<MoeIcenowy> to boot legacy kernel it should be "sec"
<paintenzero> hmm, I don't have any bootm_boot_mode
<paintenzero> and the legacy kernel is booted ok with it :/
<MoeIcenowy> what's your u-boot version
<MoeIcenowy> if legacy kernel boots ok, mainline ones will be not ok ;-)
<paintenzero> oh, pardon me! I do have bootm_boot_mode=sec. I will try to change it
qeed has quit [Quit: Leaving]
<paintenzero> Yeah, it is working! Thank you!!
<sr-digitronic> Are there any known issues with combination of A20, LCD, mainline U-Boot and legacy kernel? I try to display a bootlogo with 2017.07, but as soon as linux starts, the lcd output gets corrupted
<MoeIcenowy> it's normal ;-)
jelly-home is now known as jelly
jbrown has joined #linux-sunxi
Hao has joined #linux-sunxi
fkluknav has joined #linux-sunxi
<sr-digitronic> does that work beter with mainline linux, does that even support LCD? (I do not understand the matrix in the wiki completely)
aleksandr has quit [Remote host closed the connection]
Leepty has quit [Ping timeout: 258 seconds]
aleksandr has joined #linux-sunxi
tkaiser has quit [Ping timeout: 260 seconds]
aleksandr has quit [Ping timeout: 240 seconds]
Leepty has joined #linux-sunxi
aleksandr has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
aleksandr has quit [Remote host closed the connection]
aleksandr has joined #linux-sunxi
BenG83 has quit [Remote host closed the connection]
BenG83 has joined #linux-sunxi
aleksandr has quit [Ping timeout: 240 seconds]
chlorine has joined #linux-sunxi
IgorPec has quit [Ping timeout: 258 seconds]
tkaiser has joined #linux-sunxi
mkid has quit [Remote host closed the connection]
mkid has joined #linux-sunxi
chlorine_ has quit [Ping timeout: 264 seconds]
SP7RT has joined #linux-sunxi
mzki has quit [Quit: leaving]
awais has quit [Ping timeout: 258 seconds]
fugitive has joined #linux-sunxi
mzki has joined #linux-sunxi
chlorine has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
chlorine_ has joined #linux-sunxi
cnxsoft has quit [Quit: cnxsoft]
Ntemis has quit [Remote host closed the connection]
chlorine has quit [Ping timeout: 240 seconds]
Ntemis has joined #linux-sunxi
nvz has quit [Ping timeout: 260 seconds]
nvz has joined #linux-sunxi
BenG83 has quit [Ping timeout: 240 seconds]
dave0x6d has quit [Quit: Connection closed for inactivity]
matthias_bgg has joined #linux-sunxi
chlorine has joined #linux-sunxi
IgorPec has joined #linux-sunxi
chlorine_ has quit [Ping timeout: 258 seconds]
aleksandr has joined #linux-sunxi
nvz has quit [Ping timeout: 240 seconds]
nvz has joined #linux-sunxi
afaerber has quit [Ping timeout: 258 seconds]
afaerber has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
SP7RT_ has joined #linux-sunxi
SP7RT has quit [Ping timeout: 255 seconds]
jernej has joined #linux-sunxi
guest2 has joined #linux-sunxi
<guest2> Hi
<guest2> I'm trying to write simple bare-metal app for Allwinner R40 which should generate some messages via UART0, and I noticed ind pdf doc that there are 3 registers with the same offset 0x0:
<guest2> UART_RBR, UART_THR and UART_DLL
<guest2> is this some kind of misprint in doc?
<guest2> How 3 registers can have the same offset?
chlorine has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
<guest2> Maybe the role of this offset 0x0 is changing depends on some other settings?
chlorine has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
<freemangordon> KotCzarny: you were right, thanks, USB OTG needs at least one gadget loaded
<wens> guest2: the description already says what conditions it is valid, in blue text even
<freemangordon> Wizzup: parazyd: ^^^
<wens> guest2: and it's really just a standard 8250 UART
<Wizzup> freemangordon: why do you put it otg though?
<Wizzup> Don't you want it in host mode?
<freemangordon> Wizzup: no
<Wizzup> ok
<freemangordon> 1st - this is the default
<freemangordon> 2nd - I would like to be able to expose it as mass storage. Some day :)
<Wizzup> I usually just set dr_mode="host" and also set the driver to host in the kernel. I guess for charging that's a pita
<Wizzup> exposing it as mass storage is pretty simple actually
<freemangordon> while being a host?
<Wizzup> no
<Wizzup> :)
<KotCzarny> fmg: you can still leave it in otg mode (which will detect what is connected)
tkaiser has quit [Ping timeout: 248 seconds]
<KotCzarny> though i haven't tried how well it works
<Wizzup> if you use an otg cable it should be ok
nvz has quit [Ping timeout: 248 seconds]
nvz has joined #linux-sunxi
tkaiser has joined #linux-sunxi
aleksandr has quit [Remote host closed the connection]
Andy-D_ has joined #linux-sunxi
chlorine_ has joined #linux-sunxi
chlorine has quit [Ping timeout: 240 seconds]
SP7RT_ has quit [Ping timeout: 246 seconds]
fugitive has quit [Read error: Connection reset by peer]
fugitive has joined #linux-sunxi
Hao has quit [Ping timeout: 260 seconds]
fkluknav has quit [Ping timeout: 240 seconds]
vagrantc has joined #linux-sunxi
jernej has quit [Ping timeout: 248 seconds]
iamfrankenstein has joined #linux-sunxi
aalm has quit [Ping timeout: 240 seconds]
SP7RT has joined #linux-sunxi
yann has quit [Ping timeout: 240 seconds]
msimpson has quit [Quit: Leaving]
Andy-D_ has quit [Ping timeout: 248 seconds]
guest2 has quit [Quit: Page closed]
iamfrankenstein has quit [Ping timeout: 255 seconds]
lurchi_ has quit [Remote host closed the connection]
lurchi_ has joined #linux-sunxi
lurchi_ is now known as lurchi__
anarsoul|2 has joined #linux-sunxi
tkaiser has quit [Ping timeout: 264 seconds]
a|3x has joined #linux-sunxi
fkluknav has joined #linux-sunxi
dev1990 has joined #linux-sunxi
tkaiser has joined #linux-sunxi
sr-digitronic has quit [Remote host closed the connection]
scream has joined #linux-sunxi
chlorine has joined #linux-sunxi
chlorine_ has quit [Ping timeout: 240 seconds]
nvz has quit [Remote host closed the connection]
Andy-D_ has joined #linux-sunxi
netlynx has joined #linux-sunxi
SP7RT has quit [Ping timeout: 264 seconds]
SP7RT has joined #linux-sunxi
foxx_ has quit [Ping timeout: 240 seconds]
lemonzest has quit [Remote host closed the connection]
paulk-gagarine has quit [Ping timeout: 248 seconds]
matthias_bgg has quit [Quit: Leaving]
ganbold has quit [Ping timeout: 248 seconds]
Mr__Anderson has joined #linux-sunxi
Andy-D_ has quit [Ping timeout: 240 seconds]
foxx_ has joined #linux-sunxi
tkaiser has quit [Quit: jIRCii - http://www.oldschoolirc.com]
fugitive has quit [Read error: Connection reset by peer]
fugitive has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
iamfrankenstein1 has joined #linux-sunxi
alsy has joined #linux-sunxi
alsy is now known as asyring
<asyring> Net147: when will you publish your *20
iamfrankenstein has quit [Ping timeout: 240 seconds]
iamfrankenstein1 is now known as iamfrankenstein
SP7RT has quit [Ping timeout: 240 seconds]
<asyring> A20 drm drivers upstream? 4.15?
Andy-D_ has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
yann has joined #linux-sunxi
jernej has joined #linux-sunxi
aalm has joined #linux-sunxi
LargePrime has quit [Ping timeout: 255 seconds]
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
MikeyG has quit [Ping timeout: 248 seconds]
BenG83 has joined #linux-sunxi
BenG83 has quit [Remote host closed the connection]
MikeyG has joined #linux-sunxi
foxx_ has quit [Ping timeout: 258 seconds]
yann-kaelig has quit [Quit: Leaving]
anarsoul|2 has quit [Remote host closed the connection]
anarsoul|2 has joined #linux-sunxi
fkluknav has quit [Ping timeout: 258 seconds]
chomwitt has joined #linux-sunxi
jernej has quit [Ping timeout: 248 seconds]
asyring has quit [Remote host closed the connection]
foxx_ has joined #linux-sunxi
foxx_ has quit [Ping timeout: 240 seconds]
<Net147> asyring: not sure as I have been busy with other things. I think plaes was going to pick up and continue the work.
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
Mr__Anderson has quit [Quit: Leaving.]
libv has quit [Ping timeout: 260 seconds]
libv has joined #linux-sunxi
IgorPec has quit [Ping timeout: 248 seconds]
leviathanch has quit [Remote host closed the connection]
scream has quit [Remote host closed the connection]
fugitive has quit [Ping timeout: 260 seconds]
_hp197 has joined #linux-sunxi
hp197 has quit [Ping timeout: 258 seconds]
jstein has quit [Remote host closed the connection]
fugitive has joined #linux-sunxi
_hp197 has quit [Ping timeout: 248 seconds]
freemangordon has quit [Ping timeout: 248 seconds]
chomwitt has quit [Ping timeout: 264 seconds]
fugitive has quit [Ping timeout: 248 seconds]
[TheBug] has quit [Ping timeout: 248 seconds]
[TheBug] has joined #linux-sunxi
<camh> felboot can use a uboot boot script or uEnv environment text file. Is it possible to use a binary environment file in the same format as written to an SD card?