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"
- # The version of this file. It's important that the versions of the kernel, config and cpio
- # are compatible or else you will run into no end of trouble.
- #
- G_CONFIG_VERSION="3"
- # 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 set to 1 the device will wait for 10 seconds in the main menu for user
- # interaction. If nothing is input, 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" # some people have more than 5 partitions
- #G_EXPORTED_PARTITONS="/dev/mmcblk0p7" # this is the last supported partition I guess
- #G_EXPORTED_PARTITONS="" # this turns off partition exporting
- # The IP address configured to the device for telnet/ssh access.
- # Usually default is fine, except if you have conflict of address space with your LAN addressing.
- #
- G_IP_ADDRESS="192.168.2.15"
- # Settings for the DHCP server in the device.
- # when G_START_DHCP_SERVERS is set to 1, start DHCP server on the USB to give address for a host.
- # If set to 0, you must ifconfig the interface yourself to access the device.
- # G_DHCP_ADDRESS defines the address that DHCP server offers to the host computer on the USB.
- # Usually default is fine, except if you have conflict of address space with your LAN addressing.
- #
- G_START_DHCP_SERVER=1
- G_DHCP_ADDRESS="192.168.2.100"
- # 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 connection is secure and can be done over insecure media like public LAN's.
- # To use SSH access, you need to first generate a host key and identity keypair to go.
- # You can generate the host key by command "ssh-keygen -f ssh_host_rsa_key -t rsa". Copy the generated private
- # key to the G_SSH_HOST_KEY, replacing the one below.
- # You can generate the identity keypair by command "ssh-keygen -f my_n9_identity -t rsa". Copy the generated
- # public key to the G_SSH_AUTHORIZED_KEYS, replacing the one below. Keep the generated private key safe.
- # To connect to the device via ssh, use command "ssh -i my_n9_identity root@192.168.2.15"
- #
- G_START_SSH_SERVER=1
- G_SSH_HOST_KEY="-----BEGIN RSA PRIVATE KEY-----
- MIIEpAIBAAKCAQEAwIe/imD+2GzZ9B+y7uEfmVyBPo/qwam0pY6t03eWNeohCYIZ
- 21bBvyG0aZL0nAudgRjokvDvi2Y3mXz57CVj/yESez/fASemd2sJFjDB6kR4FBqD
- M0zxxffWY7i25Ryrtv5aPRbqkgRlucxmlS4V7XBDBJoG0FImLaklAWlCCwV5tWbZ
- c6iEc6pkKSJBCE5e6KKDeJl5BIpiJGeUlqLgPeoE+EcV6Hiun9slSnWz8ZMLZgTs
- DLrIszdypwJIvS53lcIrlI5prknknluL5Nt1uiOmLfvQGH1/kCJEYMvMtVnqPvMG
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n/A3VVAiiUzccasdmCo+AcApXSnNlnqwN/KK7QsNQlCrfpbzg
- 7L71DwKBgQCU1g2ygxZWiWBKJUhPpjwMEkB5DYlfwW3sCV2CTDaXAI+Ij4LHWXty
- SF+NzR7y43AVnXyR7GIw+U4J40QsYFHNDAeFV210fXw08Rf9XX+y1E7QkvKaAswO
- QZDTFizPIJwuomyOTdLc+nLFFoX0ukuaJ25qm1m/l1KjeSB6ToctlQ==
- -----END RSA PRIVATE KEY-----"
- G_SSH_AUTHORIZED_KEYS="ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC58sL7gJJwQn1POPUi5ffy14ZxKrGjDOWQ4mNvgAtF1S6RzQsuubfTrPnt3XlxRq1LjWXHjFUjKzy+diPihzTOTzLkPot0gZf0KOwGrv9YnIgArSvvR4JAuvd8aa+Cpv9qF/2YkX13p+JVAiLrsEt1S8G+G1IUvyW9i3Guh7e2MGmh/QMpJe27nigMNxtZpg6cJRp2VE97BdlWnXicJyqzB91UK7YnmZKimeNop31Ki6zfk0SEvTKxjCAUgAZHOp5EM1aGENJY0dFKkVUV8mjcyrgP1RIYEKvbWdZ9QvHjRQAqs46QChRLX7dKeMi5DTELwI3kch4lwgaASZAUIG9x juice@osiris"
- # 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_OS1_INITSCRIPT="\/sbin\/preinit_nitdroid"
- G_OS2_INITSCRIPT="\/sbin\/preinit_harmattan"
- G_OS3_INITSCRIPT="\/sbin\/init"
- G_OS4_INITSCRIPT="\/sbin\/preinit_firefox"
- G_OS5_INITSCRIPT="\/sbin\/init"
- G_OS6_INITSCRIPT="\/sbin\/init"
- # Boot command line substitution for different OS'es.
- # This is something you normally don't want to change unless there's some specific need.
- # Even then you usually want to change the appendable parameters and not use the command line file method.
- # Appendable parameters are added to the kernel command line, but the file parameters replace your command
- # line totally. You have been warned!
- #
- G_OS1_INIT_CMDLINE_APPENDS=""
- G_OS1_INIT_CMDLINE_FILE=""
- G_OS2_INIT_CMDLINE_APPENDS=""
- G_OS2_INIT_CMDLINE_FILE=""
- G_OS3_INIT_CMDLINE_APPENDS="vram=6m omapfb.vram=0:6M"
- G_OS3_INIT_CMDLINE_FILE=""
- G_OS4_INIT_CMDLINE_APPENDS=""
- G_OS4_INIT_CMDLINE_FILE=""
- G_OS5_INIT_CMDLINE_APPENDS="rootwait ro console=tty0 vram=12M"
- G_OS5_INIT_CMDLINE_FILE=""
- G_OS6_INIT_CMDLINE_APPENDS=""
- G_OS6_INIT_CMDLINE_FILE=""
- # Log file creation.
- # Normally ubiboot-02 creates two log files which are appended to at every boot.
- # The ubiboot.dmesg log contains the kernel log and ubiboot.log contains the userspace log.
- # The default setting, "partition_1/boot/" places the log files in the Harmattan's "/home/user/MyDocs/boot",
- # the same directory that your ubiboot-02 config and cpio normally are located.
- # Of course you can place them also in the traditional "partition_2:/var/log", for example.
- #
- G_LOGFILE_PARTITION="1"
- G_LOGFILE_DIRECTORY="/boot"
- # 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_OS<x>_<n>_LABEL
- # that defines the text shown on the menu line and G_OS<x>_<n>_FILE which defines the kernel-to-boot, path
- # is relative to the ubiboot FS.
- # - The G_OS<x>_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_OS<x>_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.
- # - The G_OS<x>_PARTITION and G_OS<x>_NAME define the partiton number and link name that the kernels reside on.
- # This is necessarily not the same location that the OS is installed, though, just the kernel loading location.
- #
- # The first OS is usually Nitdroid.
- # This section lists the Nitdroid specific switches and kernels
- G_OS1_NUM=3
- G_OS1_AUTOBOOT=0
- G_OS1_PARTITION=2
- G_OS1_NAME="Nitdroid"
- G_OS1_1_LABEL="Eyes zImage.pr13 kernel"
- G_OS1_1_FILE="/boot/Nitdroid/boot/zImage.pr13"
- G_OS1_2_LABEL="E-yes's L2Fix Nitdroid image"
- G_OS1_2_FILE="/boot/Nitdroid/boot/zImage_e-yes_nitdroid+l2fix"
- G_OS1_3_LABEL="E-yes Kernel with ADB/USB"
- G_OS1_3_FILE="/boot/Nitdroid/boot/zImage_adb_usb"
- G_OS1_4_LABEL=""
- G_OS1_4_FILE=""
- G_OS1_5_LABEL=""
- G_OS1_5_FILE=""
- G_OS1_6_LABEL=""
- G_OS1_6_FILE=""
- # The second OS is usually Harmattan.
- # This section lists the Harmattan specific switches and kernels
- G_OS2_NUM=3
- G_OS2_AUTOBOOT=0
- G_OS2_PARTITION=2
- G_OS2_NAME="Harmattan"
- G_OS2_1_LABEL="Kernel Plus 2.6.32.61"
- G_OS2_1_FILE="/boot/Harmattan/boot/zImage_2.6.32.61-plus_20131128"
- G_OS2_2_LABEL="Open Mode kernel + L2fix"
- G_OS2_2_FILE="/boot/Harmattan/boot/zImage_2.6.32.54-openmode_l2fix"
- G_OS2_3_LABEL="Nitdroid kernel + L2fix"
- G_OS2_3_FILE="/boot/Harmattan/boot/zImage_nitdroid"
- G_OS2_4_LABEL=""
- G_OS2_4_FILE=""
- G_OS2_5_LABEL=""
- G_OS2_5_FILE=""
- G_OS2_6_LABEL=""
- G_OS2_6_FILE=""
- # The third OS is usually Nemo.
- # This section lists the Nemo specific switches and kernels
- G_OS3_NUM=1
- G_OS3_AUTOBOOT=1
- G_OS3_PARTITION=4
- G_OS3_NAME="Nemo"
- G_OS3_1_LABEL="Latest 2.6.32"
- G_OS3_1_FILE="/boot/Nemo/boot/bzImage"
- G_OS3_2_LABEL=""
- G_OS3_2_FILE=""
- G_OS3_3_LABEL=""
- G_OS3_3_FILE=""
- G_OS3_4_LABEL=""
- G_OS3_4_FILE=""
- G_OS3_5_LABEL=""
- G_OS3_5_FILE=""
- G_OS3_6_LABEL=""
- G_OS3_6_FILE=""
- # The fourth OS is usually FirefoxOS.
- # This section lists the FirefoxOS specific switches and kernels
- G_OS4_NUM=1
- G_OS4_AUTOBOOT=0
- G_OS4_PARTITION=2
- G_OS4_NAME="Firefox"
- G_OS4_1_LABEL="FFOS with Nitdroid kernel"
- G_OS4_1_FILE="/boot/Firefox/boot/zImage_e-yes_nitdroid+l2fix"
- G_OS4_2_LABEL=""
- G_OS4_2_FILE=""
- G_OS4_3_LABEL=""
- G_OS4_3_FILE=""
- G_OS4_4_LABEL=""
- G_OS4_4_FILE=""
- G_OS4_5_LABEL=""
- G_OS4_5_FILE=""
- G_OS4_6_LABEL=""
- G_OS4_6_FILE=""
- # The fifth OS is usually Ubuntu.
- # This section lists the Ubuntu specific switches and kernels
- G_OS5_NUM=2
- G_OS5_AUTOBOOT=0
- G_OS5_PARTITION=4
- G_OS5_NAME="Debian"
- G_OS5_1_LABEL="4.9"
- G_OS5_1_FILE="/boot/Debian/boot/bzImage"
- G_OS5_2_LABEL="4.9 vmlinuz"
- G_OS5_2_FILE="/boot/Debian/boot/vmlinuz-4.9.0-3-armmp"
- G_OS5_3_LABEL=""
- G_OS5_3_FILE=""
- G_OS5_4_LABEL=""
- G_OS5_4_FILE=""
- G_OS5_5_LABEL=""
- G_OS5_5_FILE=""
- G_OS5_6_LABEL=""
- G_OS5_6_FILE=""
- # The sixth OS is usually SailfishOS.
- # This section lists the OS6OS specific switches and kernels
- G_OS6_NUM=0
- G_OS6_AUTOBOOT=0
- G_OS6_PARTITION=2
- G_OS6_NAME="Sailfish"
- G_OS6_1_LABEL=""
- G_OS6_1_FILE=""
- G_OS6_2_LABEL=""
- G_OS6_2_FILE=""
- G_OS6_3_LABEL=""
- G_OS6_3_FILE=""
- G_OS6_4_LABEL=""
- G_OS6_4_FILE=""
- G_OS6_5_LABEL=""
- G_OS6_5_FILE=""
- G_OS6_6_LABEL=""
- G_OS6_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="OS2"
- G_DEFAULT_KERNEL="/boot/Harmattan/boot/zImage_2.6.32.54-openmode_l2fix"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement