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*
Mangy_Dog has quit [Ping timeout: 250 seconds]
ChriChri_ has joined #linux-sunxi
ChriChri has quit [Ping timeout: 240 seconds]
ChriChri_ is now known as ChriChri
vpeter has quit [Remote host closed the connection]
vpeter has joined #linux-sunxi
gaston1980 has quit [Quit: Konversation terminated!]
iyzsong has joined #linux-sunxi
jstein has quit [Quit: quit]
sunshavi has quit [Ping timeout: 258 seconds]
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
iyzsong has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
<MoeIcenowy> wrote a simple hypervisor that wraps PCIe access on H6
cnxsoft has joined #linux-sunxi
sunshavi has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
<anarsoul> MoeIcenowy: cool
<anarsoul> nice work!
lurchi__ has joined #linux-sunxi
lurchi_ has quit [Ping timeout: 264 seconds]
arnidg has joined #linux-sunxi
lykt has quit [Quit: leaving]
sunshavi has quit [Ping timeout: 240 seconds]
lykt has joined #linux-sunxi
dddddd has quit [Remote host closed the connection]
_whitelogger has joined #linux-sunxi
sunshavi has joined #linux-sunxi
suprothunderbolt has quit [Ping timeout: 240 seconds]
<JohnDoe_71Rus> this is options to boot libreelec cb2. https://paste.ubuntu.com/p/J2rfcQrgjg/ Can i add some options to set fullHD hdmi output?
_whitelogger has joined #linux-sunxi
ldevulder_ has joined #linux-sunxi
macc24 has joined #linux-sunxi
macc24 has quit [Client Quit]
ldevulder__ has quit [Ping timeout: 256 seconds]
macc24 has joined #linux-sunxi
<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.
<CheetahPixie> ie: gets stuck on logo because it fails to enter a recovery.
<KotCzarny> you can try building some simple system that can be accessed via usb, but that requires some linux knowledge
<KotCzarny> because booting is often not a problem, only adding/configuring additional devices (such as display etc)
<KotCzarny> key words that can help you is fel-booting and uart dongle
_whitelogger has joined #linux-sunxi
AneoX has joined #linux-sunxi
tllim has quit [Read error: Connection reset by peer]
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
<clementp[m]> MoeIcenowy: Nice ! Did you measure the performance ?
cnxsoft1 has quit [Ping timeout: 265 seconds]
yann has joined #linux-sunxi
tdebrouw has joined #linux-sunxi
tdebrouw has quit [Quit: Leaving.]
AneoX has quit [Quit: Textual IRC Client: www.textualapp.com]
cnxsoft has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 256 seconds]
cnxsoft has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
florian has joined #linux-sunxi
florian has quit [Ping timeout: 240 seconds]
The_Loko has joined #linux-sunxi
CheetahPixie has quit [Remote host closed the connection]
mauz555 has joined #linux-sunxi
DrFrankensteinUK has quit [Ping timeout: 265 seconds]
DrFrankensteinUK has joined #linux-sunxi
Mangy_Dog has joined #linux-sunxi
reinforce has joined #linux-sunxi
<MoeIcenowy> clementp[m]: nope
<MoeIcenowy> clementp[m]: BTW a using document is at https://forum.armbian.com/topic/13529-a-try-on-utilizing-h6-pcie-with-virtualization/ if you noticed
<MoeIcenowy> clementp[m]: I have no performance-constraint PCIe card now, waiting for shippment of a SATA card
<KotCzarny> allwinner should pay you for fixing their issues
<KotCzarny> :)
<clementp[m]> MoeIcenowy: Thanks for the post and explanations ! The next step would be to include the aw-el2-barebone in ATF right ?
<MoeIcenowy> clementp[m]: nope, to include it into the FIT of U-Boot
<MoeIcenowy> put the el2-bb.bin at the build dir of my U-Boot fork, and name it hyp.bin
<clementp[m]> Yes I'm already doing this
<clementp[m]> I mean, if you want to mainline this wrapper ?
<MoeIcenowy> I don't know whether ATF will accept it
<MoeIcenowy> I don't think ATF contains anything about a hypervisor
mauz555 has quit []
<MoeIcenowy> clementp[m]: BTW do you have any device to do a benchmark?
<clementp[m]> my beelink gs1 have a realtek pcie card
<MoeIcenowy> it's really PCIe?
<MoeIcenowy> clementp[m]: oops I had never seen a H6 official SDK with a patched realtek driver
<MoeIcenowy> but I think the performance of this wrapper is at least enough for running a wireless card
<clementp[m]> Is it it possible that memory required by the device is enough low to not require a special fix in the driver
<MoeIcenowy> not possible
<MoeIcenowy> the root complex itself requires 1MiB memory space
<MoeIcenowy> and then it requires a virtual expansion ROM with a size of a page (64K)
<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
<clementp[m]> Does the AW-EL2-BAREBONE print something ?
florian has joined #linux-sunxi
dddddd has joined #linux-sunxi
<MoeIcenowy> clementp[m]: it prints 2 lines of info when entered at 0x40010000
<MoeIcenowy> "Starting hypervisor on processor 0000000080000000 \nSwitching to EL1\n"
<MoeIcenowy> clementp[m]: BTW maybe this project needs renaming
<KotCzarny> h6-pcie-wrapper ?
<clementp[m]> allwinner-hypervisor ?
<clementp[m]> sun50i-hypervisor
<KotCzarny> would it be universal?
<KotCzarny> or just specific to h6/pcie
<MoeIcenowy> now just specific
iyzsong has quit [Ping timeout: 272 seconds]
<MoeIcenowy> it simplifies coding ;-)
<MoeIcenowy> in fact I don't know how I made it work ;-)
<KotCzarny> maaagic
<KotCzarny> or you were posessed by a stroke of genius
florian has quit [Ping timeout: 256 seconds]
cnxsoft1 has joined #linux-sunxi
<KotCzarny> *possessed
cnxsoft has quit [Ping timeout: 250 seconds]
<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
<MoeIcenowy> clementp[m]: BTW, u-boot-sunxi-with-spl.bin = sunxi-spl.bin + u-boot.itb on 64-bit
<MoeIcenowy> clementp[m]: do you have any boot log?
<clementp[m]> Haa ok thanks for this
<MoeIcenowy> is your BL31 built with DEBUG=1 ?
<MoeIcenowy> when built with DEBUG=1, BL31 will says `INFO:    Entry point address = ${ENTRY_POINT}`
<clementp[m]> Which is not the case
<MoeIcenowy> then try to build it with DEBUG=1?
<MoeIcenowy> as you can attach PRELOADED_BL33_BASE=0x40010000 you can also attach DEBUG=1 ;-)
<clementp[m]> Ha working :)
<MoeIcenowy> clementp[m]: BTW if your 8822be is embedded on the board
<clementp[m]> I forget to remove UBOOT_OVERRIDE in my env -_-
<MoeIcenowy> you may have a hell of controlling GPIOs
<clementp[m]> # lspci
<clementp[m]> 01:00.0 Class 0280: 10ec:b822
<clementp[m]> 00:00.0 Class 0604: 16c3:abcd
<MoeIcenowy> clementp[m]: looks like you got the card recognized
<MoeIcenowy> clementp[m]: FW problem?
<KotCzarny> yup
<clementp[m]> I took the rtw8822b_fw.bin
<clementp[m]> maybe rtw8822b != rtw88beh
<KotCzarny> compile kernel without any firmware built-in ?
<KotCzarny> then check what it loads
<clementp[m]> Last week it was rtl8822b but I can't be sure the BEH is supported mainline..
<KotCzarny> there is also a chance there were some memory access mismatches
suprothunderbolt has joined #linux-sunxi
<MoeIcenowy> clementp[m]: could it be card power issue?
<MoeIcenowy> oh strange, the driver uses rtw_write16 to write to 0x204 register, but in check_hw_ready() it reads with rtw_read32_mask
<MoeIcenowy> this shouldn't matter theortically...
JohnDoe8 has joined #linux-sunxi
JohnDoe_71Rus has quit [Ping timeout: 258 seconds]
<MoeIcenowy> clementp[m]: could you do a review on cutpage_io() in trapped_funcs.c ?
yann has quit [Ping timeout: 250 seconds]
mauz555 has joined #linux-sunxi
mauz555 has quit [Read error: Connection reset by peer]
<MoeIcenowy> clementp[m]: try my newest commit? (although the problem is mysterious)
<MoeIcenowy> I just made the code more adhere to spec
jstein has joined #linux-sunxi
<clementp[m]> MoeIcenowy: nope tried the latest commit and still not working :(
<clementp[m]> MoeIcenowy: Maybe missing some volatile on the reg ?
cnxsoft1 has quit [Quit: cnxsoft1]
<MoeIcenowy> clementp[m]: I think no volatile is needed
<clementp[m]> Yes i think so too,
<clementp[m]> I will add more debug..
<MoeIcenowy> thanks for debugging this
gaston1980 has joined #linux-sunxi
superpro1 has joined #linux-sunxi
superprower has quit [Ping timeout: 265 seconds]
<mirko> wow, the panfrost website is.. astonishing
arnidg has quit [Ping timeout: 264 seconds]
arnidg has joined #linux-sunxi
tllim has joined #linux-sunxi
selfbg has joined #linux-sunxi
yann has joined #linux-sunxi
macc24 has quit [Ping timeout: 240 seconds]
<MoeIcenowy> clementp[m]: BTW realtek seems to list 8822be and 8822beh-vr as two products at https://www.realtek.com/en/products/communications-network-ics/category/802-11ac-abgn-combo
<clementp[m]> Yes on has BT over USB, the other BT over UART
<clementp[m]> one*. But regarding the Wi-Fi over PCIe it could be the same.
<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.
selfbg has quit [Quit: selfbg]
<clementp[m]> Do you have any idea what are they doing ?
<MoeIcenowy> clementp[m]: try to port dw_pcie_setup_rc() code to mainline?
<MoeIcenowy> oh this seems to be not needed
_whitelogger has joined #linux-sunxi
<MoeIcenowy> clementp[m]: strange
<MoeIcenowy> I cannot find any point
chewitt has quit [Read error: Connection reset by peer]
chewitt has joined #linux-sunxi
chewitt has quit [Read error: Connection reset by peer]
chewitt_ has joined #linux-sunxi
<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
chewitt_ has quit [Ping timeout: 264 seconds]
<MoeIcenowy> clementp[m]: I dropped outbound ATU program in newest version of wrapped driver
<MoeIcenowy> because it's now not needed
chewitt has joined #linux-sunxi
<MoeIcenowy> clementp[m]: BTW can you show `lspci -vv` result on your 8822beh ?
<clementp[m]> it's busybox one
<clementp[m]> I will compile the real one
<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?
<KotCzarny> no, it's limitation of hardware device
<KotCzarny> if you want multiple opens, add dmix
<KotCzarny> (in practice, you need few lines in /etc/asound.conf)
<KotCzarny> and that's it
<mirko> ah, right, dmix - thanks!
<anarsoul> KotCzarny: in practice default configuration should handle that
<KotCzarny> anarsoul, depends on distro/version
<anarsoul> it's been like that for ~15 years :)
<mirko> i'm on debian testing/bullseye and dmix is not there by default
<KotCzarny> cant comment, because i had to add it at some point
<mirko> i mean, not enabled or available as device at least
<KotCzarny> mind you, most people just gave up into evilaudio, that's why it seems to be forgotten
<KotCzarny> but anyone wanting pure alsa, is bound to learn/configure it themselves
<mirko> fair enough, i'll manage.. thanks
macc24 has joined #linux-sunxi
<anarsoul> mirko: likely you're opening wrong device
macc24 has quit [Read error: Connection reset by peer]
macc24 has joined #linux-sunxi
<KotCzarny> well, he did specify 'opening more than once' problem
vagrantc has joined #linux-sunxi
megi has quit [Quit: WeeChat 2.7.1]
megi has joined #linux-sunxi
dddddd has quit [Ping timeout: 256 seconds]
diego71 has quit [Remote host closed the connection]
diego71 has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
macc24 has quit [Ping timeout: 256 seconds]
macc24 has joined #linux-sunxi
JohnDoe8 has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
Net147 has quit [Ping timeout: 256 seconds]
TEKrantz has quit [Ping timeout: 258 seconds]
Net147 has joined #linux-sunxi
macc24 has quit [Ping timeout: 256 seconds]
tdebrouw has joined #linux-sunxi
macc24 has joined #linux-sunxi
tdebrouw has quit [Quit: Leaving.]
xes has quit [Quit: bye..]
florian has joined #linux-sunxi
xes has joined #linux-sunxi
macc24 has quit [Ping timeout: 250 seconds]
The_Loko has quit [Quit: Leaving]
gaston1980 has quit [Quit: Konversation terminated!]
mauz555 has joined #linux-sunxi
DonkeyHotei has joined #linux-sunxi
<tuxd3v_> rockpro64 image, not yet, but very close..
florian has quit [Ping timeout: 256 seconds]
sunshavi has quit [Read error: Connection reset by peer]
sunshavi has joined #linux-sunxi
black_ink has quit [Quit: ZNC 1.6.6 - http://znc.in]
florian has joined #linux-sunxi
anarsoul has quit [Remote host closed the connection]
anarsoul has joined #linux-sunxi
jstein has quit [Quit: quit]
florian has quit [Ping timeout: 260 seconds]
jstein has joined #linux-sunxi
florian has joined #linux-sunxi
t4h4[m] has quit [Ping timeout: 246 seconds]
t4h4[m] has joined #linux-sunxi
TEKrantz has joined #linux-sunxi
fevv8[m] has quit [Ping timeout: 246 seconds]
fevv8[m] has joined #linux-sunxi
MartijnBraam has quit [Ping timeout: 246 seconds]
JuniorJPDJ has quit [Ping timeout: 246 seconds]
florian has quit [Ping timeout: 256 seconds]
MartijnBraam has joined #linux-sunxi
flacks_ has quit [Ping timeout: 246 seconds]
JuniorJPDJ has joined #linux-sunxi
Mangy_Dog has quit [Ping timeout: 252 seconds]
flacks_ has joined #linux-sunxi
jelly has quit [Ping timeout: 246 seconds]
jelly-home has joined #linux-sunxi
mauz555 has quit []
reinforce has quit [Quit: Leaving.]
DonkeyHotei has quit [Ping timeout: 256 seconds]
DonkeyHotei has joined #linux-sunxi
Mangy_Dog has joined #linux-sunxi