ChanServ changed the topic of #armlinux to: ARM kernel talk [Upstream kernel, find your vendor forums for questions about their kernels] | https://libera.irclog.whitequark.org/armlinux
<marex>
broonie: yeah, looks like a trivial patch, basic, also the regmap internals are easy code
<buZz>
hmmm, i wonder how bad a idea it is to use my chromebooks nand as bcache for microsd with rootfs :P
<marex>
broonie: it was so trivial I think it is 5.20 material, I sent an RFC patch
robinp has joined #armlinux
darkapex has quit [Ping timeout: 256 seconds]
guillaume_g has quit [Quit: Konversation terminated!]
apritzel_ has joined #armlinux
apritzel_ has quit [Ping timeout: 272 seconds]
pg12 has quit [Quit: pg12]
pg12 has joined #armlinux
Turingtoast has joined #armlinux
Turingtoast has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
darkapex has joined #armlinux
pg12 has quit [Quit: pg12]
pg12 has joined #armlinux
Turingtoast has joined #armlinux
Pali has joined #armlinux
headless has joined #armlinux
sudeepholla has quit [Ping timeout: 246 seconds]
apritzel_ has joined #armlinux
sudeepholla has joined #armlinux
<hanetzer>
so, about the pinctrl-single,gpio-range property. pin base, nr pins, gpio function. <&range 0 3 0> sets pins 0-2 to function 0. are these pins supposed to be related (as in, pins 0-2 are all on peripheral-a, or perhaps they are all from the same gpioN node?) or just 'defaulting' various pins?
apritzel_ has quit [Ping timeout: 276 seconds]
headless has quit [Quit: Konversation terminated!]
headless has joined #armlinux
Turingtoast has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
sudeepholla has quit [Ping timeout: 246 seconds]
sudeepholla has joined #armlinux
<palmer>
arnd: hey, sorry I forgot about the spinlocks -- turns out I'd actually fixed pretty much everything, I just forgot while I was waiting for Boqun's ack on that smp_mb(). I'll send a v4 soon, it's just waiting on my box to test everything
<arnd>
palmer: no worries, I told them to coordinate with you, it sounds like they never even bothered. Thanks for getting back to it
<palmer>
it's actually just luck, it was the first thing on my phone this morning ;)
<palmer>
shouldn't be too much longer -- plus, there's no meetings today so maybe I can actually get some work done!
headless has quit [Quit: Konversation terminated!]
Turingtoast has joined #armlinux
Turingtoast has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Turingtoast has joined #armlinux
Turingtoast has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<CounterPillow>
in a dev_err, is there a format string specifier to print ENOENT instead of the numeric value for it? I remember seeing this once but I forgot about it
<ide12>
Does anyone know about usb LTE modems?
<ide12>
I'm having trouble.
<CounterPillow>
ah, %pe
headless has joined #armlinux
<hanetzer>
https://brpaste.xyz/gV9kig any idea why it would fail to mount squashfs on dev/mtdblock3? it clearly has the right magic.
iivanov has joined #armlinux
iivanov__ has joined #armlinux
iivanov_ has joined #armlinux
iivanov_ has quit [Client Quit]
archetech has joined #armlinux
iivanov has quit [Ping timeout: 272 seconds]
iivanov__ has quit [Ping timeout: 272 seconds]
iivanov has joined #armlinux
macromorgan has quit [Quit: Leaving]
iivanov has quit [Quit: Leaving...]
<buZz>
ide12: whats the trouble?
<buZz>
that LTE is a flaky standard? :D
<buZz>
being 'LTE' doesnt say if it will work with what -your- telco calls 'LTE'
<ide12>
heh buZz, yeah I am reverse engineering this LTE modem, so I can run a stock image on it
<ide12>
LTE modem works in the stock image obviously, does not in my image
<buZz>
eh? ah
<ide12>
and I am trying to determine what I need to do to get it to work in my image, but that is not a simple task
<buZz>
well, some serial port?
<buZz>
although , on droid4 the modem is on QMI
<ide12>
the LTE card is in a mpcie slot
<ide12>
but communicating over usb
<buZz>
so could be anything
<buZz>
ah
<buZz>
well, ezpz then?
<buZz>
what needs porting?
<ide12>
its using cdc_ether
<buZz>
eh?
<buZz>
lol what
<ide12>
yeah IDK
<ide12>
its super strange
<buZz>
its exposing the -phone- to modem as a ethernet device over USB?
<buZz>
that sounds wrong
<buZz>
cdc_ether afaik = usb gadget ethernet?
<ide12>
from what I can tell thats whats going on
<ide12>
but I also have no idea what I'm doing
<buZz>
ah no, its also other side
<buZz>
CONFIG_USB_NET_CDCETHER: CDC Ethernet support (smart devices such as cable modems)
<buZz>
This option supports devices conforming to the Communication Device Class (CDC) Ethernet Control Model, a specification that's easy to implement in device firmware. The CDC specifications are available from http://www.usb.org/.
<buZz>
CDC Ethernet is an implementation option for DOCSIS cable modems that support USB connectivity, used for non-Microsoft USB hosts. The Linux-USB CDC Ethernet Gadget driver is an open implementation. This driver should work with at least the following devices:
<buZz>
so, does 'ip addr' show the interface to work? :P
<ide12>
yes
<ide12>
but its not showing the public ip
<ide12>
its showing a private internal IP
<ide12>
there's obviously some "glue" code running
<buZz>
ide12: fyi, usually modems on phone only -have- a internal IP, not a internet routable one
<buZz>
do you get a route? can you ping 8.8.8.8 ?
<ide12>
oh
<buZz>
ide12: ipv4 is expensive ;) they just do NAT usually
<ide12>
hahah
<ide12>
makes sense
<ide12>
yeah i can ping 8.8.8.8
<buZz>
boom
<buZz>
you're done
<buZz>
:D
<ide12>
well this is the stock image
<buZz>
oh
<ide12>
sorry to get your hopes up
<buZz>
well, imho grep dmesg / var/log/messages for stuff about this cdc_ether device
<ide12>
yeah im in the stock image exploring how it works currently
<buZz>
then try to reproduce config on your image
<buZz>
maybe carry some screenshots along or something
<ide12>
here?
<buZz>
?
<ide12>
you said something about screenshots
<buZz>
to carry settings along with you to your new setup
<ide12>
ahhhh
<ide12>
yeah, i have looked at dmesg and a few other things but am not sure what's actually going on
<ide12>
and no one over at OpenWRT (except on guy) seems interested in helping out
<ide12>
one*
<buZz>
dmesg | grep cdc ? :)
<buZz>
well maybe even just note wtf ip addr shows for that cdc interface
<buZz>
and config the same on your setup
<buZz>
what does that do?
<ide12>
idk let me try
<buZz>
i'll let you, no need to ask :D
<hanetzer>
I'm losing my friggin mind here. *this should work*. not only do I not get a console login with an initrd boot, for some reason the kernel can't mount a squashfs image on /dev/mtdblock3. It sees that /dev/mtdblock3 exists.
<ide12>
buZz, i forgot to say there is an IPC interface in my network config. Associated with the modem, not sure what that is...
<ide12>
But I have a feeling thats important
<buZz>
might be, sure
<buZz>
ide12: you could use 'fuser' or 'lsof' to see any processes trying to access stuff relevant
<ide12>
There are just too many differences between the stock image and mine to know what differences are relevant.
<ide12>
I want to bring as little over from the stock image to mine as possible
<ide12>
buZz, I don't have those on the stock image
<buZz>
get em? :D
<buZz>
plonk a binary in /tmp if you have to :D
<buZz>
haha
<buZz>
ide12: you cannot dig without a shovel!!!
<buZz>
:D
<ide12>
HAHAH
<ide12>
yeah
* buZz
gonna be afk in a bit :P
<buZz>
any burning q i'd ask now/asap
<buZz>
meanwhile, my droid4 is being a puta about connecting to gprs :P
<ide12>
heh
<ide12>
yeah I dont know what to ask even...
<buZz>
:D
<ide12>
Im sure I am missing a bunch of stuff to make this work
<buZz>
if i was you. i'd just start noting down how its configured on the stock image, on a wiki preferably
<buZz>
then start to try to copy similar setup onto your new image
<buZz>
when you hit walls, you got stuff to ask
<ide12>
Yeah, thats a good plan
<buZz>
:)
<ide12>
sounds good to me
<buZz>
and the documentation will help you save time
<buZz>
over explaining the same things over&over, to yourself or others
<ide12>
I wish the OpenWRT guys would just chime in on my forum post
<buZz>
hehe, well openwrt isnt for 'userland devices'
<ide12>
maybe they are afraid to mess with the "evil giant" that made this box
<buZz>
i have a Zipit Z2 that runs openwrt, might be the only one with a full qwerty keyboard that does :P
<buZz>
but they kicked it out ages ago over 'not a router'
<buZz>
which it indeed is not
<ide12>
heh
<buZz>
plus pxa270 isnt supported by openwrt anymore
<ide12>
This box actually makes me sad cause they just ripped off a bunch of opensource code, locked it down frankensteined it and shoved it out the door
<buZz>
did you ask manufacturer for their gpl code?
<Xogium>
typical unfortunately
<buZz>
what box is it?
<ide12>
This box was already running OpenWRT out of the box
<buZz>
if its chinese you might be able to get sexycyborg to raid their offices to demand gpl code