Difference between revisions of "Novena/Debian installer"

From Studio Kousagi Wiki
Jump to: navigation, search
Line 24: Line 24:
 
  setenv bootargs initrd=0x12a00000 console=ttymxc1,115200 consoleblank=0
 
  setenv bootargs initrd=0x12a00000 console=ttymxc1,115200 consoleblank=0
 
  bootm 0x12000000 0x12a00000 0x11ff0000
 
  bootm 0x12000000 0x12a00000 0x11ff0000
 +
 +
==Signing packages==
 +
Packages live on bunniefoo.com.  To add a package to the repo, run this command:
 +
 +
reprepro -b /mnt/var/spool/kosagi-deb/ -A armhf -V includedeb wheezy [path-to-deb-to-add]

Revision as of 07:37, 13 September 2013

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. It will perform a network install, using either Ethernet port or the wifi card. 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.

There are multiple install methods, and there will be separate boot images for each. Possible options include:

  • Serial port interface
  • LCD/LVDS interface
  • HDMI interface

The various interfaces will be identical, only command line arguments will change.

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

Signing packages

Packages live on bunniefoo.com. To add a package to the repo, run this command:

reprepro -b /mnt/var/spool/kosagi-deb/ -A armhf -V includedeb wheezy [path-to-deb-to-add]