Comment 5 for bug 811657

Revision history for this message
omar barron (orbarron) wrote : RE: [Bug 811657] Re: Pandroid build just sits in fastboot

ok let me give you some background...

Pandroid can boot two different ways.

1. Fastboot ~7 partition setup -- not usually tested or used for panda at this time but is known to work
2. SD boot with 2-3 partitions -- current setup

In the latest releases we are still using 2-3 partitions on SD card. So we do not use fastboot at this time. However the bootloader we use is using fastboot on startup. In order to bypass this you can either increase your BOOTDELAY and hit enter during start up and paste your bootargs or you can rebuild the booloader with proper BOOTARGS and CONFIG_BOOTCOMMAND, bypassing fastboot.

In our case we use the following bootags/bootcmd for panda on GB release:
setenv bootargs 'console=ttyO2,115200n8 androidboot.console=ttyO2 mem=456M@0x80000000 mem=512M@0xA0000000 root=/dev/mmcblk0p2 rw rootdelay=2 init=/init vram="32M" omapfb.vram=0:16M omapdss.def_disp=hdmi consoleblank=0'
setenv bootcmd 'mmcinit 0;fatload mmc 0 0x80000000 uImage; bootm 0x80000000'

here is an example of what needs to be done (thanks to Dave Anders):

#if defined(CONFIG_FASTBOOT)
#define CONFIG_BOOTARGS "console=ttyO2,115200n8 mem=512M" \
        " init=/init vram=32M omapfb.vram=0:16M androidboot.console=ttyO2"
#define CONFIG_BOOTCOMMAND "booti mmc0"
#else
#define CONFIG_BOOTARGS "console=ttyO2,115200n8 androidboot.console=ttyO2 mem=456M@0x80000000 \
mem=512M@0xA0000000 root=/dev/mmcblk0p2 rw rootdelay=2 init=/init vram="32M" \
omapfb.vram=0:16M omapdss.def_disp=hdmi consoleblank=0'
#define CONFIG_BOOTCOMMAND "fatload mmc 0 0x80000000 uImage; bootm 0x80000000"
#endif

Links:
http://www.omappedia.org/wiki/Android_eMMC_Booting
http://android-dls.com/wiki/index.php?title=Fastboot
http://www.omappedia.org/wiki/PandaBoard_L27.12.1-P2_Release_Notes#Building_u-boot

hope this helps...

~orbarron

________________________________________
From: <email address hidden> [<email address hidden>] on behalf of Zach Pfeffer [<email address hidden>]
Sent: Sunday, July 24, 2011 11:47 PM
To: Barron, Omar
Subject: [Bug 811657] Re: Pandroid build just sits in fastboot

Omar, if you don't mind me asking, when you say "Simply change out
BOOTARG from omap4430panda.h." change it out for what?

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/811657

Title:
  Pandroid build just sits in fastboot

Status in Linaro Android:
  Confirmed

Bug description:
  When https://android-build.linaro.org/builds/~patrik-
  ryd/pandroid/#build=41 boots up it just sits and waits here:

  Texas Instruments X-Loader 1.41 (May 9 2011 - 19:41:49)
  mmc read: Invalid size
  Starting OS Bootloader from MMC/SD1 ...

  U-Boot 1.1.4-L27.13.1^0-dirty (May 9 2011 - 19:42:26)

  Load address: 0x80e80000
  DRAM: 1024 MB
  Flash: 0 kB
  Using default environment

  In: serial
  Out: serial
  Err: serial

  efi partition table:
  efi partition table not found
  Net: KS8851SNL
  Hit any key to stop autoboot: 0
  booti: cannot find 'boot' partition
  Device Serial Number: 5E7C000300000000
  Fastboot entered...

To manage notifications about this bug go to:
https://bugs.launchpad.net/linaro-android/+bug/811657/+subscriptions