Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| devdoc:devdoc_switch_i586_x86_64 [2015/11/26 16:35] – [Switching Images between i586 and x86_64] abelbeck | devdoc:devdoc_switch_i586_x86_64 [2020/04/15 11:35] (current) – [Incompatibilities between i586 and x86_64] mkeuter | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Switching Images between i586 and x86_64 ====== | ====== Switching Images between i586 and x86_64 ====== | ||
| - | Beginning | + | Beginning with AstLinux 1.2.5, two new board types were added: genx86_64 and genx86_64-serial. |
| 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. | ||
| - | !!Note -> | + | It should be noted that the RUNNIX bootloader will support either i586 or x86_64 run image architectures. Additionally RUNNIX continues to be a 32-bit x86 image, so at first boot the system will be seen as 32-bit. |
| + | |||
| + | !!Note -> | ||
| + | |||
| + | !!Info ->!! [[devdoc: | ||
| + | |||
| + | ===== Testing for x86_64 support ===== | ||
| + | |||
| + | If this CLI command generates output, then your board should support x86_64: ("Long Mode" CPUID flag) | ||
| + | |||
| + | grep ' | ||
| + | |||
| + | If no output is generated then your board will not support x86_64. | ||
| + | |||
| + | ===== Incompatibilities between i586 and x86_64 ===== | ||
| + | |||
| + | Somewhat surprisingly, | ||
| + | |||
| + | * LDAP-AB using slapd, the ''/ | ||
| + | * Asterisk FOP2 uses a binary blob for either 32 or 64 bit systems, so a new version must be installed. | ||
| + | * The '' | ||
| ===== Upgrade switch to x86_64 (64-bit) or i586 (32-bit) ===== | ===== Upgrade switch to x86_64 (64-bit) or i586 (32-bit) ===== | ||
| Line 13: | Line 34: | ||
| 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 1 - currently | + | Example 1 - Currently |
| upgrade-run-image check http:// | upgrade-run-image check http:// | ||
| Line 20: | Line 41: | ||
| - | Example 2 - currently | + | Example 2 - Currently |
| upgrade-run-image check http:// | upgrade-run-image check http:// | ||
| Line 26: | Line 47: | ||
| upgrade-run-image upgrade http:// | upgrade-run-image upgrade http:// | ||
| - | !!Tip ->!! You may need to first do an '' | + | !!Tip ->!! You may need to first do an '' |
| - | + | ||
| - | ===== Incompatibilities between i586 and x86_64 ===== | + | |
| - | + | ||
| - | Somewhat surprisingly, | + | |
| - | + | ||
| - | * LDAP-AB using slapd, | + | |
| - | * Asterisk FOP2 uses a binary blob for either 32 or 64 bit systems, so a new version must be installed. | + | |
| - | * The '' | + | |
| ===== Rebuilding LDAP-AB (slapd) between i586 and x86_64 ===== | ===== Rebuilding LDAP-AB (slapd) between i586 and x86_64 ===== | ||
| Line 54: | Line 67: | ||
| You could just use the LDAP-AB tab for the backup/ | You could just use the LDAP-AB tab for the backup/ | ||
| - | |||