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
montjoie has joined #linux-sunxi
montjoie_ has quit [Ping timeout: 480 seconds]
<apritzel> GrantM11235[m]: so by just adding CONFIG_USB_MUSB_GADGET=y to the defconfig, and doing a clean build, USB gadget now works nicely for me, with Ethernet, fastboot, UMS
<apritzel> (plus the compatible string in sunxi.c, of course)
<apritzel> GrantM11235[m]: did you manage to get U-Boot's mtd command working, with SPI NAND on the F1C200s?
<apritzel> "mtd list" results in: "spi_nand flash@0: unknown raw ID ff ff ff ff" for me
<apritzel> GrantM11235[m]: also many thanks for creating the Wiki page!
apritzel has quit [Ping timeout: 480 seconds]
Daanct12 has joined #linux-sunxi
<GrantM11235[m]> apritzel: do you read the irc logs from when you are offline?
ftg has quit [Read error: Connection reset by peer]
Daanct12 has quit [Quit: WeeChat 4.0.5]
Daanct12 has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
hexdump0815 has joined #linux-sunxi
hexdump01 has quit [Ping timeout: 480 seconds]
evgeny_boger1 has joined #linux-sunxi
evgeny_boger has quit [Ping timeout: 480 seconds]
stipa has quit [Remote host closed the connection]
swiftgeek has quit [Ping timeout: 480 seconds]
megi has quit [Ping timeout: 480 seconds]
megi has joined #linux-sunxi
Net147 has quit [Quit: Quit]
Net147 has joined #linux-sunxi
junari has joined #linux-sunxi
warpme has joined #linux-sunxi
swiftgeek has joined #linux-sunxi
<junari> apritzel: you wanted to share some improvements for lpddr4 driver
<junari> In the coming days I plan to send an updated patch for the opizero3
tnovotny has joined #linux-sunxi
Daanct12 has quit [Quit: WeeChat 4.0.5]
Daanct12 has joined #linux-sunxi
apritzel has joined #linux-sunxi
<apritzel> GrantM11235[m]: yes, I always do (the read logs), so feel free to use the channel asynchronously ;-)
<apritzel> junari: ah, right, thanks for the heads up
<GrantM11235[m]> apritzel: I got the mtd command to work, mostly. I can read the stock uboot image at offset 0, but when I try to read other partitions, like the linux image, I get a different chunk of data than what I expect. I assume that the stock firmware is doing some sort of wear-leveling
junari has quit [Ping timeout: 480 seconds]
<apritzel> GrantM11235[m]: is that just a matter for the stock firmware mapping? So is the view self-consistent with the mainline U-Boot driver? If you write something to offset x, you can always read it back there?
<GrantM11235[m]> I don't know, I'm afraid to write anything without a backup of the original firmware
apritzel has quit [Ping timeout: 480 seconds]
<GrantM11235[m]> apritzel: This is my current defconfig with working mtd and ums https://paste.debian.net/1295042/
dsimic is now known as Guest3327
dsimic has joined #linux-sunxi
Guest3327 has quit [Ping timeout: 480 seconds]
kuba2k2 has joined #linux-sunxi
kuba2k2 has quit [Ping timeout: 480 seconds]
junari has joined #linux-sunxi
apritzel has joined #linux-sunxi
tnovotny has quit [Ping timeout: 480 seconds]
junari_ has joined #linux-sunxi
Daanct12 has quit [Quit: WeeChat 4.0.5]
junari has quit [Ping timeout: 480 seconds]
tnovotny has joined #linux-sunxi
indy has quit [Ping timeout: 480 seconds]
kuba2k2 has joined #linux-sunxi
tnovotny has quit []
evgeny_boger1 has quit [Remote host closed the connection]
warpme has quit []
warpme has joined #linux-sunxi
indy has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
warpme has quit [Ping timeout: 480 seconds]
evgeny_boger has joined #linux-sunxi
ftg has joined #linux-sunxi
apritzel has joined #linux-sunxi
junari__ has joined #linux-sunxi
jernej has quit [Remote host closed the connection]
jernej has joined #linux-sunxi
junari_ has quit [Ping timeout: 480 seconds]
apritzel has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
warpme has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
tnovotny has joined #linux-sunxi
tnovotny has quit []
apritzel has joined #linux-sunxi
junari__ is now known as junari
<junari> apritzel: got your patch and try to adopt for lpddr4
<junari> But what I see, regs 0x3cc 0x40c 0x44c should be 0x4, but it 0x0
<junari> If you have time, please see what I do wrong
<apritzel> val_hi should be 0x04040404, at least that's what I put in
<apritzel> (hoping that I didn't mess this up...)
<apritzel> junari: ^^^
<junari> val_hi = (para->type == SUNXI_DRAM_TYPE_LPDDR4) ? 4 : para->dx_dri;
<junari> If SUNXI_DRAM_TYPE_LPDDR4 it should be 0x4
<apritzel> 0x4 for each register, but 0x04040404 for val_hi, it will be split up into 0x4 for each register later
<junari> with your patch val_hi should be 0x4, and in first address 0x38c it write 0x4, but to the next 0x0
<junari> don't understand why
mps has joined #linux-sunxi
<junari> oh, i understand my mistake
<junari> with "val_hi = (para->type == SUNXI_DRAM_TYPE_LPDDR4) ? 0x04040404 : para->dx_dri;" all correct, thanks, Andre
junari has quit [Ping timeout: 480 seconds]
kuba2k2 has quit []
JohnDoe_71Rus has quit []
warpme has quit []
digetx has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
digetx has joined #linux-sunxi
digetx has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
apritzel has quit [Ping timeout: 480 seconds]
digetx has joined #linux-sunxi
digetx has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]