ChanServ changed the topic of #linux-sunxi to: Allwinner/sunxi development - Did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait for an answer! - This channel is logged at https://oftc.irclog.whitequark.org/linux-sunxi
<junari> I'll rebase the code for ddr3 and push it today
<apritzel> junari: awesome, many thanks!
smaeul_ has quit [Read error: Connection reset by peer]
smaeul has joined #linux-sunxi
<apritzel> jernej: looking at the BROM disassembly, it's not the H6 hotplug method (via the RTC), but the H616 version, just at a different address: magic at 0x70501c0, address at 0x70501c4
<apritzel> though it still doesn't work :-(
aperezdc has joined #linux-sunxi
aren is now known as aren_
aren_ is now known as aren
vagrantc has quit [Quit: leaving]
<apritzel> ah, but with that BL31 trampoline replacement it works from SD card, on the Avaota
apritzel has quit [Ping timeout: 480 seconds]
gsz has quit [Ping timeout: 480 seconds]
hexdump01 has joined #linux-sunxi
hexdump0815 has quit [Ping timeout: 480 seconds]
parthiban has joined #linux-sunxi
montjoie has joined #linux-sunxi
montjoie_ has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
<junari> after the latest driver changes there are discrepancies in the output of register dumps, but the DRAM looks working
<junari> apritzel: Explain a little more how to repeat your success? I changed the value in fel_utils.S, also tried to build a jump file instead of bl31 as you said before, but I failed.
ftg has quit [Read error: Connection reset by peer]
junari has quit [Remote host closed the connection]
<jernej> apritzel: it turns out that I had wrong address for TF-A in Kconfig
<jernej> now that I fixed it, I get nice backtrace splash :)
<jernej> if you're skipping TF-A, you have to include my last patch for sure
<jernej> apritzel: regarding aarch32, I think you have to clear CPU0_CTRL_REG register before doing hotplug
gsz has joined #linux-sunxi
gsz has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
warpme has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
<jernej> junari: discrepancies could be due to missing eye scan. check registers set in dx delay compensation function
Schimsalabim has quit [Ping timeout: 480 seconds]
dsimic is now known as Guest4860
Schimsalabim has joined #linux-sunxi
dsimic has joined #linux-sunxi
Guest4860 has quit [Ping timeout: 480 seconds]
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
warpme has quit []
apritzel has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
apritzel_ has joined #linux-sunxi
warpme has joined #linux-sunxi
parthiban has quit [Remote host closed the connection]
parthiban has joined #linux-sunxi
digetx has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
digetx has joined #linux-sunxi
digetx has quit [Ping timeout: 480 seconds]
aperezdc has quit [Ping timeout: 480 seconds]
digetx has joined #linux-sunxi
digetx has quit []
digetx has joined #linux-sunxi
digetx has quit []
digetx has joined #linux-sunxi
digetx has quit []
digetx has joined #linux-sunxi
warpme has quit []
warpme has joined #linux-sunxi
hipboi has joined #linux-sunxi
hipboi has quit []
hipboi has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
hipboi has quit [Quit: hipboi]
aperezdc has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
bauen1 has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
warpme has quit []
parthiban has quit [Remote host closed the connection]
parthiban has joined #linux-sunxi
apritzel_ has left #linux-sunxi [#linux-sunxi]
apritzel_ has joined #linux-sunxi
<apritzel_> jernej: junari: I pushed what I have for U-Boot proper on the A523: https://github.com/apritzel/u-boot/commits/a523/
bauen1 has joined #linux-sunxi
<apritzel_> the build process breaks at the end, but only after generating u-boot-dtb.bin
<apritzel_> this binary is good to be launched by Syterkit
<apritzel_> also the repo contains the DTs for the SoC, the Avaota-A1 and the X96QPro+, as far as I have them
<apritzel_> I will look at integrating my and other people's SPL bit on the weekend
<wens> new Cubie board announcement
<gamiee> wens: huh?
<jakllsch> linux-sunxi list
<wens> on the sunxi mailing list
<wens> rather, the old google groups one
<jakllsch> oh, there's another one now?
<wens> jakllsch: we moved to linux-sunxi@lists.linux.dev some time ago
<jakllsch> ah
<jakllsch> compact
<gamiee> well, looks like Tom Cubie is back as well.
<machinehum> Cool email
<apritzel_> interesting, but a bit suspicious how they offer USB 3.0 and M.2 at the same time?
<MasterR3C0RD> apritzel: From the wiki: M.2 M Key is muxed with USB 3.0, can be switched by GPIO.
<apritzel_> yeah, just found that as well
<apritzel_> neat
JohnDoe_71Rus has quit [Quit: KVIrc KVIrc Quasar 5.2.6, revision: 5.2.6+git-7609-afed1336e, build type: debug, sources date: 20160102, built on: 2024-12-18 20:43:05 UTC 5.2.6+git-7609-]
<apritzel_> I just wish all their words about being Open Source friendly would translate into any actual contributions and/or reviews ...
<apritzel_> (more importantly for the Orion O6, actually)
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
parthiban has quit []
<jernej> well, we can always ask for more/better documentation. Last time AW was eager to support open source, we got usable DE2 and DE3 docs.
<jernej> maybe even Cedrus docs :)
<wigyori> this would make a pretty interesting router / edge device - provided there'll be a useful driver for the wifi chip
<wigyori> drop an lte card into the m.2 slot, and off you go
<apritzel_> wigyori: it seems to be a module based on the AIC8800 chip: https://www.lb-link.com/M8800DS2-1T1R-802-11a-b-g-n-ac-ax-WiFi-B5-4-Module-pd584318958.html
<apritzel_> the board pictured in the Wiki doesn't have the SPI flash soldered, but instead packs an eMMC chip
<wigyori> apritzel_: thx - haven't looked at it yet -, seems that it's supported out-of-tree, but i guess it's not known yet if it's hooked up via usb or sdio
<apritzel_> wigyori: pretty surely via SDIO. The same chip is used on the X96QPro+ TV box, and it's SDIO there
<wigyori> gotcha, thx
ftg has joined #linux-sunxi
apritzel_ has quit [Ping timeout: 480 seconds]
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
<jernej> apritzel: any chance that you share nbrom bin? I have troubles dumping it
<jernej> for T527
<fraolt> wens: https://linux-sunxi.org/Mailing_list does not mention the non-google list
apritzel has joined #linux-sunxi
<apritzel> jernej: sure: https://paste.c-net.org/SpookedPaste
<jernej> apritzel: I think reset to aarch32 works just fine. If you replace back_to_32 address with 0x20, I get USB disconnect error, which is expected.
<jernej> apritzel: thanks!
<apritzel> I dumped it a while ago, from my A523 tablet, I think using memcpy from some code I uploaded via FEL
<apritzel> I think the BROM area doesn't support byte accesses, but readl worked for me via FEL
<apritzel> it's just tedious ;-)
<jernej> wait, is this secure or non-secure brom?
<apritzel> I named it sbrom.bin, because the tablet requires TOC0, and I dumped it from there
<jernej> ah, ok
<jernej> base address is still 0?
<apritzel> yes
<apritzel> there is another region called MBROM starting at 64K
<apritzel> at least that's what the manual says
warpme has joined #linux-sunxi
warpme has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
<jernej> apritzel: correct me if I'm wrong, but at the beginning BROM clears part of SRAM where SPL return to FEL trampoline would reside
<apritzel> that was also an angle I was looking at: yes, it clears 0x44000-0x64000
<apritzel> but I think it's clearing that only for FEL entry, right, so when entered at 0x20?
<apritzel> on reset it branches to 0x44, which clears all GPRs (why?), then ungates the RTC (@0x250), then does some bit shuffling with an RTC register, then checks the hotplug register
<jernej> ah, right
<jernej> hm... or maybe it works but something inadvertently broke USB? since I get "usb_bulk_send() ERROR -9: Pipe error"
<apritzel> you mean some of the clock setups? or this NSI init?
<jernej> yeah
<jernej> hm... doesn't seem so
Schimsalabim has quit [Read error: Connection reset by peer]