<pmpp>
afaik only way to configure otg on mainline is gadgetfs so you may require configfs
<wens>
you can use one of the preconfigured settings, such as CONFIG_USB_CDC_COMPOSITE
<wens>
no need to mess with configfs if you don't need to change your gadget device on the fly
<pmpp>
sounds usefull
<pmpp>
but maybe still rely on configfs no ?
<wens>
depends on your usecase
<pmpp>
hmm for fel installer i would need both acm+net
<pmpp>
uart+net
<pmpp>
afaik uart gadget is the only gadget that require no driver after windows 7
<DonkeyHotei>
rndis
<pmpp>
windows 10 i fear
<DonkeyHotei>
mass storage
<pmpp>
can't eject without admin rights
<pmpp>
i'd like a no uac and no driver way
<pmpp>
kiss
<wens>
but to tunnel network to the device, you'd still need some admin rights on the pc, right?
<pmpp>
also mass storage can't deal with ext fs ... so kinda pointless for installing armbian
<wens>
either for NAT, or a server daemon
* wens
puts on sysadmin hat
<pmpp>
wens: on linux if ramdisk start dhcp server, linux usb0 configures itself
hardfalcon1 has quit [Ping timeout: 264 seconds]
<pmpp>
dunno for windows rndis
<pmpp>
but iirc windows try to dhclient on any new interface
<wens>
quite sure it defaults to dhcp
<pmpp>
so it *may* work
<pmpp>
if i could use mainline for fel installer i could get rid of adb driver
<wens>
so what is the usb net used for?
<pmpp>
to replace adb network
<wens>
uh, which does what exactly? download packages and stuff?
<pmpp>
i actually use bidir adb port forwarding of android 5+ to mount nbd device
<pmpp>
and then burn image to emmc from it
<wens>
so it's just piping a local image? got it
<pmpp>
local or remote though i did not add https proxy but it's possible
<pmpp>
would be even nicer to gain some time to start wrting while downloading images
<wens>
I wouldn't bet on that. You're likely to stall unless you have a really good internet connection
<pmpp>
well i don't have good one :p that maybe a good reason for not having that feature already :D
<pmpp>
so it starts with 4.12 for H3
<pmpp>
i'll have a look asap, i'd like to add a proper armbian installer to the tool
victhor has quit [Remote host closed the connection]
LargePrime has quit [Ping timeout: 260 seconds]
sunshavi has joined #linux-sunxi
TheSeven has quit [Ping timeout: 265 seconds]
TheSeven has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
paulliu has joined #linux-sunxi
nuuuciano has joined #linux-sunxi
montjoie has joined #linux-sunxi
SP7RT has joined #linux-sunxi
kaspter has quit [Ping timeout: 264 seconds]
kaspter has joined #linux-sunxi
montjoie has quit [Remote host closed the connection]
montjoie has joined #linux-sunxi
fkluknav has joined #linux-sunxi
fkluknav has quit [Ping timeout: 248 seconds]
Putti has joined #linux-sunxi
SP7RT has quit [Read error: Connection reset by peer]
Mr__Anderson has joined #linux-sunxi
<paulliu>
wens: hi. So continue on the sun8i-h3 optee porting. The kernel doesn't start and earlycon doesn't work. I finally found the hanging point. It is inside the setup_arch() -> paging_init() -> somewhere inside. Any idea?
TheSeven has quit [Ping timeout: 265 seconds]
[7] has joined #linux-sunxi
indy has quit [Read error: Connection reset by peer]
arete74 has quit [Ping timeout: 264 seconds]
indy has joined #linux-sunxi
FergusL has joined #linux-sunxi
<wens>
nope
<wens>
you sure none of the running parts are stepping on each other?
<paulliu>
wens: what do you mean?? I'm currently using maxcpus=1. And also in u-boot I reduced the memory size for the secure world. So the kernel gets lesser memory.
<paulliu>
wens: I'm using a volatile pointer to 0xf1c28000 (virtual address). And directly put a byte to that addess. So I can know where the kernel runs or not.
<paulliu>
wens: earlycon doesn't work at all. Not sure.
ganbold has quit [Remote host closed the connection]
clemens3_ has joined #linux-sunxi
<paulliu>
But since I can use 0xf1c28000 directly to communicate with the serial port with MMU, it seems that at least that device is not blocked.
ElBarto_ is now known as ElBarto
ElBarto has quit [Changing host]
ElBarto has joined #linux-sunxi
Mr__Anderson has quit [Remote host closed the connection]
<wens>
wonder why earlycon doesn't work :/
<wens>
but honestly I have no clue about the inner workings of early kernel space stuff
nuuuciano has quit [Ping timeout: 248 seconds]
<beeble>
time for jtag?
<paulliu>
beeble: yeah. Maybe. But I'm not sure how to do that. The board is BananaPi-Zero
<paulliu>
beeble: Let me check with the optee upstream and see if I can get any ideas from them. If not, I'll start using JTAG (learning).
<beeble>
jtag (swd) is muxed on the sd card. an openocd compatible debugger should most likely work. bitbang for sure, cmsis-dap ones even more reliable
<paulliu>
Also the earlycon shall start working after running parse_early_param() in setup_arch(). On normal boot I saw the outputs right after my *byte output. But with optee I saw nothing. Wondering what's up.
<paulliu>
OK. Thanks. Let me check if I break something inside optee. Like it didn't pass the "early_param"......
kaspter has quit [Ping timeout: 276 seconds]
kaspter has joined #linux-sunxi
xerpi has joined #linux-sunxi
kaspter has quit [Ping timeout: 268 seconds]
msimpson has joined #linux-sunxi
Putti has quit [Ping timeout: 264 seconds]
kaspter has joined #linux-sunxi
hitech95 has joined #linux-sunxi
<icenowy[m]>
beeble: on H3 there's another group of JTAG
<icenowy[m]>
not muxed
<icenowy[m]>
and I used that group of JTAG dumped the S-BROM on a BPi M2 Zero
<beeble>
icenowy[m]: looks like all jtag pins are muxed. but yes you are right, the PA jtag mux option is probably easier to connect (at least on the bpi-zero
mavkhimenia has joined #linux-sunxi
<beeble>
(muxed with uart2)
mkid has quit [Quit: Konversation terminated!]
<icenowy[m]>
in fact usually I don't use uart2 ;-)
<icenowy[m]>
but of course use mmc0
matthias_bgg has joined #linux-sunxi
vpeter has quit [Remote host closed the connection]
mossroy has joined #linux-sunxi
mkid has joined #linux-sunxi
vpeter has joined #linux-sunxi
SP7RT has joined #linux-sunxi
elros has joined #linux-sunxi
SP7RT has quit [Read error: Connection reset by peer]
f0xx has joined #linux-sunxi
reinforce has joined #linux-sunxi
f0xx has quit [Ping timeout: 256 seconds]
<hitech95>
Hi guys, i tried to ask about the i2s/coded on a33 but i get no replays. Does someone have an idea about i2s output on mainline kernel?
<hitech95>
I'm waiting a dev board but in the mean while i'm designing my own but this questions stop me on the bga fanout
dddddd has joined #linux-sunxi
Putti has joined #linux-sunxi
xerpi has quit [Quit: Leaving]
megi has joined #linux-sunxi
Langoor has quit [Ping timeout: 240 seconds]
lurchi__ has joined #linux-sunxi
rexxster has quit [Remote host closed the connection]
mavkhimenia has quit [Remote host closed the connection]
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
aballier has quit [Quit: leaving]
aballier has joined #linux-sunxi
jbrown has joined #linux-sunxi
FergusL has quit [Quit: Ping timeout (120 seconds)]
FergusL has joined #linux-sunxi
mavkhimenia has joined #linux-sunxi
JohnDoe7 has joined #linux-sunxi
JohnDoe_71Rus has quit [Ping timeout: 256 seconds]
kaspter has quit [Quit: kaspter]
jbrown has quit [Remote host closed the connection]
ganbold has joined #linux-sunxi
kaspter has joined #linux-sunxi
FergusL has quit [Read error: Connection reset by peer]
FergusL has joined #linux-sunxi
jbrown has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 264 seconds]
FergusL has quit [Quit: Ping timeout (120 seconds)]
FergusL has joined #linux-sunxi
freemangordon has quit [Ping timeout: 248 seconds]
freemangordon has joined #linux-sunxi
mavkhimenia has quit [Remote host closed the connection]
mavkhimenia has joined #linux-sunxi
FergusL has quit [Quit: Ping timeout (120 seconds)]
iamfrankenstein1 has quit [Quit: iamfrankenstein1]
mavkhime_ has quit [Remote host closed the connection]
d3r3k has quit [Quit: Connection closed for inactivity]
Mr__Anderson has quit [Remote host closed the connection]
tonispa has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
f0xx has quit [Ping timeout: 248 seconds]
<icenowy[m]>
beeble: currently the mode switch happen at the begin of a 64-bit SPL
<beeble>
_bielski_: ^^
<beeble>
rmr_switch.S
<beeble>
in arch/arm/mach-sunxi/
<beeble>
for reference
xerpi has joined #linux-sunxi
<paulliu>
wens, beeble: finally get optee for BPi0 worked. I have to disable any usage of DT in optee. It destroys chosen/bootargs linux,initrd-start and linux,initrd-end.
<paulliu>
wens: beeble: thanks a lot.
AneoX has joined #linux-sunxi
Putti has quit [Ping timeout: 260 seconds]
AneoX_ has quit [Ping timeout: 240 seconds]
reinforce has quit [Quit: Leaving.]
kloczek has quit [Remote host closed the connection]