rellla 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 - *only registered users can talk*
sunilmohan has joined #linux-sunxi
sunilmohan has joined #linux-sunxi
sunilmohan has quit [Changing host]
mauz555 has joined #linux-sunxi
dev1990 has quit [Quit: Konversation terminated!]
sunilmohan has quit [Ping timeout: 265 seconds]
sunilmohan has joined #linux-sunxi
sunilmohan has joined #linux-sunxi
sunilmohan has quit [Changing host]
<tuxd3v> megi, yeah, I learn that lesson too
<tuxd3v> :)
florian has quit [Ping timeout: 265 seconds]
NeuroScr has quit [Quit: NeuroScr]
mauz555 has quit []
greybit has joined #linux-sunxi
ChriChri_ has joined #linux-sunxi
ChriChri has quit [Ping timeout: 265 seconds]
ChriChri_ is now known as ChriChri
greybit has quit [Remote host closed the connection]
grey-bit has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
liushuyu has quit [Quit: WeeChat 2.4]
<grey-bit> I have two boards - Orange Pi R1 (H2+) and Orange Pi Zero+ (H5). On the first one there is RTL8152B USB to ethernet and on the second board I use ASIX AX88772B dongle to get a second ethernet. Both run most recent Armbian. The problem is that I can't get more than about 35Mbps from the USB ethernets. All interrupts are diverted to core0
<grey-bit> (effective_affinity is 1) and core0 is getting to 100%. I have no problem getting 100Mbps on H2+ FastEthernet and 900Mbps on H5 GigE. Is anybody aware of the problems with USB based ethernets on H2+ or H5 and how those can be fixed?
<wens> can affinity be changed?
<grey-bit> smp_affinity is set to f i.e. all cores. the drivers however imposes effective_affinity to 1.
<grey-bit> At these 35Mbps, I see about 3000 interrrupts per second. When I do 900Mbps through on-board GigE, it generates 40000 interrupts per second, also to the single core and it's handled without a glitch. So I assume that 3000 per second is not what causes the bottleneck.
<grey-bit> It almost feels like the driver doesn't use DMA and copies the data byte by byte using CPU...
<grey-bit> I thought it would be ASIX driver problem, but exactly the same behaviour happens on RTL usb-eth chip, so it must be something either in usbnet or deeper. or even in the CPU itself...
<wens> no, affinity issue IIRC is a known issue of GIC
<wens> try setting affinity of the USB hosts to just one core, other than the first
<grey-bit> I can move them around, but the number is very small - just 3K. on board ethernet generates 40K interrupts and reaches 900Mbps...
<grey-bit> and those 40K hit core0 without an issue...
<tuxd3v> does any one is using the CedarC Userspace driver ?
Mangy_Dog has quit [Ping timeout: 268 seconds]
grey-bit has quit [Remote host closed the connection]
jstein has quit [Ping timeout: 268 seconds]
jstein has joined #linux-sunxi
NeuroScr has joined #linux-sunxi
iyzsong has joined #linux-sunxi
lurchi_ is now known as lurchi__
jstein has quit [Ping timeout: 268 seconds]
ganbold has quit [Ping timeout: 252 seconds]
ganbold has joined #linux-sunxi
mripard_ has joined #linux-sunxi
mripard has quit [Read error: Connection reset by peer]
bbrezillon has quit [Write error: Connection reset by peer]
bbrezill1 has joined #linux-sunxi
grey-bit has joined #linux-sunxi
grey-bit has quit [Remote host closed the connection]
TRS-80 has joined #linux-sunxi
<tuxd3v> k 5.5.0 has a TRNG driver for H6?
<tuxd3v> does any one knows what is this:
<tuxd3v> sun50i-de2-bus 1000000.bus: Error couldn't map SRAM to device
cnxsoft has joined #linux-sunxi
<tuxd3v> on orangePI one plus power Led is not working, maybe a dts change, Iwill check
dddddd has quit [Quit: Hasta otra..]
NeuroScr has quit [Quit: NeuroScr]
gaston1980 has quit [Quit: Konversation terminated!]
megi has quit [Ping timeout: 260 seconds]
lurchi_ has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 265 seconds]
RichardG867 has quit [Ping timeout: 268 seconds]
<montjoie> tuxd3v: TRNG is WIP
<montjoie> but I will send it within few week
<tuxd3v> H6 is starting to get some support :)
<tuxd3v> nice job :)
netlynx has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
arete74 has quit [Ping timeout: 268 seconds]
arete74 has joined #linux-sunxi
pmp-p has quit [Ping timeout: 272 seconds]
arete74 has quit [Ping timeout: 268 seconds]
pmp-p has joined #linux-sunxi
arete74 has joined #linux-sunxi
arete74 has quit [Ping timeout: 268 seconds]
arete74 has joined #linux-sunxi
TRS-80 has quit [Quit: WeeChat 2.3]
warpme_ has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
bbrezill1 has quit [Quit: WeeChat 2.7]
bbrezillon has joined #linux-sunxi
ldevulder__ has joined #linux-sunxi
AneoX has joined #linux-sunxi
ldevulder_ has quit [Ping timeout: 260 seconds]
RichardG867 has joined #linux-sunxi
RichardG867 has joined #linux-sunxi
RichardG867 has quit [Changing host]
jstein has joined #linux-sunxi
random_yanek has quit [Read error: Connection reset by peer]
florian has joined #linux-sunxi
random_yanek has joined #linux-sunxi
lykt has quit [Quit: leaving]
Mangy_Dog has joined #linux-sunxi
reinforce has joined #linux-sunxi
lykt has joined #linux-sunxi
indy has quit [Ping timeout: 240 seconds]
AneoX has quit [Quit: Textual IRC Client: www.textualapp.com]
obbardc has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 265 seconds]
pmp-p has quit [Ping timeout: 265 seconds]
obbardc has quit [Quit: Leaving]
pmp-p has joined #linux-sunxi
dddddd has joined #linux-sunxi
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
tuxd3v has quit [Ping timeout: 265 seconds]
cnxsoft has joined #linux-sunxi
tuxd3v has joined #linux-sunxi
cnxsoft has quit [Quit: cnxsoft]
Mangy_Dog has quit [Ping timeout: 265 seconds]
arnd has quit []
arnd has joined #linux-sunxi
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
book` has quit [Quit: Leaving]
book` has joined #linux-sunxi
book` has quit [Ping timeout: 265 seconds]
thimslugga has joined #linux-sunxi
book` has joined #linux-sunxi
pmp-p has quit [Ping timeout: 265 seconds]
lvrp16 has quit []
lvrp16 has joined #linux-sunxi
jernej_ has joined #linux-sunxi
jernej has quit [Ping timeout: 248 seconds]
jernej_ is now known as jernej
lurchi_ is now known as lurchi__
ldevulder_ has joined #linux-sunxi
ldevulder__ has quit [Ping timeout: 268 seconds]
lurchi__ is now known as lurchi_
pmp-p has joined #linux-sunxi
gaston1980 has joined #linux-sunxi
Mangy_Dog has joined #linux-sunxi
megi has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
lurchi_ is now known as lurchi__
<montjoie> I have retried to made my pine64 working, but uboot is looping https://pastebin.com/6TYzjR3B does I need to delcare it dead ? (tryed recent uboot and still the same)
arete74 has quit [Ping timeout: 265 seconds]
arete74 has joined #linux-sunxi
lurchi__ is now known as lurchi_
Ecco has joined #linux-sunxi
<Ecco> Hi everyone!
<Ecco> I've gotten my hands on a F1C100s-based gaming console
<Ecco> I'm trying to boot a custom kernel on this bad boy
<Ecco> The good news is there's an UART port routed on the PCB
<Ecco> The bad news is, it's routed to UART1, and all F1C100s examples assume the serial console is on UART0
<Ecco> I managed to patch uboot to use UART1
<Ecco> so that's great :)
<Ecco> Unfortunately I can't seem to be able to do the same for the linux kernel
<Ecco> I do get some boot messages if I use "earlyprintk=serial,ttyS1,115200"
<Ecco> but using console=ttyS1,115200 doesn't give me anything…
<Ecco> The last messages I get using "earlyprintk=" are
<Ecco> [ 2.656660][ T1] calling of_fdt_raw_init+0x0/0x80 @ 1
<Ecco> [ 2.662496][ T1] initcall of_fdt_raw_init+0x0/0x80 returned 0 after 332 usecs
<Ecco> [ 2.669990][ T1] calling clk_disable_unused+0x0/0xe0 @ 1
<Ecco> Meh
<Ecco> I *just* got it to work!
<Ecco> Solution was to *keep* uart0 in the dts
<Ecco> and to *add* uart1
<Ecco> just adding uart1 doesn't cut it for some reason
<Ecco> Which is kinda weird though
JohnDoe_71Rus has quit [Quit: KVIrc KVIrc Aria 5.0.1, revision: 5.0.1+git-7433-0df9f22f2, build type: debug, sources date: 20160102, built on: 2019-12-08 19:19:20 UTC 5.0.1+git-7433-0df9f22f2 http://www.kvirc.net/]
<megi> you should be able to achieve the same with aliases in dts, by adding alias for serial1 = <&uart1>
<megi> if you disable uart0, uart1 would probably become ttyS0
gaston1980 has quit [Quit: Konversation terminated!]
thimslugga has quit [Ping timeout: 268 seconds]
boycottg00gle has joined #linux-sunxi
indy has joined #linux-sunxi
boycottg00gle has quit [Remote host closed the connection]
thimslugga has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
bshah has quit [Excess Flood]
xes has quit [Quit: bye..]
bshah has joined #linux-sunxi
xes has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
thimslugga has quit [Ping timeout: 268 seconds]
thimslugga has joined #linux-sunxi
florian has quit [Ping timeout: 268 seconds]