Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # This file contains boot-up definitions and configuration for ubiboot-02.
- # The usual stuff applies, if you do not understand what a setting means tweaking it might well
- # make your device unbootable. This is a friendly warning to ya.
- #
- # The name of the archive containing the loadable part of ubiboot FS.
- # This is a cpio file located in the same directory as this file.
- #
- G_UBIBOOT_ARCHIVE="ubiboot-02.menus.cpio"
- # Enable timeout for the main boot menu. If this is set to 0 then we will wait forever
- # for user interaction in the menu... propably not a wise selection.
- # If timeout is specified and reached, the default OS & kernel are booted.
- #
- G_MENU_TIMEOUT=1
- # Exported partitions if USB is connected.
- # Even if you set this to (none), you can export these manually when you telnet to the device.
- # Exporting them all is handy for backup purposes as you can then tar off everything on a partition
- # to external computer. Note that windows computers cannot normally mount ext2 partitions...
- # This could be thought as a minor security breach, but then again, same thing can always be accomplished
- # using flasher and maintanace boot so I do not see this as an additional high risk...
- #
- G_EXPORTED_PARTITONS="/dev/mmcblk0" # This exports all partitons of the device
- #G_EXPORTED_PARTITONS="/dev/mmcblk0p1" # this exports just the Mydocs partiton
- #G_EXPORTED_PARTITONS="/dev/mmcblk0p2" # this exports just the root partition
- #G_EXPORTED_PARTITONS="/dev/mmcblk0p3" # this exports just the home partiton
- #G_EXPORTED_PARTITONS="/dev/mmcblk0p4" # this exports just the nemo partition
- #G_EXPORTED_PARTITONS="/dev/mmcblk0p5" # some people have more than 4 partitions
- #G_EXPORTED_PARTITONS="/dev/mmcblk0p6" # ...
- #G_EXPORTED_PARTITONS="/dev/mmcblk0p7" # ...
- #G_EXPORTED_PARTITONS="/dev/mmcblk0p8" # ...
- #G_EXPORTED_PARTITONS="/dev/mmcblk0p9" # ...
- #G_EXPORTED_PARTITONS="" # this turns off partition exporting
- # Start DHCP server on the USB, to give address for a host for telnet access.
- # If this is set to 0, you must ifconfig the interface yourself to access the device.
- #
- G_START_DHCP_SERVER=1
- # Enable telnet server on the device.
- # If the USB is connected when the device boots, no menu will be shown and instead you may login
- # to the device for maintanance purposes.
- # This could be thought as a minor security breach, since no password is required.
- # However, same thing can always be accomplished using flasher and maintanace boot so I do not see
- # this as an additional high risk...
- #
- G_START_TELNET_SERVER=1
- # Enable SSH server on the device.
- # If the USB is connected when the device boots, no menu will be shown and instead you may login
- # to the device for maintanance purposes.
- # This is better than telnet as you need to use the harmattan root password to login to the device.
- # Hey, of course you have changed the default password from "rootme" to something else? What, not? hmmm...
- # Unfortunately this is not ready yet... I need to rebuild the SSH server to not bitch about missing PAM's...
- # ... hence not enabled :)
- #
- G_START_SSH_SERVER=0
- # Settings related to device powerup in special modes.
- # Set mode to 0 if you do not want device to power up in default OS if waking up due to event.
- # In order for these to work correctly, you need to have G_DEFAULT_OS and G_DEFAULT_KERNEL set to something
- # sensible, preferrably to Harmattan & default kernel.
- #
- G_OVERRIDE_RTC_ALARM_BOOT=1
- G_OVERRIDE_USB_CHARGER_BOOT=1
- # Init scripts for different OS'es. Make sure that you have these in place, or else booting will fail.
- # Note that you have to escape the forward slashes here as this is a substituting expression in sedscript...
- #
- G_HARMATTAN_INITSCRIPT="\/sbin\/preinit_harmattan"
- G_NITDROID_INITSCRIPT="\/sbin\/preinit_nitdroid"
- G_NEMO_INITSCRIPT="\/sbin\/init"
- # List of mountable partitions containing bootable kernels.
- # Normally you need to have at least /mnt/2 and /mnt/4 mounted, but if you keep your kernels in unusual
- # locations you need to modify this.
- #
- G_MOUNTABLE_PARTITONS="/mnt/2 /mnt/4"
- # Now follow the bootable OS'es and kernels on the device, this is the structure of the 2nd level menu.
- # Due to screen resolution issues, the maximum length of the kernel label is 30 characters.
- #
- # - Each OS has 6 slots for kernels, but all need not be defined. Each used slot needs a G_<osname>_<n>_LABEL
- # that defines the text shown on the menu line and G_<osname>_<n>_FILE which defines the kernel-to-boot, path
- # is relative to the ubiboot FS.
- # - The G_<osname>_NUM parameter defines the number of kernel lines shown on the 2nd level menu.
- # Be careful to NOT give values in this variable exceeding the number of your used slots.
- # - The G_<osname>_AUTOBOOT defines the slot that is used to boot automatically, user does not need to press
- # the kernel line to boot this selection. Useful only if you have just one kernel line defined for an OS.
- # Setting this variable to zero disables the autoboot on the OS entry.
- #
- # Nitdroid kernels
- G_NITDROID_NUM=1
- G_NITDROID_AUTOBOOT=1
- G_NITDROID_1_LABEL="Eyes zImage l2fix kernel"
- G_NITDROID_1_FILE="/boot/Harmattan/boot/zImage_nitdroid_l2fix"
- G_NITDROID_2_LABEL=""
- G_NITDROID_2_FILE=""
- G_NITDROID_3_LABEL=""
- G_NITDROID_3_FILE=""
- G_NITDROID_4_LABEL=""
- G_NITDROID_4_FILE=""
- G_NITDROID_5_LABEL=""
- G_NITDROID_5_FILE=""
- G_NITDROID_6_LABEL=""
- G_NITDROID_6_FILE=""
- # Harmattan kernels
- G_HARMATTAN_NUM=5
- G_HARMATTAN_AUTOBOOT=0
- G_HARMATTAN_1_LABEL="2.6.32.54-dfl61-oma"
- G_HARMATTAN_1_FILE="/boot/Harmattan/boot/zImage-2.6.32.54-dfl61-oma"
- G_HARMATTAN_2_LABEL="2.6.32.54 Nemo backport"
- G_HARMATTAN_2_FILE="/boot/Harmattan/boot/zImage-2.6.32.54-juice_backport"
- G_HARMATTAN_3_LABEL="Nitdroid pr13 kernel"
- G_HARMATTAN_3_FILE="/boot/Harmattan/boot/zImage.pr13"
- G_HARMATTAN_4_LABEL="Plain openmode kernel"
- G_HARMATTAN_4_FILE="/boot/Harmattan/boot/zImage-2.6.32.54-dfl61-20121301"
- G_HARMATTAN_5_LABEL="Openmode + L2fix"
- G_HARMATTAN_5_FILE="/boot/Harmattan/boot/zImage_2.6.32.54-openmode_l2fix_harmattan"
- G_HARMATTAN_6_LABEL=""
- G_HARMATTAN_6_FILE=""
- # Nemo kernels
- G_NEMO_NUM=2
- G_NEMO_AUTOBOOT=0
- G_NEMO_1_LABEL="Latest 2.6.32"
- G_NEMO_1_FILE="/boot/Nemo/boot/bzImage"
- G_NEMO_2_LABEL="Unstable 3.5.3 SabreTSq"
- G_NEMO_2_FILE="/boot/Nemo/altboot/vmlinuz-3.5.3-juice"
- G_NEMO_3_LABEL=""
- G_NEMO_3_FILE=""
- G_NEMO_4_LABEL=""
- G_NEMO_4_FILE=""
- G_NEMO_5_LABEL=""
- G_NEMO_5_FILE=""
- G_NEMO_6_LABEL=""
- G_NEMO_6_FILE=""
- # Default boot kernel
- # If timeout is reached before user interaction this is booted.
- # This is also the kernel that gets booted if the device wakes up due to RTC alarm or USB event.
- #
- G_DEFAULT_OS="Harmattan"
- G_DEFAULT_KERNEL="/boot/Harmattan/boot/zImage_2.6.32.54-openmode_l2fix_harmattan"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement