Novena/Debian installer

From Studio Kousagi Wiki
Revision as of 07:12, 11 September 2013 by Xobs (talk | contribs) (Created page with "The installer resides on the internal MMC, and will activate if: # A boot image cannot be found (e.g. fatload fails) # If the recovery button is held down during boot The insta...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The installer resides on the internal MMC, and will activate if:

  1. A boot image cannot be found (e.g. fatload fails)
  2. If the recovery button is held down during boot

The installer consists of an initrd and a command line tailored to boot it. A preconfiguration file is present to add the Kosagi Debian mirror to the selection process, which adds support for the Novena U-Boot and kernel packages, as well as (possibly) non-free binaries.

To actually load the Debian installer rfs, kernel, and device tree file, use the following U-Boot script:

setenv mmcdev 1
mmc rescan
mmc dev ${mmcdev}
fatload mmc ${mmcdev} 0x11ff0000 /d/uimage.dtb
fatload mmc ${mmcdev} 0x12000000 /uimage-novena.bin
fatload mmc ${mmcdev} 0x12a00000 /d/uinitrd
setenv bootargs initrd=0x12a00000 console=ttymxc1,115200 consoleblank=0
bootm 0x12000000 0x12a00000 0x11ff0000