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
Last revision Both sides next revision
devdoc:devdoc_switch_i586_x86_64 [2015/11/27 08:59]
droemel [Switching Images between i586 and x86_64]
devdoc:devdoc_switch_i586_x86_64 [2020/04/15 06:35]
mkeuter [Incompatibilities between i586 and x86_64]
Line 1: Line 1:
 ====== Switching Images between i586 and x86_64 ====== ====== Switching Images between i586 and x86_64 ======
  
-Beginning with SVN r7353 and officially with AstLinux 1.2.5, two new board types were added: genx86_64 and genx86_64-serial.  These boards are x86_64 builds using a 64-bit toolchain, initrd and Linux kernel.+Beginning with AstLinux 1.2.5, two new board types were added: genx86_64 and genx86_64-serial.  These boards are x86_64 builds using a 64-bit toolchain, initrd and Linux kernel.
  
 In general, users will be advised to choose either a geni586[-serial] or genx86_64[-serial] install image and stick with that board type, but developers may want to take a shortcut and switch between i586 and x86_64. In general, users will be advised to choose either a geni586[-serial] or genx86_64[-serial] install image and stick with that board type, but developers may want to take a shortcut and switch between i586 and x86_64.
Line 10: Line 10:
  
 !!Info ->!! [[devdoc:boardtypes|List of board types]] !!Info ->!! [[devdoc:boardtypes|List of board types]]
 +
 +===== Testing for x86_64 support =====
 +
 +If this CLI command generates output, then your board should support x86_64: ("Long Mode" CPUID flag)
 +
 +  grep '^flags.* lm ' /proc/cpuinfo
 +
 +If no output is generated then your board will not support x86_64.
 +
 ===== Incompatibilities between i586 and x86_64 ===== ===== Incompatibilities between i586 and x86_64 =====
  
Line 16: Line 25:
   * LDAP-AB using slapd, the ''/mnt/kd/ldap/data/data.mdb'' database is specific to 32 or 64 bits and needs to be rebuilt.   * LDAP-AB using slapd, the ''/mnt/kd/ldap/data/data.mdb'' database is specific to 32 or 64 bits and needs to be rebuilt.
   * Asterisk FOP2 uses a binary blob for either 32 or 64 bit systems, so a new version must be installed.  Your configuration should continue to work.   * Asterisk FOP2 uses a binary blob for either 32 or 64 bit systems, so a new version must be installed.  Your configuration should continue to work.
-  * The ''initrd.img'' file that accompanies the run image is specific to 32 or 64 bits, usually not a problem. **Do not** ''revert'' to a different architecture and reboot.+  * The ''initrd.img'' file that accompanies the run image is specific to 32 or 64 bits, usually not a problem. \\**Do not** ''revert'' to a different architecture and reboot!
  
 ===== Upgrade switch to x86_64 (64-bit) or i586 (32-bit) ===== ===== Upgrade switch to x86_64 (64-bit) or i586 (32-bit) =====
Line 58: Line 67:
  
 You could just use the LDAP-AB tab for the backup/restore, but using cat/add also restores the passwords. You could just use the LDAP-AB tab for the backup/restore, but using cat/add also restores the passwords.
- 
  • devdoc/devdoc_switch_i586_x86_64.txt
  • Last modified: 2020/04/15 06:35
  • by mkeuter