diff --git a/README.md b/README.md index 0700e6eace78b10db72c11529449df0be1ef3c3c..7e20b84e258d7c1c16775902bfebb5d9147d0a82 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,8 @@ $ git checkout SCALP-SAFE-v0.4 ### Create new Petalinux project from a BSP +**If you want to name your "scalp_safe_firmware" project, please delete the one already present. This folder has been left deliberately.** + ``` $ cd <SCALP_PROJECT_FOLDER>/scalp_petalinux/ $ petalinux-create --type project -s <path-to-bsp> --name <PROJECT NAME> diff --git a/bsp/SCALP-SAFE-FIRMWARE-BSP-V0.4.1.bsp b/bsp/SCALP-SAFE-FIRMWARE-BSP-V0.4.1.bsp new file mode 100644 index 0000000000000000000000000000000000000000..7ad5a8123d50e45957479969fc8c20a7a97eeaae Binary files /dev/null and b/bsp/SCALP-SAFE-FIRMWARE-BSP-V0.4.1.bsp differ diff --git a/scalp_safe_petalinux/SCALP-SAFE-FIRMWARE-BSP-V0.4.1.bsp b/scalp_safe_petalinux/SCALP-SAFE-FIRMWARE-BSP-V0.4.1.bsp new file mode 100644 index 0000000000000000000000000000000000000000..7ad5a8123d50e45957479969fc8c20a7a97eeaae Binary files /dev/null and b/scalp_safe_petalinux/SCALP-SAFE-FIRMWARE-BSP-V0.4.1.bsp differ diff --git a/scalp_safe_petalinux/project-spec/meta-user/recipes-apps/sja1105-conf/files/sja1105-conf b/scalp_safe_petalinux/project-spec/meta-user/recipes-apps/sja1105-conf/files/sja1105-conf index f40064bef7e6d9792e61981ea03e281e57089d5e..abf49827cf907e1522812254ca34c19d2770fbbc 100644 --- a/scalp_safe_petalinux/project-spec/meta-user/recipes-apps/sja1105-conf/files/sja1105-conf +++ b/scalp_safe_petalinux/project-spec/meta-user/recipes-apps/sja1105-conf/files/sja1105-conf @@ -160,3 +160,4 @@ sja1105_creat_bridge sja1105_link_ports_to_bridge sja1105_ports_vlan_conf sja1105_bridge_link_up + diff --git a/scalp_safe_petalinux/project-spec/meta-user/recipes-bsp/device-tree/files/system-user.dtsi b/scalp_safe_petalinux/project-spec/meta-user/recipes-bsp/device-tree/files/system-user.dtsi index 8b0c8da89fda3b67e80b1643cff54a68ae3f8542..2c0e8cc6497ed7de071acfe01eecb0ea4c4bf7a0 100644 --- a/scalp_safe_petalinux/project-spec/meta-user/recipes-bsp/device-tree/files/system-user.dtsi +++ b/scalp_safe_petalinux/project-spec/meta-user/recipes-bsp/device-tree/files/system-user.dtsi @@ -189,7 +189,7 @@ //sja1105,role-mac; fixed-link { - speed = <10>; + speed = <1000>; full-duplex; }; }; diff --git a/scalp_safe_petalinux/project-spec/meta-user/recipes-bsp/u-boot/files/platform-top.h b/scalp_safe_petalinux/project-spec/meta-user/recipes-bsp/u-boot/files/platform-top.h index 6aa354b9520d0ea9c70d43c542d16b44e930222a..e75021feb250b9ad6e3734aa5107688b63d66ad0 100644 --- a/scalp_safe_petalinux/project-spec/meta-user/recipes-bsp/u-boot/files/platform-top.h +++ b/scalp_safe_petalinux/project-spec/meta-user/recipes-bsp/u-boot/files/platform-top.h @@ -53,8 +53,9 @@ "ethact=eth0\0" \ "ethprime=eth0\0" \ -#define IPADDR_DEFAULT "10.197.100.100" -#define ETHADDR_DEFAULT "02:00:00:c5:64:64" -#define MTDIDS_DEFAULT "nor0=nor_flash" -#define MTDPARTS_DEFAULT "mtdparts=nor_flash:5m(boot)ro,-(ubi)" -#define BOOTARGS_DEFAULT "${mtdparts} ubi.mtd=1 root=ubi0:rootfs-vol rootfstype=ubifs rw earlyprintk cpuidle.off=1 crashkernel=256M ip=${ipaddr}:::::eth0" + //#define CONFIG_IPADDR "10.197.100.100" + //#define CONFIG_ETHADDR "02:00:00:c5:64:64" +#define MTDIDS_DEFAULT "nor0=nor_flash" +#define MTDPARTS_DEFAULT "mtdparts=nor_flash:5m(boot)ro,-(ubi)" +#define CONFIG_BOOTARGS "${mtdparts} ubi.mtd=1 root=ubi0:rootfs-vol rootfstype=ubifs rw earlyprintk cpuidle.off=1 crashkernel=256M ip=${ipaddr}:::::eth0" +#define CONFIG_BOOTCOMMAND "run custom_autoboot"