Skip to content

Commit f950da6

Browse files
Added basic support for SE301+SOM1-SOC in HSS. Fixed polarberry filenames
1 parent e35a2e1 commit f950da6

36 files changed

+9578
-17
lines changed
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
BUILDROOT_DIRECTORY="/home/promwad/microchip_buildroot/buildroot-2023.08.1" #set here path the buildroot you are used for building
2-
#BUILDROOT_DIRECTORY="/home/promwad/microchip_buildroot/buildroot-2023.05" #set here path the buildroot you are used for building
3-
UART_DEVICE="/dev/ttyUSB1" #set here POLARBERRY board UART device in linux
1+
BUILDROOT_DIRECTORY="/home/promwad/temporary_for_polarberry/buildroot-2023.08.1" #set here path the buildroot you are used for building
2+
UART_DEVICE="/dev/ttyUSB0" #set here POLARBERRY board UART device in linux
43
DEVICE_IP="192.168.1.72" #set here IP ADDRESS used for POLARBERRY board that you want to flash
54
PC_IP="192.168.1.177" #set here IP ADDRESS of you PC
65
IMAGE_NAME="fitimage_polarberry.itb" #set here file name of the linux image (it shall be placed in the TFTP directory)

board/microchip/polarberry/Program_HSS_to_eNVM.sh

Lines changed: 0 additions & 3 deletions
This file was deleted.

board/microchip/polarberry/README

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
After that in the directory "/home/promwad/microchip_buildroot/buildroot-external-microchip/board/microchip/polarberry" you can find script for board flashing.
21

32
There are 4 scipts:
43
1) Program_HSS_to_eNVM.sh
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/bash
2+
3+
source ./FLASH_CONFIG.CONF
4+
5+
DEV_BOARD=`cat $BUILDROOT_DIRECTORY/.config | grep BR2_PACKAGE_HART_SOFTWARE_SERVICES_BOARD | sed 's/BR2_PACKAGE_HART_SOFTWARE_SERVICES_BOARD=//g' | sed 's/"//g'`
6+
DEV_DIE=`cat $BUILDROOT_DIRECTORY/.config | grep BR2_PACKAGE_HART_SOFTWARE_SERVICES_DIE | sed 's/BR2_PACKAGE_HART_SOFTWARE_SERVICES_DIE=//g' | sed 's/"//g'`
7+
DEV_PACKAGE=`cat $BUILDROOT_DIRECTORY/.config | grep BR2_PACKAGE_HART_SOFTWARE_SERVICES_PACKAGE | sed 's/BR2_PACKAGE_HART_SOFTWARE_SERVICES_PACKAGE=//g' | sed 's/"//g'`
8+
9+
echo
10+
echo "BOARD is set to $DEV_BOARD"
11+
echo "DIE is set to $DEV_DIE"
12+
echo "PACKAGE is set to $DEV_PACKAGE"
13+
echo
14+
15+
make -C $BUILDROOT_DIRECTORY/output/build/hart-software-services-next program BOARD=$DEV_BOARD DIE=$DEV_DIE PACKAGE=$DEV_PACKAGE
File renamed without changes.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
BUILDROOT_DIRECTORY="/home/promwad/SUNDANCE_MICROCHIP/buildroot-2023.08.1" #set here path the buildroot you are used for building
2+
UART_DEVICE="/dev/ttyUSB0" #set here SOM1_SOM board UART device in linux
3+
DEVICE_IP="192.168.1.72" #set here IP ADDRESS used for SOM1_SOC board that you want to flash
4+
PC_IP="192.168.1.177" #set here IP ADDRESS of you PC
5+
IMAGE_NAME="fitimage_som1-soc.itb" #set here file name of the linux image (it shall be placed in the TFTP directory)

0 commit comments

Comments
 (0)