OpenIBoot Command Line

From IPhone Linux

Jump to: navigation, search

We need a command line that will allow developers to easily work within the pre-Linux environment, to poke around at the hardware, execute code, and modify openiboot itself. Some good design ideas for commands openiboot should have would be helpful. This will also demonstrate to developers the power of the technologies that we have developed thus far.

Tasks

  • USB Serial: Develop openiboot client (oibc) and openiboot side handling to the point that it simulates serial communication over USB pretty well and reliably. (Assigned to: planetbeing)
  • Command line: Probably simultaneously with the previous task, get a basic command line structure going, with listening for mewlines, argument parsing, etc. (Assigned to: planetbeing)
  • Commands: Implement the individual commands. No idea what those should be yet. (Assigned to: planetbeing)
  • iBoot chainloader: Develop a mechanism to use OpenIBoot as the bootloader after LLB. Relocate iBoot and chainload it. (Assigned to: planetbeing)
    • Installer: Now that we have a NOR driver, it's possible to have openiboot install itself. It can relocate existing iBoot to another partition on NOR, and then for chain loading, read it from NOR into memory and load it. (Assigned to planetbeing)
      • uid-aes-key: Images on NOR are encrypted with a key derived from a device-specific uid-aes-key. We need to find where it is and retrieve it. It is possible we will need to develop a driver for the AES device to avoid linking in OpenSSL and/or use this key. (Assigned to: planetbeing, wizdaz)
      • NOR partition parser: We need to read the partitions on the NOR device to properly read and write new ones. (Assigned to: planetbeing)
      • Make sure openiboot can boot successfully from NOR. (Assigned to: planetbeing)
Personal tools
Toolbox
thanks to the guys at
  ModMyiFone.com and
  NegriElectronics for the
  test iPod Touch!