00:28
Mangy_Dog has quit [Ping timeout: 250 seconds]
00:41
ChriChri_ has joined #linux-sunxi
00:43
ChriChri has quit [Ping timeout: 240 seconds]
00:43
ChriChri_ is now known as ChriChri
01:02
vpeter has quit [Remote host closed the connection]
01:03
vpeter has joined #linux-sunxi
01:03
gaston1980 has quit [Quit: Konversation terminated!]
01:19
iyzsong has joined #linux-sunxi
02:16
jstein has quit [Quit: quit]
02:18
sunshavi has quit [Ping timeout: 258 seconds]
02:26
iyzsong has joined #linux-sunxi
02:39
vagrantc has quit [Quit: leaving]
02:40
<
MoeIcenowy >
wrote a simple hypervisor that wraps PCIe access on H6
02:58
cnxsoft has joined #linux-sunxi
03:36
sunshavi has joined #linux-sunxi
03:48
JohnDoe_71Rus has joined #linux-sunxi
03:58
<
anarsoul >
MoeIcenowy: cool
03:58
<
anarsoul >
nice work!
04:07
lurchi__ has joined #linux-sunxi
04:11
lurchi_ has quit [Ping timeout: 264 seconds]
04:16
arnidg has joined #linux-sunxi
04:18
lykt has quit [Quit: leaving]
04:25
sunshavi has quit [Ping timeout: 240 seconds]
04:35
lykt has joined #linux-sunxi
04:53
dddddd has quit [Remote host closed the connection]
05:21
_whitelogger has joined #linux-sunxi
05:26
sunshavi has joined #linux-sunxi
05:55
suprothunderbolt has quit [Ping timeout: 240 seconds]
06:39
_whitelogger has joined #linux-sunxi
07:29
ldevulder_ has joined #linux-sunxi
07:31
macc24 has joined #linux-sunxi
07:32
macc24 has quit [Client Quit]
07:33
ldevulder__ has quit [Ping timeout: 256 seconds]
07:33
macc24 has joined #linux-sunxi
07:36
<
CheetahPixie >
willmore KotCzarny that's the issue: I need a system that can boot and detect the eMMC so I can then dump the thing because the current Android on it is unbootable.
07:36
<
CheetahPixie >
ie: gets stuck on logo because it fails to enter a recovery.
07:37
<
KotCzarny >
you can try building some simple system that can be accessed via usb, but that requires some linux knowledge
07:38
<
KotCzarny >
because booting is often not a problem, only adding/configuring additional devices (such as display etc)
07:39
<
KotCzarny >
key words that can help you is fel-booting and uart dongle
07:45
_whitelogger has joined #linux-sunxi
07:58
AneoX has joined #linux-sunxi
08:08
tllim has quit [Read error: Connection reset by peer]
08:08
cnxsoft1 has joined #linux-sunxi
08:09
cnxsoft has quit [Read error: Connection reset by peer]
08:20
<
clementp[m] >
MoeIcenowy: Nice ! Did you measure the performance ?
08:30
cnxsoft1 has quit [Ping timeout: 265 seconds]
08:36
yann has joined #linux-sunxi
08:41
tdebrouw has joined #linux-sunxi
08:47
tdebrouw has quit [Quit: Leaving.]
09:04
cnxsoft has joined #linux-sunxi
09:35
cnxsoft has quit [Ping timeout: 256 seconds]
09:48
cnxsoft has joined #linux-sunxi
09:52
netlynx has joined #linux-sunxi
09:52
netlynx has joined #linux-sunxi
09:52
netlynx has quit [Changing host]
10:02
florian has joined #linux-sunxi
10:07
florian has quit [Ping timeout: 240 seconds]
10:18
The_Loko has joined #linux-sunxi
10:50
CheetahPixie has quit [Remote host closed the connection]
10:51
mauz555 has joined #linux-sunxi
10:54
DrFrankensteinUK has quit [Ping timeout: 265 seconds]
10:55
DrFrankensteinUK has joined #linux-sunxi
11:03
Mangy_Dog has joined #linux-sunxi
11:10
reinforce has joined #linux-sunxi
11:17
<
MoeIcenowy >
clementp[m]: nope
11:18
<
MoeIcenowy >
clementp[m]: I have no performance-constraint PCIe card now, waiting for shippment of a SATA card
11:18
<
KotCzarny >
allwinner should pay you for fixing their issues
11:24
<
clementp[m] >
MoeIcenowy: Thanks for the post and explanations ! The next step would be to include the aw-el2-barebone in ATF right ?
11:25
<
MoeIcenowy >
clementp[m]: nope, to include it into the FIT of U-Boot
11:25
<
MoeIcenowy >
put the el2-bb.bin at the build dir of my U-Boot fork, and name it hyp.bin
11:26
<
clementp[m] >
Yes I'm already doing this
11:26
<
clementp[m] >
I mean, if you want to mainline this wrapper ?
11:26
<
MoeIcenowy >
I don't know whether ATF will accept it
11:26
<
MoeIcenowy >
I don't think ATF contains anything about a hypervisor
11:30
mauz555 has quit []
11:49
<
MoeIcenowy >
clementp[m]: BTW do you have any device to do a benchmark?
11:50
<
clementp[m] >
my beelink gs1 have a realtek pcie card
11:50
<
MoeIcenowy >
it's really PCIe?
11:54
<
MoeIcenowy >
clementp[m]: oops I had never seen a H6 official SDK with a patched realtek driver
11:55
<
MoeIcenowy >
but I think the performance of this wrapper is at least enough for running a wireless card
11:55
<
clementp[m] >
Is it it possible that memory required by the device is enough low to not require a special fix in the driver
11:56
<
MoeIcenowy >
not possible
11:56
<
MoeIcenowy >
the root complex itself requires 1MiB memory space
11:59
<
MoeIcenowy >
and then it requires a virtual expansion ROM with a size of a page (64K)
11:59
<
MoeIcenowy >
if w/o a special fix, the code will be thread unsafe, and it cannot allocate more than one page for the memory space
12:04
<
clementp[m] >
Does the AW-EL2-BAREBONE print something ?
12:05
florian has joined #linux-sunxi
12:12
dddddd has joined #linux-sunxi
12:21
<
MoeIcenowy >
clementp[m]: it prints 2 lines of info when entered at 0x40010000
12:21
<
MoeIcenowy >
"Starting hypervisor on processor 0000000080000000 \nSwitching to EL1\n"
12:25
<
MoeIcenowy >
clementp[m]: BTW maybe this project needs renaming
12:26
<
KotCzarny >
h6-pcie-wrapper ?
12:26
<
clementp[m] >
allwinner-hypervisor ?
12:27
<
clementp[m] >
sun50i-hypervisor
12:27
<
KotCzarny >
would it be universal?
12:27
<
KotCzarny >
or just specific to h6/pcie
12:27
<
MoeIcenowy >
now just specific
12:29
iyzsong has quit [Ping timeout: 272 seconds]
12:29
<
MoeIcenowy >
it simplifies coding ;-)
12:29
<
MoeIcenowy >
in fact I don't know how I made it work ;-)
12:32
<
KotCzarny >
maaagic
12:32
<
KotCzarny >
or you were posessed by a stroke of genius
12:34
florian has quit [Ping timeout: 256 seconds]
12:36
cnxsoft1 has joined #linux-sunxi
12:36
<
KotCzarny >
*possessed
12:37
cnxsoft has quit [Ping timeout: 250 seconds]
12:38
<
clementp[m] >
Humm strange the EL2 is present in the itb, the BL31 is compiled with PRELOADED_BL33_BASE=0x40010000 but can't see it executed
12:40
<
MoeIcenowy >
clementp[m]: BTW, u-boot-sunxi-with-spl.bin = sunxi-spl.bin + u-boot.itb on 64-bit
12:40
<
MoeIcenowy >
clementp[m]: do you have any boot log?
12:41
<
clementp[m] >
Haa ok thanks for this
12:41
<
MoeIcenowy >
is your BL31 built with DEBUG=1 ?
12:42
<
MoeIcenowy >
when built with DEBUG=1, BL31 will says `INFO: Entry point address = ${ENTRY_POINT}`
12:43
<
clementp[m] >
Which is not the case
12:44
<
MoeIcenowy >
then try to build it with DEBUG=1?
12:44
<
MoeIcenowy >
as you can attach PRELOADED_BL33_BASE=0x40010000 you can also attach DEBUG=1 ;-)
12:44
<
clementp[m] >
Ha working :)
12:45
<
MoeIcenowy >
clementp[m]: BTW if your 8822be is embedded on the board
12:45
<
clementp[m] >
I forget to remove UBOOT_OVERRIDE in my env -_-
12:45
<
MoeIcenowy >
you may have a hell of controlling GPIOs
12:45
<
clementp[m] >
# lspci
12:45
<
clementp[m] >
01:00.0 Class 0280: 10ec:b822
12:45
<
clementp[m] >
00:00.0 Class 0604: 16c3:abcd
12:46
<
MoeIcenowy >
clementp[m]: looks like you got the card recognized
12:47
<
MoeIcenowy >
clementp[m]: FW problem?
12:48
<
clementp[m] >
I took the rtw8822b_fw.bin
12:49
<
clementp[m] >
maybe rtw8822b != rtw88beh
12:51
<
KotCzarny >
compile kernel without any firmware built-in ?
12:51
<
KotCzarny >
then check what it loads
12:52
<
clementp[m] >
Last week it was rtl8822b but I can't be sure the BEH is supported mainline..
12:53
<
KotCzarny >
there is also a chance there were some memory access mismatches
13:00
suprothunderbolt has joined #linux-sunxi
13:10
<
MoeIcenowy >
clementp[m]: could it be card power issue?
13:11
<
MoeIcenowy >
oh strange, the driver uses rtw_write16 to write to 0x204 register, but in check_hw_ready() it reads with rtw_read32_mask
13:14
<
MoeIcenowy >
this shouldn't matter theortically...
13:21
JohnDoe8 has joined #linux-sunxi
13:24
JohnDoe_71Rus has quit [Ping timeout: 258 seconds]
13:25
<
MoeIcenowy >
clementp[m]: could you do a review on cutpage_io() in trapped_funcs.c ?
13:34
yann has quit [Ping timeout: 250 seconds]
13:40
mauz555 has joined #linux-sunxi
13:40
mauz555 has quit [Read error: Connection reset by peer]
13:41
<
MoeIcenowy >
clementp[m]: try my newest commit? (although the problem is mysterious)
13:42
<
MoeIcenowy >
I just made the code more adhere to spec
13:50
jstein has joined #linux-sunxi
13:51
<
clementp[m] >
MoeIcenowy: nope tried the latest commit and still not working :(
14:05
<
clementp[m] >
MoeIcenowy: Maybe missing some volatile on the reg ?
14:14
cnxsoft1 has quit [Quit: cnxsoft1]
14:26
<
MoeIcenowy >
clementp[m]: I think no volatile is needed
14:26
<
clementp[m] >
Yes i think so too,
14:27
<
clementp[m] >
I will add more debug..
14:27
<
MoeIcenowy >
thanks for debugging this
14:38
gaston1980 has joined #linux-sunxi
14:38
superpro1 has joined #linux-sunxi
14:40
superprower has quit [Ping timeout: 265 seconds]
14:50
<
mirko >
wow, the panfrost website is.. astonishing
15:05
arnidg has quit [Ping timeout: 264 seconds]
15:06
arnidg has joined #linux-sunxi
15:13
tllim has joined #linux-sunxi
15:51
selfbg has joined #linux-sunxi
15:56
yann has joined #linux-sunxi
16:00
macc24 has quit [Ping timeout: 240 seconds]
16:28
<
clementp[m] >
Yes on has BT over USB, the other BT over UART
16:29
<
clementp[m] >
one*. But regarding the Wi-Fi over PCIe it could be the same.
16:30
<
clementp[m] >
I made it start with backporting AW quirks on "pci/setup-res.c" last week on your PCIe "STASH" code. And I was able to load the FW and read the MAC address.
16:34
selfbg has quit [Quit: selfbg]
16:35
<
clementp[m] >
Do you have any idea what are they doing ?
16:41
<
MoeIcenowy >
clementp[m]: try to port dw_pcie_setup_rc() code to mainline?
16:43
<
MoeIcenowy >
oh this seems to be not needed
16:48
_whitelogger has joined #linux-sunxi
16:56
<
MoeIcenowy >
clementp[m]: strange
16:56
<
MoeIcenowy >
I cannot find any point
17:01
chewitt has quit [Read error: Connection reset by peer]
17:01
chewitt has joined #linux-sunxi
17:05
chewitt has quit [Read error: Connection reset by peer]
17:05
chewitt_ has joined #linux-sunxi
17:08
<
clementp[m] >
MoeIcenowy: There is also the outbound ATU enable in your driver but not in the vendor which i have deactivated last week : I will retry without and with the setup_rc and see
17:10
chewitt_ has quit [Ping timeout: 264 seconds]
17:12
<
MoeIcenowy >
clementp[m]: I dropped outbound ATU program in newest version of wrapped driver
17:13
<
MoeIcenowy >
because it's now not needed
17:13
chewitt has joined #linux-sunxi
17:25
<
MoeIcenowy >
clementp[m]: BTW can you show `lspci -vv` result on your 8822beh ?
17:26
<
clementp[m] >
it's busybox one
17:26
<
clementp[m] >
I will compile the real one
17:47
<
mirko >
my alsa time is quite some time ago, so forgive me if it's obvious: being able to open an ALSA device more than once is a limitation introduced by alsa itself, by the driver (in this case the sunxi HDMI driver) and/or can only be overcome with higher level abstractions such as multiplexers/mixers / pulseaudio on top?
17:48
<
KotCzarny >
no, it's limitation of hardware device
17:48
<
KotCzarny >
if you want multiple opens, add dmix
17:49
<
KotCzarny >
(in practice, you need few lines in /etc/asound.conf)
17:49
<
KotCzarny >
and that's it
17:49
<
mirko >
ah, right, dmix - thanks!
17:50
<
anarsoul >
KotCzarny: in practice default configuration should handle that
17:50
<
KotCzarny >
anarsoul, depends on distro/version
17:50
<
anarsoul >
it's been like that for ~15 years :)
17:50
<
mirko >
i'm on debian testing/bullseye and dmix is not there by default
17:51
<
KotCzarny >
cant comment, because i had to add it at some point
17:51
<
mirko >
i mean, not enabled or available as device at least
17:51
<
KotCzarny >
mind you, most people just gave up into evilaudio, that's why it seems to be forgotten
17:52
<
KotCzarny >
but anyone wanting pure alsa, is bound to learn/configure it themselves
17:53
<
mirko >
fair enough, i'll manage.. thanks
17:56
macc24 has joined #linux-sunxi
18:02
<
anarsoul >
mirko: likely you're opening wrong device
18:04
macc24 has quit [Read error: Connection reset by peer]
18:06
macc24 has joined #linux-sunxi
18:09
<
KotCzarny >
well, he did specify 'opening more than once' problem
18:26
vagrantc has joined #linux-sunxi
18:26
megi has quit [Quit: WeeChat 2.7.1]
18:27
megi has joined #linux-sunxi
18:38
dddddd has quit [Ping timeout: 256 seconds]
19:29
diego71 has quit [Remote host closed the connection]
19:34
diego71 has joined #linux-sunxi
19:37
netlynx has quit [Quit: Ex-Chat]
19:37
macc24 has quit [Ping timeout: 256 seconds]
19:40
macc24 has joined #linux-sunxi
20:02
Net147 has quit [Ping timeout: 256 seconds]
20:03
TEKrantz has quit [Ping timeout: 258 seconds]
20:05
Net147 has joined #linux-sunxi
20:08
macc24 has quit [Ping timeout: 256 seconds]
20:12
tdebrouw has joined #linux-sunxi
20:27
macc24 has joined #linux-sunxi
20:27
tdebrouw has quit [Quit: Leaving.]
20:53
xes has quit [Quit: bye..]
20:55
florian has joined #linux-sunxi
20:56
xes has joined #linux-sunxi
21:26
macc24 has quit [Ping timeout: 250 seconds]
21:33
The_Loko has quit [Quit: Leaving]
21:33
gaston1980 has quit [Quit: Konversation terminated!]
21:41
mauz555 has joined #linux-sunxi
21:45
DonkeyHotei has joined #linux-sunxi
21:48
<
tuxd3v_ >
rockpro64 image, not yet, but very close..
21:56
florian has quit [Ping timeout: 256 seconds]
22:04
sunshavi has quit [Read error: Connection reset by peer]
22:09
sunshavi has joined #linux-sunxi
22:13
florian has joined #linux-sunxi
22:17
anarsoul has quit [Remote host closed the connection]
22:18
anarsoul has joined #linux-sunxi
22:21
jstein has quit [Quit: quit]
22:31
florian has quit [Ping timeout: 260 seconds]
22:36
jstein has joined #linux-sunxi
22:40
florian has joined #linux-sunxi
22:40
t4h4[m] has quit [Ping timeout: 246 seconds]
22:42
t4h4[m] has joined #linux-sunxi
22:45
TEKrantz has joined #linux-sunxi
22:46
fevv8[m] has quit [Ping timeout: 246 seconds]
22:47
fevv8[m] has joined #linux-sunxi
22:51
MartijnBraam has quit [Ping timeout: 246 seconds]
22:53
JuniorJPDJ has quit [Ping timeout: 246 seconds]
22:57
florian has quit [Ping timeout: 256 seconds]
22:58
MartijnBraam has joined #linux-sunxi
23:00
flacks_ has quit [Ping timeout: 246 seconds]
23:07
JuniorJPDJ has joined #linux-sunxi
23:09
Mangy_Dog has quit [Ping timeout: 252 seconds]
23:13
flacks_ has joined #linux-sunxi
23:22
jelly has quit [Ping timeout: 246 seconds]
23:29
jelly-home has joined #linux-sunxi
23:34
mauz555 has quit []
23:38
reinforce has quit [Quit: Leaving.]
23:51
DonkeyHotei has quit [Ping timeout: 256 seconds]
23:52
DonkeyHotei has joined #linux-sunxi
23:59
Mangy_Dog has joined #linux-sunxi