peterm6881 has quit [Remote host closed the connection]
peterm6881 has joined #Speedsaver
<peterm6881> hey Xogium are you there?
<Xogium> aye
<peterm6881> im going to make a vanilla BR image of the licheepi_zero_defconfig, with only gadget serial enabled
<Xogium> oh boy, that will require you modify the linux kernel config
<peterm6881> im in make linux-menuconfig
<Xogium> not to mention I don't have any clue how to launch a getty in busybox
<peterm6881> it should give me a root / password prompt
<peterm6881> but what do I neeed to switch on in linux-menuconfig
<Xogium> yes but you have to launch the getty yourself with a shell script of some kind in busybox
<Xogium> in systemd you're lucky because all you have to pass on the kernel command line is something like console=ttyGS0,115200
<Xogium> but in busybox that will not work that way
<peterm6881> meh, lets see what happens lol
<Xogium> in busybox everything is launched with a script
<Xogium> even the login prompt and gettys
<peterm6881> so, gadget?
<Xogium> so you'll have to use / to search for a couple options
<Xogium> CONFIG_USB_GADGET
<Xogium> CONFIG_USB_G_SERIAL
<Xogium> check that those 2 are set to y
<Xogium> if they are not, you can press the number of the option like 1 and it will bring you to that setting, then you just literally press y
<peterm6881> USB Gadget Support (USB_GADGET [=y])
<peterm6881> so far so good
<peterm6881> that was enabled by default, but you knew that
<peterm6881> iwhat do you suppose an audio gadget is
<peterm6881> Defined at drivers/usb/gadget/legacy/Kconfig:269
<peterm6881> legacy...
<peterm6881> are you sure we need CONFIG_USB_G_SERIAL
<Xogium> yes that's the serial gadget
<Xogium> and then once those are both set to y
<Xogium> you need to set the new option that unlocks to y as well
<Xogium> CONFIG_U_SERIAL_CONSOLE
<Xogium> an audio gadget is just that. Usb audio interface
<Xogium> and then after all of this is set to y and it is saved... Oh boy, the fun part. You need to backup the defconfig so it doesn't get overridden when you will do a make clean, or alternatively not do a make clean. I'm assuming you ran the lichee defconfig step then immediately used linux-menuconfig
<Xogium> if so you should be okay to build the image, but if you do a make clean you're going to atomize the kernel .config you've just tweaked
<Xogium> so... don't
<Xogium> so when you exit that menuconfig, just go with a typical make
<Xogium> but be warned, I doubt very much that busybox will must magically pick up on the gadget serial, like I told you
<Xogium> so you might be doing this for nothing unless you want to also learn how busybox works on top of it all and how to launch a getty properly with a tty port and such
<Xogium> *just
<peterm6881> im trying it without any options changed
<peterm6881> using the default kernel for lichee zero, 5.3.5
<peterm6881> br master
<peterm6881> since i dont need to log in to check if the issue is there
<Xogium> no option changed ? But if you don't enable anything in the menuconfig you won't even have serial gadget
peterm6881 has quit [Remote host closed the connection]
peterm6881 has joined #Speedsaver
Xogium_ has joined #Speedsaver
Speedsaver` has joined #Speedsaver
peterm6881 has quit [Remote host closed the connection]
peterm6881 has joined #Speedsaver
peterm6881 has quit [Client Quit]
Xogium has quit [*.net *.split]
Speedsaver has quit [*.net *.split]
Xogium_ is now known as Xogium
peterm6881 has joined #Speedsaver
peterm6881 has quit [Ping timeout: 240 seconds]
peterm6881 has joined #Speedsaver
peterm6881 has quit [Remote host closed the connection]
peterm6881 has joined #Speedsaver
peterm6881 has quit [Remote host closed the connection]
peterm6881 has joined #Speedsaver