• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1The following instructions will help you to flash partition table and
2prebuilt bootloader onto Poplar board.
3
4* Find a USB disk formated with FAT file system, copy fastboot.bin and
5  recovery_files/ folder onto the disk.
6
7* Attach the USB disk to USB port J2 (next to IR receiver), and power on
8  Poplar board with button S3 (USB_BOOT) pressed until following
9  messages are seen on serial output.
10
11    Entry usb bootstrap
12
13    Usb disk(1):
14    Decrypt auxiliary code ...OK
15
16* Hit any key to stop U-Boot autoboot and get into the prompt.
17
18* Run U-Boot commands below to install partition table and bootloader.
19
20    poplar# usb reset
21    poplar# fatload usb 0:1 ${scriptaddr} recovery_files/install.scr
22    poplar# source ${scriptaddr}
23
24These instructions are only necessary for initial bootloader
25installation or board unbricking.  Once the initial installation is
26completed, you can update bootloader with fastboot support as below.
27
28* Connect Poplar (USB port J2) to PC with a Male-to-Male USB cable.
29
30* Power on Poplar, get into U-Boot prompt and run command below.
31
32    poplar# fastboot 0
33
34* On PC side, run command below to update the bootloader.
35
36    $ fastboot flash mmcsda1 loader.bin
37
38To install the AOSP images, use fastboot commands as below.
39
40    $ fastboot flash mmcsda2 boot.img
41    $ fastboot flash mmcsda3 system.img
42    $ fastboot flash mmcsda5 vendor.img
43    $ fastboot flash mmcsda6 cache.img
44    $ fastboot flash mmcsda7 userdata.img
45