Changes between Version 1 and Version 2 of gsc/alternate_boot_device
- Timestamp:
- 10/31/2017 08:42:11 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
gsc/alternate_boot_device
v1 v2 155 155 <h3 id="Step2.KernelRootFilesystem">Step 2. Kernel / Root Filesystem</h3> 156 156 <p> 157 Depending on the size of the SPI FLASH you will likely <strong>need to prune features from your kernel/filesystem</strong>. A good starting point may be the Laguna <a class="ext-link" href="http ://svn.gateworks.com/openwrt/trunk/config/cns3xxx/.config_test"><span class="icon"></span>test_config</a> file which uses a ramdisk and a minimal set of utilities used by Gateworks to test boards. As this <a class="wiki" href="/wiki/OpenWrt">OpenWrt</a> config file specifies an INTRAMFS ramdisk, you only need to flash the kernel which includes the root filesystem.157 Depending on the size of the SPI FLASH you will likely <strong>need to prune features from your kernel/filesystem</strong>. A good starting point may be the Laguna <a class="ext-link" href="https://github.com/Gateworks/openwrt/blob/16.02/gateworks/configs/cns3xxx/.config_test"><span class="icon"></span>test_config</a> file which uses a ramdisk and a minimal set of utilities used by Gateworks to test boards. As this <a class="wiki" href="/wiki/OpenWrt">OpenWrt</a> config file specifies an INTRAMFS ramdisk, you only need to flash the kernel which includes the root filesystem. 158 158 </p> 159 159 <ol><li>Use the instructions above to boot from the <strong>Alternate Boot Device</strong> (SPI FLASH) and break out into the bootloader. You can determine that you are booted to the <strong>Alternate Boot Device</strong> by seeing a smaller FLASH size in the boot header or by looking at the output of 'printenv bootcmd' and seeing that it boots a kernel from 0x60080000 (SPI FLASH) instead of 0x10080000 (NOR FLASH)