Skip to content

Commit

Permalink
gtw360: fix board name
Browse files Browse the repository at this point in the history
  • Loading branch information
devbis committed Jul 24, 2024
1 parent a3387be commit 6eb5cb5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ board=$(board_name)
board_config_update

case "$board" in
geniatech,imx6ull-gtw360|\
geniatech,gtw360|\
technexion,imx7d-pico-pi)
ucidef_set_interface_lan "eth0"
;;
Expand Down
8 changes: 4 additions & 4 deletions target/linux/imx/cortexa7/base-files/lib/upgrade/platform.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ platform_check_image() {
nand_do_platform_check $platform_dir_name $1
return $?;
;;
geniatech,imx6ull-gtw360 )
local platform_dir_name=$(echo $board | sed 's/,imx6ull-/_/g')
geniatech,gtw360 )
local platform_dir_name=$(echo $board | sed 's/,/_/g')
nand_do_platform_check $platform_dir_name $1
return $?;
;;
Expand All @@ -43,7 +43,7 @@ platform_do_upgrade() {
xiaomi,dgnwg05lm )
nand_do_upgrade "$1"
;;
geniatech,imx6ull-gtw360 )
geniatech,gtw360 )
platform_do_flash_fit "$1" "$board" "fitImageA" "$(platform_get_rootfs)"
;;
technexion,imx7d-pico-pi)
Expand Down Expand Up @@ -79,7 +79,7 @@ platform_do_flash_fit() {

mkdir -p /boot

if [ $board = "geniatech,imx6ull-gtw360" ]; then
if [ $board = "geniatech,gtw360" ]; then
# mmcblk1p1 (fat) contains all FIT images for the Gateway
mount -t vfat /dev/mmcblk1p1 /boot

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
+
+/ {
+ model = "Geniatech GTW360";
+ compatible = "geniatech,imx6ull-gtw360", "fsl,imx6ull";
+ compatible = "geniatech,gtw360", "fsl,imx6ull";
+
+ chosen {
+ bootargs = "console=ttymxc0,115200 root=/dev/mmcblk1p2 rootwait rw";
Expand Down

0 comments on commit 6eb5cb5

Please sign in to comment.