WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Booting 32bit TC from 64bit efi boots to blank screen with underscore  (Read 21371 times)

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Booting 32bit TC from 64bit efi boots to blank screen with underscore
« Reply #15 on: July 06, 2019, 07:28:59 PM »
Hi jimmyjohn

I noticed you're still bootiing with the cde bootcode??
Code: [Select]
Kernel command line: BOOT_IMAGE=/boot/vmlinuz loglevel=3 cde vga=791
What is the ouput of
Code: [Select]
realpath /etc/sysconfig/tcedir
See section 10.1 of the corebook

Also when you can access the wifi extension and all it's dependencies, load it
Code: [Select]
tce-load -i wifi
then
Code: [Select]
dmesg > ~/dmesg.txtagain to check which firmware the wifi module is really attempting to load

« Last Edit: July 06, 2019, 07:40:49 PM by coreplayer2 »

Offline jimmyjohn

  • Newbie
  • *
  • Posts: 33
Re: Booting 32bit TC from 64bit efi boots to blank screen with underscore
« Reply #16 on: July 06, 2019, 07:40:16 PM »
The output of showbootcodes is now: "BOOT_IMAGE=/boot/vmlinuz loglevel=3 waitusb=5 TCE vga=791"

tce-load -i wifi result is:  "wifi is already installed!"

And I have attached the new dmesg output

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Booting 32bit TC from 64bit efi boots to blank screen with underscore
« Reply #17 on: July 06, 2019, 08:00:37 PM »
The output of showbootcodes is now: "BOOT_IMAGE=/boot/vmlinuz loglevel=3 waitusb=5 TCE vga=791"
Great [emoji106]

But please see section 10.1 of the corebook

tce=sdb1   (Lower case) is acceptable

Then when you’ve fixed up tce bootcode
What is the ouput of
Code: [Select]
realpath /etc/sysconfig/tcedir



Sent from my iPhone using Tapatalk

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Booting 32bit TC from 64bit efi boots to blank screen with underscore
« Reply #18 on: July 06, 2019, 08:23:49 PM »
Also,  at first glance I don’t see any registered Wi-Fi device in dmesg.  But will check thoroughly after returning home


I’m guessing Wifi is disabled?  Try “fn 12” key on keyboard

And download and install pci-utils.tcz extension
Then run this command and upload here
Code: [Select]
lspci



Sent from my iPhone using Tapatalk

Offline jimmyjohn

  • Newbie
  • *
  • Posts: 33
Re: Booting 32bit TC from 64bit efi boots to blank screen with underscore
« Reply #19 on: July 06, 2019, 09:39:03 PM »
realpath is
Code: [Select]
/mnt/sda1/tce
Initially I tried to use the UUID for the tce directory, as specificed in 10.1 of the corebook, but it didn't work for some reason.  Since it is technically valid to not have a tce entry (just potentially slower), I removed it altogether for now.

I have attached the results of lspci.  The very last line shows the network controller (Intel 7265).  So clearly TC can see it is there.  I don't have a keyboard with a function key other than my laptop keyboard, so that one is a bit difficult for me but I don't know why it would be turned off for x86 but not when I boot x64.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Booting 32bit TC from 64bit efi boots to blank screen with underscore
« Reply #20 on: July 06, 2019, 09:44:32 PM »
Ok great

So the driver is not being installed for some reason.

check that wireless-4.19.10-tinycore which contains the driver (iwlwifi I believe) is being loaded
Code: [Select]
ls /usr/local/tce.installed | grep wireless
« Last Edit: July 06, 2019, 09:48:42 PM by coreplayer2 »

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Booting 32bit TC from 64bit efi boots to blank screen with underscore
« Reply #21 on: July 06, 2019, 09:53:24 PM »
The firmware extension is  firmware-iwlwifi.tcz

this extension should be loaded first, then wifi.tcz  which in turn loads wireless-4.19.10-tinycore

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Booting 32bit TC from 64bit efi boots to blank screen with underscore
« Reply #22 on: July 06, 2019, 10:04:41 PM »
Some maintenance,  while connected via Ethernet first open APPS

then go to Apps menu > Maintenance > Dependencies & Deletions

Then from the Dependencies menu > select "update dep files"
then select "Fetch Missing Dependencies"

In Apps >  Maintenance > "Onboot Maintenance"
Check onboot.lst  make sure that from the top, firmware-iwlwifi extension is listed before wifi, else fix that

reboot

Then you should get something like this
Code: [Select]
tc@box:~$ ls /usr/local/tce.installed | grep wireless
wireless-4.19.10-tinycore
wireless_tools
Code: [Select]
tc@box:~$ dmesg | grep iwlwifi
[   22.843881] iwlwifi 0000:03:00.0: enabling device (0000 -> 0002)
[   22.846639] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-8000C-36.ucode failed with error -2
[   22.846640] iwlwifi 0000:03:00.0: Falling back to syfs fallback for: iwlwifi-8000C-36.ucode
[   22.940196] iwlwifi 0000:03:00.0: loaded firmware version 36.9f0a2d68.0 op_mode iwlmvm
[   22.961629] iwlwifi 0000:03:00.0: Detected Intel(R) Dual Band Wireless AC 8260, REV=0x208
[   23.041719] iwlwifi 0000:03:00.0: base HW address: f4:8c:50:6b:a6:7a
« Last Edit: July 06, 2019, 10:09:58 PM by coreplayer2 »

Offline jimmyjohn

  • Newbie
  • *
  • Posts: 33
Re: Booting 32bit TC from 64bit efi boots to blank screen with underscore
« Reply #23 on: July 06, 2019, 10:48:23 PM »
I have them listed to load in that order in onboot.lst, but for some reason they weren't loading and neither the firmware nor the wireless-4.19.10-tinycore were showing.  However, I downloaded those tcz's once more and deleted and replaced the previous ones and they are all loading and showing up, but wifi is still not finding the wlan.  I am going to try and re-download all of the dependencies as well and see if that makes a difference.

I don't have Ethernet on the device :-(  I am having to download the tcz's manually

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Booting 32bit TC from 64bit efi boots to blank screen with underscore
« Reply #24 on: July 06, 2019, 11:13:08 PM »
I am going to try and re-download all of the dependencies as well and see if that makes a difference.

I don't have Ethernet on the device :-(  I am having to download the tcz's manually
Yes this is the problem.  You need all *.tcz files and *.tcz.dep file if they exist  as listed in
http://repo.tinycorelinux.net/10.x/x86/tcz/wifi.tcz.tree

good luck

Offline jimmyjohn

  • Newbie
  • *
  • Posts: 33
Re: Booting 32bit TC from 64bit efi boots to blank screen with underscore
« Reply #25 on: July 07, 2019, 12:11:51 AM »
Well, I re-downloaded and confirmed all of them.  Same problem.  So I booted leaving all of them off of the onboot.lst, then I manually installed them in dependency order using tce-load, and now it is working!  It seems that the 64bit OS automatically loads the dependencies as long as they are in the optional directory, however, the 32bit version does not and needs them each to be listed explicitly.

Anyway, on to the next issue!  How to access the eMMC!

Thanks for your help thus far!

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: Booting 32bit TC from 64bit efi boots to blank screen with underscore
« Reply #26 on: July 07, 2019, 04:06:10 AM »
There's no such difference between 32 and 64-bit. It sounds like a dep file was not downloaded somewhere, a common oversight when downloading manually.
The only barriers that can stop you are the ones you create yourself.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11703
Re: Booting 32bit TC from 64bit efi boots to blank screen with underscore
« Reply #27 on: July 07, 2019, 10:14:23 AM »
Hi jimmyjohn
Here is the tree file with its entries sorted alphabetically and duplicates removed:
Code: [Select]
tc@box:~/zz$ awk '$1=$1' wifi.tcz.tree | sort -u
libiw.tcz
libnl.tcz
ncursesw.tcz
openssl.tcz
readline.tcz
wifi.tcz
wireless-4.19.10-tinycore.tcz
wireless_tools.tcz
wpa_supplicant.tcz
tc@box:~/zz$
Make sure you have both the  .tcz  files and the  .tcz.dep  files for each extension that has one.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Booting 32bit TC from 64bit efi boots to blank screen with underscore
« Reply #28 on: July 07, 2019, 03:14:18 PM »
Well, I re-downloaded and confirmed all of them.  Same problem.  So I booted leaving all of them off of the onboot.lst, then I manually installed them in dependency order using tce-load, and now it is working!
We have been trying to impress upon you that there are many dependencies to download.  By now you're probably getting the idea that it's not just having the dependencies, but equally important (if not more so) to have every extension's dep list as well. without the dep lists tce-load will not know to install any deps and herein lies your problem.


Thanks to Rich for kindly sorting the tree file

This is the full list (of 14 files not counting the firmware file) required to get wifi operational, note that some extensions have a " .dep " name extension  without these tce-load will not load any of wifi.tcz's dependencies.  This is the underlining problem you're experiencing.
Code: [Select]
libiw.tcz
libnl.tcz
ncursesw.tcz
openssl.tcz
readline.tcz
readline.tcz.dep
wifi.tcz
wifi.tcz.dep
wireless-4.19.10-tinycore.tcz
wireless-4.19.10-tinycore.tcz.dep
wireless_tools.tcz
wireless_tools.tcz.dep
wpa_supplicant.tcz
wpa_supplicant.tcz.dep

1. You can download all the required files listed above.  Or If this seems like a daunting task!  Then you can
2. download the CorePlus.ISO and copy the needed files from it's cde/optional store..  Or
3. you can connect to the internet somehow and use APPS (the application manager) to update deps as described in an earlier post here.

When you have all the required files in place you can simply
tce-load -i firmware-iwlwifi.tcz
tce-load -i wifi.tcz

then run wifi from either the icon or from the command line
Code: [Select]
sudo wifi.sh
good luck

Offline jimmyjohn

  • Newbie
  • *
  • Posts: 33
Re: Booting 32bit TC from 64bit efi boots to blank screen with underscore
« Reply #29 on: July 07, 2019, 09:40:02 PM »
Thank you both for the recommendations.  I was ale to complete this last night and get everything working for WiFi.  Now that I can use the apps manager, I don't have to do this manually anymore :-)

Would either of you have any ideas about next steps to take to get TC to recognize the built in eMMC and SD card reader?

I know from the computer's EFI documentation that the eMMC is an embedded bootable device, but the SD card slot is not.  I manually installed TC to the eMMC by copying the install from the USB to the eMMC, but I had to use a different bootable linux distro to accomplish this since TC is not showing the eMMC as mountable.  Even after that, booting takes me only to a terminal.  I have not tried anything with the sd card reader yet, but have started researching.