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
vagrantc has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
montjoie_ has joined #linux-sunxi
montjoie has quit [Ping timeout: 480 seconds]
vagrantc has quit [Quit: leaving]
hexdump0815 has joined #linux-sunxi
hexdump01 has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
DarkNeutrino has quit [Read error: Connection reset by peer]
DarkNeutrino has joined #linux-sunxi
DarkNeutrino has quit [Ping timeout: 480 seconds]
DarkNeutrino has joined #linux-sunxi
apritzel has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
warpme has joined #linux-sunxi
junari_ has joined #linux-sunxi
junari_ has quit [Remote host closed the connection]
<megi> until released, it's just big core roadmaps
warpme has quit [Read error: Connection reset by peer]
warpme has joined #linux-sunxi
mripard has joined #linux-sunxi
warpme has quit [Ping timeout: 480 seconds]
<gamiee> As always
<gamiee> There were always big announcements in those roadmaps, but only few released, and even less were publicly available.
warpme has joined #linux-sunxi
apritzel has joined #linux-sunxi
warpme has quit [Ping timeout: 480 seconds]
DarkNeutrino is now known as Guest1708
DarkNeutrino has joined #linux-sunxi
kuba2k2 has joined #linux-sunxi
evgeny_boger has joined #linux-sunxi
kuba2k2 has quit [Ping timeout: 480 seconds]
evgeny_boger has quit [Ping timeout: 480 seconds]
kuba2k2 has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
evgeny_boger has joined #linux-sunxi
warpme has joined #linux-sunxi
mripard has quit [Quit: mripard]
mripard has joined #linux-sunxi
evgeny_boger has quit [Ping timeout: 480 seconds]
bauen1 has joined #linux-sunxi
warpme has quit [Ping timeout: 480 seconds]
warpme has joined #linux-sunxi
<youmukonpaku1337> hmm
<youmukonpaku1337> how can i know if usb host mode is working
<youmukonpaku1337> no /sys/bus/usb, no proc/bus/usb and sys/kernel/debug/usb has nothing ;-;
<youmukonpaku1337> apritzel: guess it wasnt so smooth lol
<youmukonpaku1337> i have a modded otg cable for power so vbus shouldnt be an issue
<youmukonpaku1337> and dr_mode = host in DTS
<youmukonpaku1337> for usb_otf
<youmukonpaku1337> *otg
<apritzel> is there anything in dmesg, about "musb"?
kuba2k2 has quit [Ping timeout: 480 seconds]
<youmukonpaku1337> will check in a minute
mkazantsev has joined #linux-sunxi
kuba2k2 has joined #linux-sunxi
<youmukonpaku1337> apritzel: nope, absolutely nothing about musb
<apritzel> so maybe megi's kernel doesn't include USB support, then?
<youmukonpaku1337> lemme check i suppose
<youmukonpaku1337> apritzel: what do i check for in kernel conf?
<apritzel> CONFIG_USB_MUSB_SUNXI
<youmukonpaku1337> config_usb_musb_sunxi
<youmukonpaku1337> is m
warpme has quit [Read error: Connection reset by peer]
<youmukonpaku1337> but
<youmukonpaku1337> CONFIG_USB_MUSB_HOST in unset
<youmukonpaku1337> apritzel:
warpme has joined #linux-sunxi
<youmukonpaku1337> oh
<youmukonpaku1337> OH
<youmukonpaku1337> fuck
<youmukonpaku1337> i forgot to copy the modules for megi's kernel lma0
<apritzel> MUSB_HOST unset is fine, you should have CONFIG_USB_MUSB_DUAL_ROLE=y instead
<apritzel> but indeed you need the modules
<mkazantsev> Do Allwinner chips (T113 specifically) have a unique id (like a serial number) that can be read?
<youmukonpaku1337> apritzel: yeah i have that part on
<apritzel> mkazantsev: yes, it's the first few words in the "SID" peripheral
<youmukonpaku1337> YEAHH
<mkazantsev> apritzel: thanks!
<youmukonpaku1337> USB WORKS
<youmukonpaku1337> WE ARE BALLING
<apritzel> mkazantsev: we read that in U-Boot to generate a unique MAC address from it
<youmukonpaku1337> apritzel: hmm it does detect the usb hub but does not detect flash driver or ethernet i plug into it
<youmukonpaku1337> https://pastebin.com/RfRPdrjT\
<youmukonpaku1337> oops
<youmukonpaku1337> dont add the backslash
<youmukonpaku1337> however
<youmukonpaku1337> the wifi pins work
<youmukonpaku1337> so thats prettyyyy good
<youmukonpaku1337> lemme try to hook em up to a usb port
<youmukonpaku1337> apritzel: would it be stupid to boost convert the 3.3v to 5v on the wifi pins instead of pulling external 5v
JohnDoe_71Rus has quit []
<youmukonpaku1337> okay so
<youmukonpaku1337> the wifi port does work as usb
<youmukonpaku1337> though usb ethernet still doesnt work
<youmukonpaku1337> weird
<youmukonpaku1337> must be lack of drivers
<youmukonpaku1337> neh
<youmukonpaku1337> meh
<youmukonpaku1337> ill just get a usb wifi adapter lul
warpme has quit [Ping timeout: 480 seconds]
mkazantsev has quit [Remote host closed the connection]
warpme has joined #linux-sunxi
warpme has quit []
JohnDoe_71Rus has joined #linux-sunxi
warpme has joined #linux-sunxi
warpme has quit [Remote host closed the connection]
warpme has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
mripard has quit [Remote host closed the connection]
kuba2k2 has quit [Ping timeout: 480 seconds]
kuba2k2 has joined #linux-sunxi
warpme has quit [Read error: Connection reset by peer]
warpme has joined #linux-sunxi
warpme has quit [Read error: Connection reset by peer]
warpme has joined #linux-sunxi
warpme has quit [Read error: Connection reset by peer]
warpme has joined #linux-sunxi
junari has joined #linux-sunxi
warpme has quit [Ping timeout: 480 seconds]
junari has quit [Ping timeout: 480 seconds]
ftg has joined #linux-sunxi
stipa has quit [Read error: Connection reset by peer]
stipa has joined #linux-sunxi
<youmukonpaku1337> megi: hmm do you know why usb devices are detected by lsusb and dmesg but usb drives and such are not shown in /dev
<youmukonpaku1337> am i missing something
<youmukonpaku1337> i do get some errors in dmesg about "unable to enumerate ush device" "device not accepting address 6 error -71" and such
<youmukonpaku1337> *usb
<youmukonpaku1337> usb hubs work just fine too
<youmukonpaku1337> am using wifi interface for usb because doesnt seem like main usb slot works
<youmukonpaku1337> huh
<youmukonpaku1337> hmm
<megi> eg. missing usb mass storage driver
<youmukonpaku1337> hmm and where can i get that
<megi> enable it in kernel config, and recompile the kernel
<youmukonpaku1337> oh okay
<youmukonpaku1337> btw can i use mainline sources
<youmukonpaku1337> or do i have to use your patches
<megi> I don't know
<youmukonpaku1337> alright ill just use mainline with your patches just to be safe lol
bauen1 has quit [Ping timeout: 480 seconds]
kuba2k2 has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
<youmukonpaku1337> apritzel: what do i need to enable in kernel for usb drive support and ethernet over usb and whatever else over usb lol
kuba2k2 has joined #linux-sunxi
<megi> start with my defconfig and enable whatever else you need
JohnDoe_71Rus has quit []
<apritzel> what's wrong with sunxi_defconfig? All those device specific configs should really be a thing of the past, unless you *really need* a tiny kernel
<youmukonpaku1337> oh alr
<youmukonpaku1337> apritzel: sunxi defconfig should have usb stuff right
<apritzel> or even better: rely on the work of professionals and use distribution kernels: they spend a lot of effort in making sure everything is setup correctly
<youmukonpaku1337> alright where can i grab the debian kernel as a dpkg package apritzel
<apritzel> ask Dr. Google
<apritzel> or you could just apt-get it
<youmukonpaku1337> apt-get *how* exactly lol
<youmukonpaku1337> i have no internet
<youmukonpaku1337> i just got package from debian repos so should work
<youmukonpaku1337> hopefully
<youmukonpaku1337> apritzel: it provides an initramfs, should i use it lol
<youmukonpaku1337> and if so how do iadd it to kernel cmdline
evadot_ has joined #linux-sunxi
nashpa has joined #linux-sunxi
Halamix2_ has joined #linux-sunxi
ndufresne has quit [Read error: Connection reset by peer]
dliviu has quit [Read error: Connection reset by peer]
<youmukonpaku1337> yep seems to be it
<youmukonpaku1337> just initrd=initramfs.img?
<youmukonpaku1337> oh works
<youmukonpaku1337> niceee
jernej_ has joined #linux-sunxi
evadot has quit [Read error: Connection reset by peer]
Halamix2 has quit [Read error: Connection reset by peer]
jelly has quit [Read error: Connection reset by peer]
indy has quit [Read error: Connection reset by peer]
<youmukonpaku1337> nvm
<youmukonpaku1337> oh i have to change the kernel cmdline on host ugh
indy_ has joined #linux-sunxi
ndufresne has joined #linux-sunxi
jelly-hme has joined #linux-sunxi
<youmukonpaku1337> oh goddamit
jernej has quit [Ping timeout: 480 seconds]
<youmukonpaku1337> forgot to turn it into a uImage lmao
rellla has quit [Remote host closed the connection]
<apritzel> you don't need do that if you use bootz and give it the size:
<apritzel> bootz $kernel_addr_r $ramdisk_addr_r:$filesize $fdtcontroladdr
<apritzel> that's the generic boot command, using predefined addresses, and assuming you loaded the initrd last (so filesize has been set by the load command)
<youmukonpaku1337> apritzel: can i use a vmlinuz image with u-boot though?
jernej_ is now known as jernej
rellla has joined #linux-sunxi
<youmukonpaku1337> helll yeaaaaa
<youmukonpaku1337> huh
<youmukonpaku1337> apritzel: the kernel image boots fine and gets stuck on waiting for root device mmcblk1p1 ;-;
<youmukonpaku1337> oops
<youmukonpaku1337> forgot to finish the load command
<youmukonpaku1337> THERE WE GO
<youmukonpaku1337> heck yeahhh
<youmukonpaku1337> YEAaa
<youmukonpaku1337> i have usb
warpme has joined #linux-sunxi
<youmukonpaku1337> apritzel: usb is WORKING woooo and i even got internet
<karlp> it's great to see a success story :)
youmukon1 has joined #linux-sunxi
youmukonpaku1337 has quit [Ping timeout: 480 seconds]
youmukon1 is now known as youmukonpaku1337
<youmukonpaku1337> apritzel: what in lords name
<youmukonpaku1337> the mmcblk1p1 partition is 8gb
<youmukonpaku1337> yet DF shows 1gb
<youmukonpaku1337> and i used it all ;-;
<youmukonpaku1337> ohhh i need to resize fs
<youmukonpaku1337> interesting
<youmukonpaku1337> awesome
<youmukonpaku1337> fixed
jakllsch has quit [Quit: bbl]
warpme has quit [Read error: Connection reset by peer]
warpme has joined #linux-sunxi
kuba2k2 has quit []
jakllsch has joined #linux-sunxi
DarkNeutrino has quit [Ping timeout: 480 seconds]
warpme has quit []
warpme has joined #linux-sunxi
NekoMay has quit [Remote host closed the connection]
warpme has quit [Ping timeout: 480 seconds]
bauen1 has joined #linux-sunxi
ftg has quit [Read error: Connection reset by peer]
<youmukonpaku1337> ffa
<youmukonpaku1337> *ffs
<youmukonpaku1337> kernel doesnt have GUD enables
<youmukonpaku1337> apritzel: can i compile GUD as a kernel module? lol