Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

It's essential to note that i-boot does not initialize DDR DRAM, rendering it temporarily unavailable. Hence, x-boot must be loaded into SRAM for execution.

...

Boot devices

i-boot Boot supports for 5 five boot devices. The following table lists the specifications or requirements of , each with specific specifications and requirements. Below is a detailed table outlining the specifications for each boot device:

Boot devices

Specifications

8-bit NAND

flash

  1. First block of 8-bit NAND flash The first block should contain Sunplus Boot Profile Header.

  2. x-boot image should be stored in 1K60 ECC sectors.

  3. x-boot image should be stored in 1K60 ECC sectors.

  4. Read Set read cycle-time is set to 240 nS.

  5. GPIO82 should be set to HIGH if for 3.0V NAND flash is used or , LOW if for 1.8V NAND flash is used.

eMMC device

  1. x-boot image should be stored at Boot Area Partition 1.

  2. Bus Set bus clock is set to 25 MHz.

  3. GPIO82 should be set to HIGH if for 3.0V IO power is used or , LOW if for 1.8V IO power is used.

SPI-NAND flash

  1. First block of SPI-NAND flash should contain Sunplus Boot Profile Header.

  2. x-boot image should be stored in 1K60 ECC sectors.

  3. Support for X1 and X2 position of SPI-NAND. First try positions. Attempt X1 position first and then proceed to X2 position.

  4. Bus Set bus clock is set to 11.2 MHz.

  5. GPIO82 should be set to HIGH if for 3.0V SPI-NAND flash is used or , LOW if for 1.8V SPI-NAND flash is used.

SPI-NOR flash

  1. x-boot image should be stored at offset 0x18000 (96Ki96KiB).

  2. Bus Set bus clock is set to 11.2 MHz.

  3. GPIO82 should be set to HIGH if for 3.0V SPI-NOR flash is used or , LOW if for 1.8V SPI-NOR flash is used.

SD card

  1. x-boot image should be stored at offset 0 of the file ISPBOOOT.BIN.

  2. The file ISPBOOOT.BIN should be stored in the root directory of the first or sole partition of the SD card.

  3. First or sole partition of the SD card The partition should be formatted to FAT32 or FAT16 formatfile-system.

  4. Bus Set bus clock is set to 5 MHz.

USB flash drive

  1. x-boot image should be stored at offset 0 of the file ISPBOOOT.BIN.

  2. The file ISPBOOOT.BIN should be stored in the root directory of first or sole partition of the USB flash drive.First

  3. or sole partition of the USB flash drive The partition should be formatted to FAT32 or FAT16 formatfile-system.

  4. Support high-speed read operation only

  5. Support USB flash drive on both USB2.0 or USB3.0 ports. Try Attempt USB3.0 port first and then proceed to USB2.0 port.

Boot core and other cores

CPU core 0 is serves as the boot core and is responsible for booting. It is , responsible for all boot processes from i-boot to Linux. Meanwhile, CPU core 1, 2, and 3 enter a spin state (enter wfe mode) inside i-boot after initializing itself until core 0 wake up them.

...

initialize itself, awaiting activation by core 0. The following assembly shows the processes.

...

Run Control of CPU (at bootcompat session) :

...

x (address other than above)    // CPU goes to x

Bootstrap pins of SP7350

State The state of bootstrap pins of SP7350 will be is read into bootstrap register (G0.31) at the moment that upon releasing power-on reset is released. Refer to definition of boot-strap pins of SP7350 in i-boot below:

Boot-strap pins of SP7350

Boot devices

MX6

MX5

MX4

MX3

MX2

MX1

MX0

1

1

1

1

1

x

x

eMMC boot

1

1

1

0

1

x

x

SPI-NAND boot

1

1

0

1

1

x

x

USB boot

1

1

0

0

1

x

x

SDC boot

1

0

1

1

1

x

x

SPI-NOR boot

1

0

0

0

1

x

x

8-bit NAND boot

Note:

  1. If MX1 = 0, the JTAG interface of CA55 of SP7350 will be enabled.

  2. If MX2 = 0, SP7350 will enter test mode. Always set to 1 for normal operation.

...