Skip to content
This repository has been archived by the owner on Dec 13, 2021. It is now read-only.

Commit

Permalink
Merge pull request #48 from OpenIPC/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
ZigFisher authored Sep 13, 2020
2 parents a6f1c50 + df7a473 commit 46703f0
Show file tree
Hide file tree
Showing 46 changed files with 1,856 additions and 145 deletions.
17 changes: 17 additions & 0 deletions package/boot/uboot-hi35xx/files/include/configs/Todo.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@


ethernet boot_args
-------- ---------
hi3516c.h | testing done
hi3516cv200.h | ok done
hi3516cv300.h | ok done
hi3516ev100.h | ok done
hi3518a.h | done
hi3518c.h | done
hi3518e.h | testing done
hi3518ev200.h | ok done
hi3518ev201.h | done
hi3520d.h | done
|
hi3518c_ussh.h | done
hi3518ev200_rotek.h | done
23 changes: 6 additions & 17 deletions package/boot/uboot-hi35xx/files/include/configs/hi3516c.h
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,9 @@
/*-----------------------------------------------------------------------
* Environment Configuration
------------------------------------------------------------------------*/
#define CONFIG_BOOTCOMMAND "setenv bootargs $(bootargs) totalmem=$(totalmem) mem=$(osmem) ethaddr=$(ethaddr) phyaddru=$(phyaddru) phyaddrd=$(phyaddrd) sensor=$(sensor) linux_cmd=$(linux_cmd); sf probe 0; sf read 0x82000000 0x50000 0x200000; bootm 0x82000000"
#define CONFIG_BOOTCOMMAND "setenv setargs setenv bootargs ${bootargs}; run setargs; sf probe 0; sf read 0x82000000 0x50000 0x200000; bootm 0x82000000"
#define CONFIG_BOOTDELAY 1
#define CONFIG_BOOTARGS "console=ttyAMA0,115200 panic=20 root=/dev/mtdblock3 rootfstype=squashfs,jffs2 mtdparts=hi_sfc:256k(boot),64k(env),2048k(kernel),5120k(rootfs),-(rootfs_data)"
#define CONFIG_BOOTARGS "totalmem=$(totalmem) mem=$(osmem) ethaddr=$(ethaddr) phyaddru=$(phyaddru) phyaddrd=$(phyaddrd) sensor=$(sensor) linux_cmd=$(linux_cmd) console=ttyAMA0,115200 panic=20 root=/dev/mtdblock3 rootfstype=squashfs mtdparts=hi_sfc:256k(boot),64k(env),2048k(kernel),5120k(rootfs),-(rootfs_data)"
#define CONFIG_NETMASK 255.255.255.0 /* talk on MY local net */
#define CONFIG_IPADDR 192.168.1.10 /* default static IP */
#define CONFIG_SERVERIP 192.168.1.254 /* default tftp server ip */
Expand Down Expand Up @@ -199,23 +199,12 @@
/* default is hieth-switch-fabric */
#define CONFIG_NET_HISFV300
#ifdef CONFIG_NET_HISFV300
#define CONFIG_NET_HISFV300_3518 1 /* Add 2020.0821 */
#define HISFV_MII_MODE 0
#define HISFV_RMII_MODE 1
#define HIETH_MII_RMII_MODE_U HISFV_MII_MODE
#define HIETH_MII_RMII_MODE_D HISFV_MII_MODE
#define HISFV_PHY_U 1 /* Change 2020.08.21 set 1 or 0 */
#define HISFV_PHY_D 2 /* Change 2020.08.21 set 2 or 1 */
#undef HISFV_RESET_GPIO_EN
#ifdef HISFV_RESET_GPIO_EN
/* use gpio5_0 to control sfv reset */
#define HISFV_RESET_GPIO_BASE GPIO0_REG_BASE
#define HISFV_RESET_GPIO_DIR 0x400
#define HISFV_RESET_GPIO_BIT 5
#define HISFV_RESET_GPIO_DIR_OUT 1
/* 0-reset; 1-undo reset */
#define HISFV_RESET_GPIO_DATA 0
#endif /* HISFV_RESET_GPIO_EN */
#define HIETH_MII_RMII_MODE_U HISFV_RMII_MODE
#define HIETH_MII_RMII_MODE_D HISFV_RMII_MODE
#define HISFV_PHY_U 1
#define HISFV_PHY_D 2
#endif /* CONFIG_NET_HISFV300 */

/*-----------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
*-----------------------------------------------------------------------*/
#define CONFIG_BOOTCOMMAND "setenv setargs setenv bootargs ${bootargs}; run setargs; sf probe 0; sf read 0x82000000 0x50000 0x200000; bootm 0x82000000"
#define CONFIG_BOOTDELAY 1
#define CONFIG_BOOTARGS "totalmem=$(totalmem) mem=$(osmem) ethaddr=$(ethaddr) phyaddru=$(phyaddru) phyaddrd=$(phyaddrd) sensor=$(sensor) linux_cmd=$(linux_cmd) console=ttyAMA0,115200 panic=20 root=/dev/mtdblock3 rootfstype=squashfs,jffs2 mtdparts=hi_sfc:256k(boot),64k(env),2048k(kernel),5120k(rootfs),-(rootfs_data)"
#define CONFIG_BOOTARGS "totalmem=$(totalmem) mem=$(osmem) ethaddr=$(ethaddr) phyaddru=$(phyaddru) phyaddrd=$(phyaddrd) sensor=$(sensor) linux_cmd=$(linux_cmd) console=ttyAMA0,115200 panic=20 root=/dev/mtdblock3 rootfstype=squashfs mtdparts=hi_sfc:256k(boot),64k(env),2048k(kernel),5120k(rootfs),-(rootfs_data)"
#define CONFIG_NETMASK 255.255.255.0 /* talk on MY local net */
#define CONFIG_IPADDR 192.168.1.10 /* static IP I currently own */
#define CONFIG_SERVERIP 192.168.1.254 /* current IP of tftp server ip */
Expand Down
4 changes: 2 additions & 2 deletions package/boot/uboot-hi35xx/files/include/configs/hi3516cv300.h
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,9 @@
/*-----------------------------------------------------------------------
* Environment Configuration
*-----------------------------------------------------------------------*/
#define CONFIG_BOOTCOMMAND "setenv bootargs $(bootargs) totalmem=$(totalmem) mem=$(osmem) ethaddr=$(ethaddr) phyaddru=$(phyaddru) phyaddrd=$(phyaddrd) sensor=$(sensor) linux_cmd=$(linux_cmd); sf probe 0; sf read 0x82000000 0x50000 0x200000; bootm 0x82000000"
#define CONFIG_BOOTCOMMAND "setenv setargs setenv bootargs ${bootargs}; run setargs; sf probe 0; sf read 0x82000000 0x50000 0x200000; bootm 0x82000000"
#define CONFIG_BOOTDELAY 1
#define CONFIG_BOOTARGS "console=ttyAMA0,115200 root=/dev/mtdblock3 rootfstype=squashfs,jffs2 panic=20 mtdparts=hi_sfc:256k(boot),64k(env),2048k(kernel),5120k(rootfs),-(rootfs_data)"
#define CONFIG_BOOTARGS "totalmem=$(totalmem) mem=$(osmem) ethaddr=$(ethaddr) phyaddru=$(phyaddru) phyaddrd=$(phyaddrd) sensor=$(sensor) linux_cmd=$(linux_cmd) console=ttyAMA0,115200 root=/dev/mtdblock3 rootfstype=squashfs panic=20 mtdparts=hi_sfc:256k(boot),64k(env),2048k(kernel),5120k(rootfs),-(rootfs_data)"
#define CONFIG_NETMASK 255.255.255.0 /* talk on MY local net */
#define CONFIG_IPADDR 192.168.1.10 /* static IP I currently own */
#define CONFIG_SERVERIP 192.168.1.254 /* current IP of tftp server ip */
Expand Down
4 changes: 2 additions & 2 deletions package/boot/uboot-hi35xx/files/include/configs/hi3516ev100.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@
/*-----------------------------------------------------------------------
* Environment Configuration
*-----------------------------------------------------------------------*/
#define CONFIG_BOOTCOMMAND "setenv bootargs $(bootargs) totalmem=$(totalmem) mem=$(osmem) ethaddr=$(ethaddr) phyaddru=$(phyaddru) phyaddrd=$(phyaddrd) sensor=$(sensor) linux_cmd=$(linux_cmd); sf probe 0; sf read 0x82000000 0x50000 0x200000; bootm 0x82000000"
#define CONFIG_BOOTCOMMAND "setenv setargs setenv bootargs ${bootargs}; run setargs; sf probe 0; sf read 0x82000000 0x50000 0x200000; bootm 0x82000000"
#define CONFIG_BOOTDELAY 1
#define CONFIG_BOOTARGS "console=ttyAMA0,115200 root=/dev/mtdblock3 rootfstype=squashfs,jffs2 panic=20 mtdparts=hi_sfc:256k(boot),64k(env),2048k(kernel),5120k(rootfs),-(rootfs_data)"
#define CONFIG_BOOTARGS "totalmem=$(totalmem) mem=$(osmem) ethaddr=$(ethaddr) phyaddru=$(phyaddru) phyaddrd=$(phyaddrd) sensor=$(sensor) linux_cmd=$(linux_cmd) console=ttyAMA0,115200 root=/dev/mtdblock3 rootfstype=squashfs panic=20 mtdparts=hi_sfc:256k(boot),64k(env),2048k(kernel),5120k(rootfs),-(rootfs_data)"
#define CONFIG_NETMASK 255.255.255.0 /* talk on MY local net */
#define CONFIG_IPADDR 192.168.1.10 /* static IP I currently own */
#define CONFIG_SERVERIP 192.168.1.254 /* current IP of tftp server ip */
Expand Down
4 changes: 2 additions & 2 deletions package/boot/uboot-hi35xx/files/include/configs/hi3518a.h
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,9 @@
/*-----------------------------------------------------------------------
* Environment Configuration
------------------------------------------------------------------------*/
#define CONFIG_BOOTCOMMAND "setenv bootargs $(bootargs) totalmem=$(totalmem) mem=$(osmem) ethaddr=$(ethaddr) phyaddru=$(phyaddru) phyaddrd=$(phyaddrd) sensor=$(sensor) linux_cmd=$(linux_cmd); sf probe 0; sf read 0x82000000 0x50000 0x200000; bootm 0x82000000"
#define CONFIG_BOOTCOMMAND "setenv setargs setenv bootargs ${bootargs}; run setargs; sf probe 0; sf read 0x82000000 0x50000 0x200000; bootm 0x82000000"
#define CONFIG_BOOTDELAY 1
#define CONFIG_BOOTARGS "console=ttyAMA0,115200 panic=20 root=/dev/mtdblock3 rootfstype=squashfs,jffs2 mtdparts=hi_sfc:256k(boot),64k(env),2048k(kernel),5120k(rootfs),-(rootfs_data)"
#define CONFIG_BOOTARGS "totalmem=$(totalmem) mem=$(osmem) ethaddr=$(ethaddr) phyaddru=$(phyaddru) phyaddrd=$(phyaddrd) sensor=$(sensor) linux_cmd=$(linux_cmd) console=ttyAMA0,115200 panic=20 root=/dev/mtdblock3 rootfstype=squashfs mtdparts=hi_sfc:256k(boot),64k(env),2048k(kernel),5120k(rootfs),-(rootfs_data)"
#define CONFIG_NETMASK 255.255.255.0 /* talk on MY local net */
#define CONFIG_IPADDR 192.168.1.10 /* default static IP */
#define CONFIG_SERVERIP 192.168.1.254 /* default tftp server ip */
Expand Down
4 changes: 2 additions & 2 deletions package/boot/uboot-hi35xx/files/include/configs/hi3518c.h
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,9 @@
/*-----------------------------------------------------------------------
* Environment Configuration
------------------------------------------------------------------------*/
#define CONFIG_BOOTCOMMAND "setenv bootargs $(bootargs) totalmem=$(totalmem) mem=$(osmem) ethaddr=$(ethaddr) phyaddru=$(phyaddru) phyaddrd=$(phyaddrd) sensor=$(sensor) linux_cmd=$(linux_cmd); sf probe 0; sf read 0x82000000 0x50000 0x200000; bootm 0x82000000"
#define CONFIG_BOOTCOMMAND "setenv setargs setenv bootargs ${bootargs}; run setargs; sf probe 0; sf read 0x82000000 0x50000 0x200000; bootm 0x82000000"
#define CONFIG_BOOTDELAY 1
#define CONFIG_BOOTARGS "console=ttyAMA0,115200 panic=20 root=/dev/mtdblock3 rootfstype=squashfs,jffs2 mtdparts=hi_sfc:256k(boot),64k(env),2048k(kernel),5120k(rootfs),-(rootfs_data)"
#define CONFIG_BOOTARGS "totalmem=$(totalmem) mem=$(osmem) ethaddr=$(ethaddr) phyaddru=$(phyaddru) phyaddrd=$(phyaddrd) sensor=$(sensor) linux_cmd=$(linux_cmd) console=ttyAMA0,115200 panic=20 root=/dev/mtdblock3 rootfstype=squashfs mtdparts=hi_sfc:256k(boot),64k(env),2048k(kernel),5120k(rootfs),-(rootfs_data)"
#define CONFIG_NETMASK 255.255.255.0 /* talk on MY local net */
#define CONFIG_IPADDR 192.168.1.10 /* default static IP */
#define CONFIG_SERVERIP 192.168.1.254 /* default tftp server ip */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@
/*-----------------------------------------------------------------------
* Environment Configuration
------------------------------------------------------------------------*/
#define CONFIG_BOOTCOMMAND "setenv bootargs $(bootargs) totalmem=$(totalmem) mem=$(osmem) ethaddr=$(ethaddr) phyaddru=$(phyaddru) phyaddrd=$(phyaddrd) sensor=$(sensor) linux_cmd=$(linux_cmd); sf probe 0; sf read 0x82000000 0x50000 0x200000; bootm 0x82000000"
#define CONFIG_BOOTCOMMAND "setenv setargs setenv bootargs ${bootargs}; run setargs; sf probe 0; sf read 0x82000000 0x50000 0x200000; bootm 0x82000000"
#define CONFIG_BOOTDELAY 1
#define CONFIG_BOOTARGS "console=ttyAMA0,115200 panic=20 root=/dev/mtdblock3 rootfstype=squashfs,jffs2 mtdparts=hi_sfc:256k(boot),64k(env),2048k(kernel),5120k(rootfs),-(rootfs_data)"
#define CONFIG_BOOTARGS "totalmem=$(totalmem) mem=$(osmem) ethaddr=$(ethaddr) phyaddru=$(phyaddru) phyaddrd=$(phyaddrd) sensor=$(sensor) linux_cmd=$(linux_cmd) console=ttyAMA0,115200 panic=20 root=/dev/mtdblock3 rootfstype=squashfs mtdparts=hi_sfc:256k(boot),64k(env),2048k(kernel),5120k(rootfs),-(rootfs_data)"
#define CONFIG_NETMASK 255.255.255.0 /* talk on MY local net */
#define CONFIG_IPADDR 192.168.1.10 /* default static IP */
#define CONFIG_SERVERIP 192.168.1.254 /* default tftp server ip */
Expand Down
22 changes: 16 additions & 6 deletions package/boot/uboot-hi35xx/files/include/configs/hi3518e.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@
/*-----------------------------------------------------------------------
* Environment Configuration
------------------------------------------------------------------------*/
#define CONFIG_BOOTCOMMAND "setenv bootargs $(bootargs) totalmem=$(totalmem) mem=$(osmem) ethaddr=$(ethaddr) phyaddru=$(phyaddru) phyaddrd=$(phyaddrd) sensor=$(sensor) linux_cmd=$(linux_cmd); sf probe 0; sf read 0x82000000 0x50000 0x200000; bootm 0x82000000"
#define CONFIG_BOOTCOMMAND "setenv setargs setenv bootargs ${bootargs}; run setargs; sf probe 0; sf read 0x82000000 0x50000 0x200000; bootm 0x82000000"
#define CONFIG_BOOTDELAY 1
#define CONFIG_BOOTARGS "console=ttyAMA0,115200 panic=20 root=/dev/mtdblock3 rootfstype=squashfs,jffs2 mtdparts=hi_sfc:256k(boot),64k(env),2048k(kernel),5120k(rootfs),-(rootfs_data)"
#define CONFIG_BOOTARGS "totalmem=$(totalmem) mem=$(osmem) ethaddr=$(ethaddr) phyaddru=$(phyaddru) phyaddrd=$(phyaddrd) sensor=$(sensor) linux_cmd=$(linux_cmd) console=ttyAMA0,115200 panic=20 root=/dev/mtdblock3 rootfstype=squashfs mtdparts=hi_sfc:256k(boot),64k(env),2048k(kernel),5120k(rootfs),-(rootfs_data)"
#define CONFIG_NETMASK 255.255.255.0 /* talk on MY local net */
#define CONFIG_IPADDR 192.168.1.10 /* default static IP */
#define CONFIG_SERVERIP 192.168.1.254 /* default tftp server ip */
Expand Down Expand Up @@ -174,16 +174,26 @@

/*-----------------------------------------------------------------------
* HIETH driver
#
# Set CONFIG_HIETH_MII_RMII_MODE_U=1 - XM+Camhi+Blue vendor
# Set CONFIG_HIETH_MII_RMII_MODE_D=1 - XM+Camhi+Blue vendor
#
# Set CONFIG_HIETH_PHYID_U=1 - XM vendor
# Set CONFIG_HIETH_PHYID_D=2 - XM vendor
#
# Set CONFIG_HIETH_PHYID_U=0 - Camhi/Blue vendor
# Set CONFIG_HIETH_PHYID_D=1 - Camhi/Blue vendor
#
-----------------------------------------------------------------------*/
/* default is hieth-switch-fabric */
#define CONFIG_NET_HISFV300
#ifdef CONFIG_NET_HISFV300
#define HISFV_MII_MODE 0
#define HISFV_RMII_MODE 1
#define HIETH_MII_RMII_MODE_U HISFV_MII_MODE
#define HIETH_MII_RMII_MODE_D HISFV_MII_MODE
#define HISFV_PHY_U 1
#define HISFV_PHY_D 2 /* fix me */
#define HIETH_MII_RMII_MODE_U HISFV_RMII_MODE
#define HIETH_MII_RMII_MODE_D HISFV_RMII_MODE
#define HISFV_PHY_U 0
#define HISFV_PHY_D 1 /* fix me */
#endif /* CONFIG_NET_HISFV300 */

/*-----------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
*-----------------------------------------------------------------------*/
#define CONFIG_BOOTCOMMAND "setenv setargs setenv bootargs ${bootargs}; run setargs; sf probe 0; sf read 0x82000000 0x50000 0x200000; bootm 0x82000000"
#define CONFIG_BOOTDELAY 1
#define CONFIG_BOOTARGS "totalmem=$(totalmem) mem=$(osmem) ethaddr=$(ethaddr) phyaddru=$(phyaddru) phyaddrd=$(phyaddrd) sensor=$(sensor) linux_cmd=$(linux_cmd) console=ttyAMA0,115200 panic=20 root=/dev/mtdblock3 rootfstype=squashfs,jffs2 mtdparts=hi_sfc:256k(boot),64k(env),2048k(kernel),5120k(rootfs),-(rootfs_data)"
#define CONFIG_BOOTARGS "totalmem=$(totalmem) mem=$(osmem) ethaddr=$(ethaddr) phyaddru=$(phyaddru) phyaddrd=$(phyaddrd) sensor=$(sensor) linux_cmd=$(linux_cmd) console=ttyAMA0,115200 panic=20 root=/dev/mtdblock3 rootfstype=squashfs mtdparts=hi_sfc:256k(boot),64k(env),2048k(kernel),5120k(rootfs),-(rootfs_data)"
#define CONFIG_NETMASK 255.255.255.0 /* talk on MY local net */
#define CONFIG_IPADDR 192.168.1.10 /* static IP I currently own */
#define CONFIG_SERVERIP 192.168.1.254 /* current IP of tftp server ip */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,9 @@
/*-----------------------------------------------------------------------
* Environment Configuration
*-----------------------------------------------------------------------*/
#define CONFIG_BOOTCOMMAND "setenv bootargs $(bootargs) totalmem=$(totalmem) mem=$(osmem) ethaddr=$(ethaddr) phyaddru=$(phyaddru) phyaddrd=$(phyaddrd) sensor=$(sensor) linux_cmd=$(linux_cmd); sf probe 0; sf read 0x82000000 0x50000 0x200000; bootm 0x82000000"
#define CONFIG_BOOTCOMMAND "setenv setargs setenv bootargs ${bootargs}; run setargs; sf probe 0; sf read 0x82000000 0x50000 0x200000; bootm 0x82000000"
#define CONFIG_BOOTDELAY 1
#define CONFIG_BOOTARGS "console=ttyAMA0,115200 panic=20 root=/dev/mtdblock4 rootfstype=squashfs,jffs2 mtdparts=hi_sfc:192k(boot),64k(env),64k(tech),2048k(kernel),5120k(rootfs),-(rootfs_data)"
#define CONFIG_BOOTARGS "totalmem=$(totalmem) mem=$(osmem) ethaddr=$(ethaddr) phyaddru=$(phyaddru) phyaddrd=$(phyaddrd) sensor=$(sensor) linux_cmd=$(linux_cmd) console=ttyAMA0,115200 panic=20 root=/dev/mtdblock4 rootfstype=squashfs mtdparts=hi_sfc:192k(boot),64k(env),64k(tech),2048k(kernel),5120k(rootfs),-(rootfs_data)"
#define CONFIG_NETMASK 255.255.255.0 /* talk on MY local net */
#define CONFIG_IPADDR 192.168.1.10 /* static IP I currently own */
#define CONFIG_SERVERIP 192.168.1.254 /* current IP of tftp server ip */
Expand Down
4 changes: 2 additions & 2 deletions package/boot/uboot-hi35xx/files/include/configs/hi3518ev201.h
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,9 @@
/*-----------------------------------------------------------------------
* Environment Configuration
*-----------------------------------------------------------------------*/
#define CONFIG_BOOTCOMMAND "setenv bootargs $(bootargs) totalmem=$(totalmem) mem=$(osmem) ethaddr=$(ethaddr) phyaddru=$(phyaddru) phyaddrd=$(phyaddrd) sensor=$(sensor) linux_cmd=$(linux_cmd); sf probe 0; sf read 0x82000000 0x50000 0x200000; bootm 0x82000000"
#define CONFIG_BOOTCOMMAND "setenv setargs setenv bootargs ${bootargs}; run setargs; sf probe 0; sf read 0x82000000 0x50000 0x200000; bootm 0x82000000"
#define CONFIG_BOOTDELAY 1
#define CONFIG_BOOTARGS "console=ttyAMA0,115200 panic=20 root=/dev/mtdblock3 rootfstype=squashfs,jffs2 mtdparts=hi_sfc:256k(boot),64k(env),2048k(kernel),5120k(rootfs),-(rootfs_data)"
#define CONFIG_BOOTARGS "totalmem=$(totalmem) mem=$(osmem) ethaddr=$(ethaddr) phyaddru=$(phyaddru) phyaddrd=$(phyaddrd) sensor=$(sensor) linux_cmd=$(linux_cmd) console=ttyAMA0,115200 panic=20 root=/dev/mtdblock3 rootfstype=squashfs mtdparts=hi_sfc:256k(boot),64k(env),2048k(kernel),5120k(rootfs),-(rootfs_data)"
#define CONFIG_NETMASK 255.255.255.0 /* talk on MY local net */
#define CONFIG_IPADDR 192.168.1.10 /* static IP I currently own */
#define CONFIG_SERVERIP 192.168.1.254 /* current IP of tftp server ip */
Expand Down
4 changes: 2 additions & 2 deletions package/boot/uboot-hi35xx/files/include/configs/hi3520d.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@
/*-----------------------------------------------------------------------
* Environment Configuration
------------------------------------------------------------------------*/
#define CONFIG_BOOTCOMMAND "setenv bootargs $(bootargs) mem=$(osmem) ethaddr=$(ethaddr) phyaddru=$(phyaddru) phyaddrd=$(phyaddrd) linux_cmd=$(linux_cmd); sf probe 0; sf read 0x82000000 0x50000 0x200000; bootm 0x82000000"
#define CONFIG_BOOTCOMMAND "setenv setargs setenv bootargs ${bootargs}; run setargs; sf probe 0; sf read 0x82000000 0x50000 0x200000; bootm 0x82000000"
#define CONFIG_BOOTDELAY 1
#define CONFIG_BOOTARGS "totalmem=128M console=ttyAMA0,115200 panic=20 root=/dev/mtdblock3 rootfstype=squashfs,jffs2 mtdparts=hi_sfc:256k(boot),64k(env),2048k(kernel),5120k(rootfs),-(rootfs_data)"
#define CONFIG_BOOTARGS "totalmem=$(totalmem) mem=$(osmem) ethaddr=$(ethaddr) phyaddru=$(phyaddru) phyaddrd=$(phyaddrd) sensor=$(sensor) linux_cmd=$(linux_cmd) totalmem=128M console=ttyAMA0,115200 panic=20 root=/dev/mtdblock3 rootfstype=squashfs mtdparts=hi_sfc:256k(boot),64k(env),2048k(kernel),5120k(rootfs),-(rootfs_data)"
#define CONFIG_NETMASK 255.255.254.0 /* talk on MY local net */
#define CONFIG_IPADDR 192.168.1.10 /* static IP I currently own */
#define CONFIG_SERVERIP 192.168.1.254 /* current IP of tftp server ip */
Expand Down
2 changes: 1 addition & 1 deletion target/linux/hi35xx/base-files/usr/sbin/version
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh

echo -e '\n\e[1;33mOpenIPC.org firmware v20.08.1 alpha \e[1;32m;)\e[0m\n\n' | logger -t info
echo -e "\n\e[1;36m$(cat /etc/banner) \e[0m\n\n" | logger -t info

8 changes: 4 additions & 4 deletions target/linux/hi35xx/config-3.0.8_hi3516cv100_20200822
Original file line number Diff line number Diff line change
Expand Up @@ -698,8 +698,8 @@ CONFIG_PHYLIB=y
# CONFIG_VITESSE_PHY is not set
CONFIG_SMSC_PHY=y
# CONFIG_BROADCOM_PHY is not set
# CONFIG_ICPLUS_PHY is not set
# CONFIG_REALTEK_PHY is not set
CONFIG_ICPLUS_PHY=y
CONFIG_REALTEK_PHY=y
# CONFIG_NATIONAL_PHY is not set
# CONFIG_STE10XP is not set
# CONFIG_LSI_ET1011C_PHY is not set
Expand All @@ -719,8 +719,8 @@ CONFIG_HIETH_HWQ_XMIT_DEPTH=12
CONFIG_HIETH_MDIO_FRQDIV=2
CONFIG_HIETH_MII_RMII_MODE_U=1
CONFIG_HIETH_MII_RMII_MODE_D=1
CONFIG_HIETH_PHYID_U=1
CONFIG_HIETH_PHYID_D=2
CONFIG_HIETH_PHYID_U=0
CONFIG_HIETH_PHYID_D=1
# CONFIG_HIETH_DOWNPORT_EN is not set
CONFIG_HIETH_MAX_RX_POOLS=1024
CONFIG_HIETH_TRACE_LEVEL=18
Expand Down
1 change: 1 addition & 0 deletions target/linux/hi35xx/examples/.config_16cv100_DEFAULT
Original file line number Diff line number Diff line change
Expand Up @@ -4539,6 +4539,7 @@ CONFIG_PACKAGE_mii-diag=m
# CONFIG_PACKAGE_pciutils is not set
# CONFIG_PACKAGE_pcscd is not set
# CONFIG_PACKAGE_procps is not set
CONFIG_PACKAGE_prometheus-node-exporter-lua=y
# CONFIG_PACKAGE_pv is not set
# CONFIG_PACKAGE_px5g is not set
# CONFIG_PACKAGE_px5g-standalone is not set
Expand Down
2 changes: 2 additions & 0 deletions target/linux/hi35xx/examples/.config_16cv200_DEFAULT
Original file line number Diff line number Diff line change
Expand Up @@ -4231,6 +4231,7 @@ CONFIG_PACKAGE_hi35xx_sensor_imx222=y
CONFIG_PACKAGE_hi35xx_sensor_jxf23=y
CONFIG_PACKAGE_hi35xx_sensor_ov9732=y
CONFIG_PACKAGE_hi35xx_sensor_sc1135=y
CONFIG_PACKAGE_hi35xx_sensor_sc2035=y
CONFIG_PACKAGE_hi35xx_sensor_sc2135=y

#
Expand Down Expand Up @@ -4531,6 +4532,7 @@ CONFIG_PACKAGE_mii-diag=m
# CONFIG_PACKAGE_pciutils is not set
# CONFIG_PACKAGE_pcscd is not set
# CONFIG_PACKAGE_procps is not set
CONFIG_PACKAGE_prometheus-node-exporter-lua=y
# CONFIG_PACKAGE_pv is not set
# CONFIG_PACKAGE_px5g is not set
# CONFIG_PACKAGE_px5g-standalone is not set
Expand Down
Loading

0 comments on commit 46703f0

Please sign in to comment.