[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
slackwarearm:inst_sa64_lx2160a_honeycomb [2024/01/08 14:36 (UTC)] mozesslackwarearm:inst_sa64_lx2160a_honeycomb [2024/05/13 11:56 (UTC)] (current) mozes
Line 2: Line 2:
  
 ====== Slackware ARM on a Honeycomb LX2K Workstation ====== ====== Slackware ARM on a Honeycomb LX2K Workstation ======
 +
 +<note warning>Jan 2024 - Work in progress. HoneyComb LX2 support is complete - just instructions need to be finished.</note>
  
 ^  ^ Target ^ ^  ^ Target ^
 | Platform | AArch64/ARM64 |  | Platform | AArch64/ARM64 | 
 | Hardware Model |Solid-Run Honeycomb LX2K (lx2160Acex7) Workstation | | Hardware Model |Solid-Run Honeycomb LX2K (lx2160Acex7) Workstation |
-| Document Version | 1.00November 2023 |+| Document Version | 1.01January 2024 |
 | Author | Brenton Earl <el0226@slackware> | | Author | Brenton Earl <el0226@slackware> |
 | Contributors | Stuart Winter <mozes@slackware> | | Contributors | Stuart Winter <mozes@slackware> |
Line 57: Line 59:
 ^ SD Card | Gigastone 32GB Micro SD Card (UHS-I U1 A1 Class 10) | Great performance and mostly reliable | ^ SD Card | Gigastone 32GB Micro SD Card (UHS-I U1 A1 Class 10) | Great performance and mostly reliable |
 ^ USB Memory | SanDisk 16GB Cruzer USB 2.0 Flash Drive or similar | Stores installer image on first installation | ^ USB Memory | SanDisk 16GB Cruzer USB 2.0 Flash Drive or similar | Stores installer image on first installation |
-^ GPU (PCIe port) | AMD RX550 2GB GPU | works out of the box with Slackware ARM and has 1 DVI and 1 HDMI port. NVidia GPUs are not recommended.  No driver for aarch64 | +^ GPU (PCIe port) | AMD RX550 4GB GPU | works out of the box with Slackware ARM and has 1 DVI and 1 HDMI port. NVidia GPUs are not recommended.  No driver for aarch64 | 
 ^ Monitor | Modern LCD or LED | Any monitor that uses HDMI or DVI inputs | ^ Monitor | Modern LCD or LED | Any monitor that uses HDMI or DVI inputs |
 ^ Network | Asix USB 3.0 to Ethernet adapter | It was reported some time ago that the On-board ethernet port does not work until kernel firmware is installed. | ^ Network | Asix USB 3.0 to Ethernet adapter | It was reported some time ago that the On-board ethernet port does not work until kernel firmware is installed. |
Line 165: Line 167:
 An EFI partition is required for the UEFI firmware and GRUB boot loader to load Slackware ARM on the Honeycomb.  It is required that the EFI partition be no less than 100 MB and recommended to be no greater than 300 MB.  There are many partition layouts possible and many variations.  In this guide it is assumed that one SATA 3.0 solid state drive (SSD) be partitioned with an EFI partition, a swap space, and the root partition.  Finally, the partition table should be of type **gpt**. An EFI partition is required for the UEFI firmware and GRUB boot loader to load Slackware ARM on the Honeycomb.  It is required that the EFI partition be no less than 100 MB and recommended to be no greater than 300 MB.  There are many partition layouts possible and many variations.  In this guide it is assumed that one SATA 3.0 solid state drive (SSD) be partitioned with an EFI partition, a swap space, and the root partition.  Finally, the partition table should be of type **gpt**.
  
-**EFI System type is 'ef'.**+<note warning>The next steps require that the root disk will be wiped of the disk label, partition table, and all data backed up to another drive</note> 
 + 
 +Clear the disk label to assure the drive is empty: 
 +<code>gdisk /dev/sda</code> 
 +In the prompt, choose the "**x**" option and then the "**z**" option in gdisk.  This will remove all disk labels. 
 + 
 +Format the drive: 
 +<code>fdisk /dev/sda</code> 
 + 
 +Use the "**g**" option first to use a GPT disk label.  The UEFI firmware provided by the vendor has difficulty with a msdos disklabel.  Stick with GPT. 
 + 
 +<note tip>Partition types can be set textually with "**swap**", "**uefi**", "**linux**". This saves time and effort in fdisk to avoid remembering the partition type codes.</note> 
 + 
 +**TODO: add screenshot**
  
 Basic partition table: Basic partition table:
Line 185: Line 200:
 <code># ntpdate clock.akamai.com <code># ntpdate clock.akamai.com
 # hwclock -w</code> # hwclock -w</code>
- 
-Next, format the swap partition.  The **/dev/sdX** is a placeholder and should be changed to the block device of your swap partition. 
- 
-<code># mkswap /dev/sdX</code> 
- 
- 
  
 ===== Launch the Installer ===== ===== Launch the Installer =====
Line 237: Line 246:
 <note warning> <note warning>
 Skipping this process will leave your system in a state that is unsupported.  While the UEFI firmware is present on a SD Card it will not reboot successfully. Attempting to reboot after the installation process completes causes a boot failure. The work around is to use the “poweroff” command at that stage. There is no issue rebooting while the UEFI firmware exists in SPI flash.</note> Skipping this process will leave your system in a state that is unsupported.  While the UEFI firmware is present on a SD Card it will not reboot successfully. Attempting to reboot after the installation process completes causes a boot failure. The work around is to use the “poweroff” command at that stage. There is no issue rebooting while the UEFI firmware exists in SPI flash.</note>
 +
 ===== Finishing Up the Installation ===== ===== Finishing Up the Installation =====
 The remaining installation steps initiated by the **setup** command are left up to the reader to answer. You will be asked to pick the services you want to activate, amongst other custom options. The remaining installation steps initiated by the **setup** command are left up to the reader to answer. You will be asked to pick the services you want to activate, amongst other custom options.
Line 252: Line 262:
 <code># poweroff </code> <code># poweroff </code>
  
-Remove the USB thumb drive and power on the Honeycomb. When you are prompted to hit the **Escape** key, do so.  Enter the **Boot Maintenance Manager**.+== HoneyComb LX2 Boot Configuration ==
  
-{{:slackwarearm:07-uefi-boot-maintenance-manager-honeycomb-lx2k.png?600|}}+<note important>Ensure that the HoneyComb LX2 is powered off</note>
  
-Change the Boot Order in the menu so that the root disk is at the top of the list.  Make sure you save or commit your changes.+The DIP switches need to be changed to make the SPI flash be the location from which the HoneyComb LX2 will boot its firmware.
  
-{{:slackwarearm:08-uefi-change-boot-order-honeycomb-lx2k.png?600|}}+<note>All DIP switches should be adjusted to "**off**".</note>
  
-Exit to the main menu of the UEFI interface and select **reset**.  This time do not interrupt the boot process by pressing the **Escape** key. You will be presented with a GRUB menu very similar to the menu offered by the Slackware ARM installer image.+{{:slackwarearm:hc-dips-off-spi.png?400|}}
  
-Make your menu choice and boot into your fresh Slackware Aarch64 system.+== Configure the Firmware's Boot order ==
  
-{{:slackwarearm:10-final-grub-boot-honeycomb-lx2k.png?400|}}+ 
 +  * Remove the USB thumb drive containing the Slackware Installer 
 +  * Power on the HoneyComb. 
 + 
 +{{:slackwarearm:slackarm-hc-firmwarebooting.jpg?400|}} 
 + 
 +{{:slackwarearm:slackarm-hc-firmware-esc.jpg?400|}} 
 + 
 + 
 +When you are prompted, press the **Escape** key (you may need to press it a couple of times): 
 + 
 +Use the cursor keys to scroll down to 'Boot Maintenance Manager' 
 + 
 +{{:slackwarearm:slackarm-hc-firmwarebootorder-1.png?400|}} 
 + 
 +Press Enter on 'Boot Options' 
 + 
 +{{:slackwarearm:slackarm-hc-firmwarebootorder-2.png?400|}} 
 + 
 +Press Enter on 'Change Boot Order' 
 + 
 +{{:slackwarearm:slackarm-hc-firmwarebootorder-3.png?400|}} 
 + 
 +{{:slackwarearm:slackarm-hc-firmwarebootorder-4.png?400|}} 
 + 
 +Press **Enter** to bring up the selection menu. 
 + 
 +Use the cursor keys within the menu to locate the block storage device on which you installed Slackware. 
 +In this example it's a Kingston SSD: 
 + 
 +{{:slackwarearm:slackarm-hc-firmwarebootorder-5.png?400|}} 
 + 
 +  * Use the '-' or '+' keys to change the position of your selected storage device so that it appears at the top of the menu. 
 +  * Press Enter to confirm its position in the menu 
 + 
 +{{:slackwarearm:slackarm-hc-firmwarebootorder-6.png?400|}} 
 + 
 + 
 +Ensure that your selected block storage device is at the top of the menu.  If not, press Enter again 
 + 
 +{{:slackwarearm:slackarm-hc-firmwarebootorder-7.png?400|}} 
 + 
 +Press **F10** to bring up the 'Save Settings' dialog, and press **Y** to confirm. 
 + 
 +{{:slackwarearm:slackarm-hc-firmwarebootorder-8.png?400|}} 
 + 
 + 
 +Return to the main menu. 
 +You'll need to press ESCAPE a few times (note: the menu has a second or more latency before it responds) 
 + 
 +{{:slackwarearm:slackarm-hc-firmwarebootorder-9.png?400|}} 
 + 
 +{{:slackwarearm:slackarm-hc-firmwarebootorder-10.png?400|}} 
 + 
 +Finally, use the cursor keys to select 'Reset' and press Enter. 
 + 
 +{{:slackwarearm:slackarm-hc-firmwarebootorder-11.png?400|}} 
 + 
 + 
 +This time do not interrupt the boot process by pressing the **Escape** key. You will be presented with a GRUB menu very similar to the menu offered by the Slackware ARM installer image. 
 + 
 +{{:slackwarearm:slackarm-hc-osboot.jpg?400|}} 
 + 
 +The system will now boot into the OS. 
 + 
 +<note tip>You can also boot into the firmware menu from here in case you miss the opportunity during the initial boot</note>
  
 Installation is now complete.  Slack on! Installation is now complete.  Slack on!
  
 {{:slackwarearm:09-first-boot-honeycomb-lx2k.png?500|}} {{:slackwarearm:09-first-boot-honeycomb-lx2k.png?500|}}
-====== First Boot ====== +
-Nothing of note presently.+
 ====== Useful Guides and Resources ====== ====== Useful Guides and Resources ======
   * [[https://www.linuxquestions.org/questions/slackware-arm-108/ | Slackware ARM Support Forum]]   * [[https://www.linuxquestions.org/questions/slackware-arm-108/ | Slackware ARM Support Forum]]
 slackwarearm:inst_sa64_lx2160a_honeycomb ()