WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: armv6 and realtek firmware  (Read 11886 times)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11658
Re: armv6 and realtek firmware
« Reply #30 on: October 08, 2020, 10:13:31 AM »
Hi stephanmg
Things that need to run before a GUI are started (like kmaps) should go into  /opt/bootsync.sh.
Things that need to run after a GUI are started (like starting a GUI app) should go into  ~/.X.d.
Things that are not sensitive to when they are started should go into  /opt/bootlocal.sh  which runs in the background.

.X.d  is a hidden subdirectory in your home directory. Any files you place in there will have their contents (commands) read
line by line and executed. For example, a file containing:
Code: [Select]
exec aterm &will launch a terminal after the GUI is running. The  &  tells it to launch in the background so it does not block other commands
from being run.

Offline stephanmg

  • Newbie
  • *
  • Posts: 19
Re: armv6 and realtek firmware
« Reply #31 on: October 08, 2020, 12:29:50 PM »
Thanks, great!

I cannot change the subset of the thread... it should really read: "armv6 and realtek firmware".

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11658
Re: armv6 and realtek firmware
« Reply #32 on: October 08, 2020, 04:06:53 PM »
Hi stephanmg
... I cannot change the subset of the thread... it should really read: "armv6 and realtek firmware".
Done.

Offline Greg Erskine

  • Sr. Member
  • ****
  • Posts: 404
Re: armv6 and realtek firmware
« Reply #33 on: October 08, 2020, 04:43:28 PM »
I don't understand how your wifi is working?

I think, firmware-rpi-wifi.tcz is the firmware for Raspberry Pi built-in wifi which is not a Realtek device.

For Realtek you need firmware-rtlwifi.tcz (Did I miss this somewhere in your posts?)

Offline Greg Erskine

  • Sr. Member
  • ****
  • Posts: 404
Re: armv6 and realtek firmware
« Reply #34 on: October 08, 2020, 04:59:04 PM »

Created a shell script:
Code: [Select]
#!/bin/sh
tce-load -i firmware-rpi-wifi
tce-load -i libnl
tce-load -i libudev
tce-load -i libusb
tce-load -i usb-ids
tce-load -i wifi
tce-load -i wireless-4.19.81-piCore
tce-load -i wireless_tools
tce-load -i wpa_supplicant


This script is unnecessary.

/mnt/mmcblk0p2/tce/onboot.lst contains a list extensions to load during boot.

Your onboot.lst should contain something like this:

Code: [Select]
firmware-rtlwifi.tcz
wireless_tools.tcz
wpa_supplicant.tcz

piCore will load these extensions plus ALL their dependencies for you. Load firmware first.

Offline stephanmg

  • Newbie
  • *
  • Posts: 19
Re: armv6 and realtek firmware
« Reply #35 on: October 09, 2020, 01:09:27 PM »
No you did not miss anything.

I am just now realizing this, the firmware must then have been provided by another extension?
I did not load
Code: [Select]
firmware-rtlwifi.tcz by myself.

I don't understand how your wifi is working?

I think, firmware-rpi-wifi.tcz is the firmware for Raspberry Pi built-in wifi which is not a Realtek device.

For Realtek you need firmware-rtlwifi.tcz (Did I miss this somewhere in your posts?)

Offline stephanmg

  • Newbie
  • *
  • Posts: 19
Re: armv6 and realtek firmware
« Reply #36 on: October 09, 2020, 01:10:06 PM »
Thanks! I will make the changes accordingly now on my system.

I stored in /home/tc the extensions I load with my script. Should I then specify the path to these extensions in the onboot.lst? Or can I somehow make these persistent, but preferably not in my /home/tc directory?


Created a shell script:
Code: [Select]
#!/bin/sh
tce-load -i firmware-rpi-wifi
tce-load -i libnl
tce-load -i libudev
tce-load -i libusb
tce-load -i usb-ids
tce-load -i wifi
tce-load -i wireless-4.19.81-piCore
tce-load -i wireless_tools
tce-load -i wpa_supplicant


This script is unnecessary.

/mnt/mmcblk0p2/tce/onboot.lst contains a list extensions to load during boot.

Your onboot.lst should contain something like this:

Code: [Select]
firmware-rtlwifi.tcz
wireless_tools.tcz
wpa_supplicant.tcz

piCore will load these extensions plus ALL their dependencies for you. Load firmware first.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11658
Re: armv6 and realtek firmware
« Reply #37 on: October 09, 2020, 01:34:18 PM »
Hi stephanmg
... I stored in /home/tc the extensions I load with my script. Should I then specify the path to these extensions in the onboot.lst? Or can I somehow make these persistent, but preferably not in my /home/tc directory? ...
Copy the extensions to your  tce/optional/  directory.

Offline stephanmg

  • Newbie
  • *
  • Posts: 19
Re: armv6 and realtek firmware
« Reply #38 on: October 12, 2020, 09:59:05 AM »
Thanks!

Is this the commonly refered to persistent TCE directory?

Hi stephanmg
... I stored in /home/tc the extensions I load with my script. Should I then specify the path to these extensions in the onboot.lst? Or can I somehow make these persistent, but preferably not in my /home/tc directory? ...
Copy the extensions to your  tce/optional/  directory.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11658
Re: armv6 and realtek firmware
« Reply #39 on: October 12, 2020, 10:21:24 AM »
Hi stephanmg
Is this the commonly refered to persistent TCE directory?
Yes it is.

Offline stephanmg

  • Newbie
  • *
  • Posts: 19
Re: armv6 and realtek firmware
« Reply #40 on: October 15, 2020, 06:44:01 AM »
Thank you kindly for confirming.