devdoc:devdoc_switch_i586_x86_64

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
devdoc:devdoc_switch_i586_x86_64 [2015/11/26 14:55]
abelbeck [Upgrade switch to x86_64 (64-bit) or i586 (32-bit)]
devdoc:devdoc_switch_i586_x86_64 [2015/11/27 08:59]
droemel [Switching Images between i586 and x86_64]
Line 8: Line 8:
  
 !!Note ->!!  With custom builds, the ''.config'' Buildroot config file determines what architecture is used.  The build-system command ''./scripts/build board_type'' allows you to qualify that ''.config'' options to a specific board type.  In other words, building with ''./scripts/build genx86_64-serial'' will not by itself generate a x86_64 image, you must first ''cp x86_64-configs/astlinux-ast11.config .config'' to make it happen. !!Note ->!!  With custom builds, the ''.config'' Buildroot config file determines what architecture is used.  The build-system command ''./scripts/build board_type'' allows you to qualify that ''.config'' options to a specific board type.  In other words, building with ''./scripts/build genx86_64-serial'' will not by itself generate a x86_64 image, you must first ''cp x86_64-configs/astlinux-ast11.config .config'' to make it happen.
 +
 +!!Info ->!! [[devdoc:boardtypes|List of board types]]
 ===== Incompatibilities between i586 and x86_64 ===== ===== Incompatibilities between i586 and x86_64 =====
  
Line 23: Line 25:
   Usage: upgrade-run-image check|upgrade|show|revert firmware_repository_url [32|64]   Usage: upgrade-run-image check|upgrade|show|revert firmware_repository_url [32|64]
  
-Example 1Currently using geni586 or geni586-serial image, switch to 64-bit:+Example 1 Currently using geni586 or geni586-serial image, switch to 64-bit:
  
   upgrade-run-image check http://bla-bla.tld/beta-firmware-1.x 64   upgrade-run-image check http://bla-bla.tld/beta-firmware-1.x 64
Line 30: Line 32:
  
  
-Example 2Currently using genx86_64 or genx86_64-serial image, switch to 32-bit:+Example 2 Currently using genx86_64 or genx86_64-serial image, switch to 32-bit:
  
   upgrade-run-image check http://bla-bla.tld/beta-firmware-1.x 32   upgrade-run-image check http://bla-bla.tld/beta-firmware-1.x 32
Line 36: Line 38:
   upgrade-run-image upgrade http://bla-bla.tld/beta-firmware-1.x 32   upgrade-run-image upgrade http://bla-bla.tld/beta-firmware-1.x 32
  
-!!Tip ->!! You may need to first do an ''upgrade-run-image revert'' (no reboot) to be able to upgrade.+!!Tip ->!! You may need to first do an ''upgrade-run-image revert'' (no reboot) to be able to upgrade if the repo versions match.
  
 ===== Rebuilding LDAP-AB (slapd) between i586 and x86_64 ===== ===== Rebuilding LDAP-AB (slapd) between i586 and x86_64 =====
  • devdoc/devdoc_switch_i586_x86_64.txt
  • Last modified: 2020/04/15 06:35
  • by mkeuter