3.6. Ρύθμιση του Υλικού και του Λειτουργικού συστήματος πριν την εγκατάσταση

Η ενότητα αυτή θα σας καθοδηγήσει στη ρύθμιση, αν χρειαστεί, του υλικού σας που θα πρέπει να κάνετε πριν εγκαταστήσετε το Debian.Αυτό περιλαμβάνει συνήθως τον έλεγχο και και πιθανά την αλλαγή κάποιων ρυθμίσεων στο BIOS ή στο firmware του συστήματός σας. Το «BIOS» ή το «firmware του συστήματος» είναι το βασικό λογισμικό που χρησιμοποιείται από το υλικό του υπολογιστή και η πιο κρίσιμη χρήση του είναι κατά τη διαδικασία της πρώτης εκκίνησης (bootstrap) (μετά το άνοιγμα του υπολογιστή).

3.6.1. Επίκληση του OpenFirmware

Συνήθως δεν υπάρχει ανάγκη να ρυθμίσετε το BIOS (γνωστό και σαν OpenFirmware) σε συστήματα αρχιτεκτινικής PowerPC Συστήματα PReP και CHRP είναι εφοδιασμένα με OpenFirmware, αλλά δυστυχώς τα μέσα που χρησιμοποιούνται για την επίκλησή του αλλάζουν από κατασκευαστή σε κατασκευαστή. Θα πρέπει να συμβουλευθείτε την τεκμηρίωση που συνοδεύει το μηχάνημά σας.

Σε συστήματα Macintosh αρχιτεκτονικής PowerPC μπορείτε να μπείτε στο OpenFirmware με τον συνδυασμό πλήκτρων Command (cloverleaf/Apple)+Option+o+fτη στιγμή της εκκίνησης. Γενικά ο έλεγχος γι' αυτόν τον συνδυασμό πλήκτρων γίνεται μετά το χαρακτηριστικό ήχο της εκκίνησης αλλά η ακριβής στιγμή ποικίλει από μοντέλο σε μοντέλο. Δείτε το http://www.netbsd.org/Ports/macppc/faq.html για περισσότερες υποδείξεις.

Η αρχική οθόνη προτροπής του OpenFirmware μοιάζει κάπως έτσι:

ok
0 >

Σημειώστε ότι σε παλιότερα μοντέλα Mac PowerPC o προκαθορισμένος και μερικές φορές hardwired Ι/Ο αλληλεπίδρασης του OpenFirmware με τον χρήστη είναι μέσω της σειριακής (modem) θύρας. Αν μπείτε στο OpenFirmware σε ένα από αυτά τα μηχανήματα θα δείτε μόνο μια μαύρη οθόνη, Στην περίπτωση αυτή ένα πρόγραμμα κονσόλας που τρέχει σε έναν άλλο υπολογιστή συνδεδεμένο στην θύρα του modem χρειάζεται για να αλληλεπιδράσετε με το OpenFirmware.

Το OpenFirmware σε μηχανήματα OldWorld Beige G3, για τις εκδόσεις OF 2.0f1 και 2.4, είναι προβληματικό. Τα μηχανήματα αυτά πιθανότατα δεν μπορούν να εκκινηθούν από τόν σκληρό δίσκο αν δεν επιδιορθωθεί το firmware. Ένα τέτοιο αρχείο επιδιόρθωσης (patch) για το firmware περιέχεται στο βοηθητικό πρόγραμμα System Disk 2.3.1, που είναι διαθέσιμο από την Apple στον σύνδεσμο ftp://ftp.apple.com/developer/macosxserver/utilities/SystemDisk2.3.1.smi.bin. Μετά την αποσυμπίεση της εφαρμογής αυτής στο MacOS και την εκκίνησή της, επιλέξτε το κουμπί Save για την εγκατάσταση των επιδιορθώσεων στη μνήμη nvram.

3.6.2. How to update bare metal ppc64el firmware

This is an excerpt from IBM PowerKVM on IBM POWER8

Open Power Abstraction Layer (OPAL) is the system firmware in the stack of POWER processor-based server.

There may be instances when the user might have to upgrade the Power Systems firmware to a more recent level to acquire new features or additional support for devices.

Make sure that the following requirements are met:

  • an OS to be running on the system;

  • the .img file of the OPAL level that the user needs to update to;

  • the machine isn't under HMC control.

Power Systems has two sides of flash to boot firmware from, namely permanent and temporary. This provides a way to test firmware updates on the temporary side of the flash before committing the tested changes to the permanent side, thereby committing the new updates.

Perform the following steps for the update:

  1. Save the level of the existing firmware before really updating. In ASM, in the system menu, click Service Aids ??? Service Processor Command Line, and run the following command:

    cupdcmd -f
    

  2. Download the .img file of the level of firmware to be updated to a location in the host filesystem. Refer to IBM Fix Central for downloading the image file.

    Verify the image downloaded by running the following command and save the output.

    $update_flash -v -f <file_name.img>
    

  3. Update the firmware by running the following command.

    $update_flash -f <file_name.img>
    

    [Σημείωση] Σημείωση

    • The command reboots the system and therefore, sessions if any, would be lost.

    • Do not reboot or switch off the system until it is back.

  4. Verify the updated firmware level of the temporary side of the flash as in step 1.

  5. In case the update has to be reverted, the user can do so by running this command:

        $update_flash -r
    

    Rejection would reject only the temporary side of the flash. Therefore, the new level should be committed to the permanent side only after thorough testing of the new firmware.

    The new updated level can be committed to the permanent side of the flash by running the following command.

    $update_flash -c
    

3.6.3. Updating KVM guest firmware (SLOF)

Slimline Open Firmware (SLOF) is an implementation of the IEEE 1275 standard. It can be used as partition firmware for pSeries machines running on QEMU or KVM.

The package qemu-slof is, in fact, a dependency of package qemu-system-ppc (which also provides the virtual package qemu-system-ppc64), and can be installed or updated via apt-get tool on Debian-based distros. Like so:

# apt-get install qemu-slof

SLOF can also be installed into rpm-based distribution systems, given the proper repository or rpm package. Additionally, the upstream source code is available at http://github.com/leilihh/SLOF.

Thus, one can use a different SLOF file rather than the default, when running qemu-system, by adding the command line argument -bios <slof_file> when starting qemu.

3.6.4. Ζητήματα που θα πρέπει να προσέξετε για το υλικό

Ορατότητα οθόνης σε μηχανήματα OldWorld Powermac. Μερικά μηχανήματα OldWorld Powermac, ιδιαίτερα αυτά με τον οδηγό οθόνης «control», μπορεί να μην παράγουν αξιόπιστα έναν χάρτη χρωμάτων (colormap) στο Linux αν η οθόνη είναι ρυθμισμένη για περισσότερα από 256 χρώματα. Αν αντιμετωπίζετε τέτοια προβλήματα με την οθόνη σας μετά την επανεκκίνηση (μερικές φορές μπορεί να δείτε δεδομένα στην οθόνη αλλά σε άλλες περιπτώσεις να μην μπορείτε να δείτε ο,τιδήποτε) ή αν η οθόνη γίνεται μαύρη μετά την εκκίνηση του εγκαταστάτη αντί να σας εμφανίζει την διεπαφή χρήστη, προσπαθήστε να αλλάξετε τις ρυθμίσεις της οθόνης σας στο MacOS ώστε να χρησιμοποιεί 256 αντί για «χιλιάδες» ή «εκατομμύρια» χρώματα.