Tiny Core Base > Raspberry Pi

USB gadget kernel module with RPi zero

<< < (12/18) > >>

ladnar:
OK, Rich, I realize you just gave me the right answer (two right answers! Your previous two posts!), slightly after I figured it out. Thanks again. And thanks for putting up with my slow learning curve, and the volumes I've written about it! Now I  just have to peel off five minutes from my day, but I just spent that time researching and posting. time to go catch a bus. I've got other things to do. Maybe tonight.

ladnar:
Ok my script works, AFTER I boot. It lets me run the script by typed command, in CLI. Successful!  But not when I put it in the onboot.lst? (I changed it to a two line script; it needed a "depmod -a" before the "modprobe g_ether". I think I even put in a "cd /" as the first line.

Must be a permissions thing? Or maybe modprobe doesn't like to execute in an "bootup" shell script? No that seems to silly to be true.

I must have forgotten something about onboot.lst ?

I am going to try the right answer (supplied by Rich, above). Make an extension? I have never done that before. I suppose I could add a desktop, now that I downloaded TC extension?

Rich:
Hi ladnar

--- Quote from: ladnar on October 05, 2020, 11:25:44 PM ---Ok my script works, AFTER I boot. But not when I put it in the onboot.lst? ...
--- End quote ---
That's not what  onboot.lst  is for. The only thing that goes into  onboot.lst  is which extensions you want loaded when
you boot.

ladnar:
Oh!!!   I see. Rich already said. optbootlocal.sh.

Thanks again. I better slow down and read thorough, one more time. This will work tonight!

ladnar:
OK, about onboot.lst. I will learn this extension thing. And only put those there.( I read like 1/3 of the manual, two years ago. If I try again, it might make more sense.)

Maybe tonight's the night I get a desktop, too; TC.tz !

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version