...
The sources are pulled from:
arm-trusted firmware: GitHub - ARM-software/arm-trusted-firmware
mv-ddr-marvell: GitHub - MarvellEmbeddedProcessors/mv-ddr-marvell
u-boot: currently from marvell SDK
patches are supplied by Solid-Run in the patches/ directory
binaries are supplied by Solid-Run in the binaries/ directory
The build script builds the u-boot, atf and linux components, integrate it with Ubuntu rootfs bootstrapped with multistrap. Buildroot is also built aside for future use.
U-Boot based on SDK10
The CN913x u-boot is not public yet, and was taken from Marvell's SDK10
...
The board can be configured based on the amount of CP# devices and to which carrier board it will fit. There are a few parameters that must be taken to account:
CP_NUM:
CP_NUM=1 - CN9130
CP_NUM=2 - CN9131
CP_NUM=3 - CN9132
BOARD_CONFIG - defines the device tree based on the platform
BOARD_CONFIG=0 - CN9132 CEx7 based on Clearfog Eval Board
BOARD_CONFIG=1 - CN9130 SOM based on Clearfog Base
BOARD_CONFIG=2 - CN9130 SOM based on Clearfog Pro
BOARD_CONFIG=3 - CN9131 based on SolidWan
Note: when defining the BOARD_CONFIG, the runme.sh script defines correct CP_NUM related to the platform.
...
The script will generate a ready to use images at ROOTDIR/images:
flash_image.bin for SPI
*.img for eMMC or SD card
Boot Select
Before powering up the board for the first time it is recommended to select the boot media. In order to configure the boot media:
...
BOOT MODE | SW1 #1 | SW1 #2 | SW1 #3 | SW1 #4 | SW1 #5 | SW1 #6 |
---|---|---|---|---|---|---|
SPI | OFFON | OFF | ON | X | X | X |
SD | OFF | ON | OFF | X | X | X |
eMMC | ON | OFF | ONOFF | X | X | X |
2.2GHz Core Freq | X | X | X | OFF | ON | OFF |
2GHz Core Freq | X | X | X | OFF | OFF | OFF |
1.6GHz | X | X | X | ONOFF | OFFOFF | ON |
DDR Configuration and EEPROM
...