...
The sources are pulled from:
arm-trusted firmware:
...
...
mv-ddr-marvell:
...
...
u-boot: currently from marvell SDK
linux:
...
...
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
...
Code Block |
---|
cp <sdk patch directory>/Base_SDK/base-patches-SDK-10.3.3.0-PR8/uboot/git-uboot-2019.10-SDK-10.3.3.0-PR8/*.patch patches-sdk-u-boot/ $ROOTDIR/patches-sdk-u-boot/The script will apply the u-boot patches onto the mainline u-boot. |
If the SDK patches directory doesn't exist, the script will take by default the u-boot.bin provided in the binaries directory.
...
for burning u-boot image only:
Code Block |
---|
sudo dd if=images/flash-image.bin of=/dev/sdX bs=512 seek=4096 status=progress |
...
CN9130 SOM base on ClearFog Base / Pro:
| SW1 #1 | SW1 #2 | SW1 #3 | SW1 #4 | SW1 #5 |
---|---|---|---|---|---|
SPI | ON | X | OFF | ON | X |
SD | OFF | X | ON | OFF | X |
eMMC | OFF | X | OFF | ON | X |
2.2GHz Core Freq | X | OFF | X | X | X |
2GHz Core Freq | X | ON | X | X | X |
In Clearfog Pro , the frequency can be reduced to 1.6GHz using SW2
| SW1 #2 | SW2 #5 |
---|---|---|
1.6GHz | OFF | ON |
CN9132 COM Express Type 7
BOOT MODE | SW1 #1 | SW1 #2 | SW1 #3 | SW1 #4 | SW1 #5 | SW1 #6 |
---|---|---|---|---|---|---|
SPI | OFF | ON | ON | OFF | ON | X |
SD | ON | OFF | ON | ON | OFF | X |
eMMC | ON | OFF | ON | OFF | ON | X |
Frequency | SW2 #1 | SW2 #1 |
---|---|---|
2.2GHz | ON | OFF |
2GHz | OFF | OFF |
1.6GHz | OFF | ON |
DDR Configuration and EEPROM
...
Code Block |
---|
setenv get_images "load mmc 1:1 $kernel_addr_r boot/Image; load mmc 1:1 $fdt_addr_r boot/cn9130-cf-pro.dtb; setenv root 'root=/dev/mmcblk1p1 rootwait rw'; setenv ramdisk_addr_r -" |
2. CN9132 CEx7
Code Block |
---|
setenv get_images "load mmc 1:1 $kernel_addr_r boot/Image; load mmc 1:1 $fdt_addr_r boot/cn9132-cex7.dtb; setenv root 'root=/dev/mmcblk1p1 rootwait rw'; setenv ramdisk_addr_r -" boot |
To active the fan on CN9132 CEx7 run;
Code Block |
---|
setenv get_images "load mmc 1:1 $kernel_addr_r boot/Image; load mmc 1:1 $fdt_addr_r boot/cn9132-cex7.dtb; setenv root 'root=/dev/mmcblk1p1 rootwait rw'; mw 0xf2440144 0xffefffff; mw 0xf2440140 0x00100000; setenv ramdisk_addr_r -" boot |