1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-03-09 15:40:20 +00:00
Commit graph

443 commits

Author SHA1 Message Date
suyuan
3165fce473 Revert "Revert "image: add support for building FIT image with filesystem.fix ipq4019 images""
This reverts commit 7c9606087e.
2021-03-13 00:14:10 +08:00
suyuan
2e375f468a Revert "Merge pull request #44 from Ysurac/develop"
This reverts commit ab556f74fd, reversing
changes made to 6ba9ff4c5a.
2021-03-13 00:13:54 +08:00
suyuan
7c9606087e Revert "image: add support for building FIT image with filesystem.fix ipq4019 images"
This reverts commit 4bc16d0a00.
2021-03-13 00:13:30 +08:00
suyuan
4bc16d0a00 image: add support for building FIT image with filesystem.fix ipq4019 images
Allow for single (external-data) FIT image to hold kernel, dtb and
squashfs. In that way, the bootloader verifies the system integrity
including the rootfs, because what's the point of checking that the
hash of the kernel is correct if it won't boot in case of squashfs
being corrupted? Better allow bootloader to check everything needed
to make it at least up to failsafe mode. As a positive side effect
this change also makes the sysupgrade process on nand potentially
much easier as it is now.
In short: mkimage has a parameter '-E' which allows generating FIT
images with 'external' data rather than embedding the data into the
device-tree blob itself. In this way, the FIT structure itself remains
small and can be parsed easily (rather than having to page around
megabytes of image content). This patch makes use of that and adds
support for adding sub-images of type 'filesystem' which are used to
store the squashfs. Now U-Boot can verify the whole OS and the new
partition parsers added in the Linux kernel can detect the filesystem
sub-images, create partitions for them, and select the active rootfs
volume based on the configuration in FIT (passing configuration via
device tree could be implemented easily at a later stage).

This new FIT partition parser works for NOR flash (on top of mtdblock),
NAND flash (on top of ubiblock) as well as classic block devices
(ie. eMMC, SDcard, SATA, NVME, ...).
It could even be used to mount such FIT images via `losetup -P` on a
user PC if this patch gets included in Linux upstream one day ;)
2021-03-13 00:10:34 +08:00
suyuan
ab556f74fd
Merge pull request #44 from Ysurac/develop
sync
2021-03-12 23:49:36 +08:00
Ycarus (Yannick Chabanois)
c37e34f163
Merge pull request #1654 from WelterRocks/develop
Added support for BPI-R1
2021-03-12 16:34:12 +01:00
Olli
e7587826db Enabled swconfig-wrapper 2021-03-10 23:34:05 +01:00
Olli
9cd7fa4988 Chmod to 755 swconfig-wrapper.sh 2021-03-10 23:32:40 +01:00
suyuan
6ba9ff4c5a
Merge pull request #43 from Ysurac/develop
Force use of kernel 5.4 for BPI-R64
2021-03-10 10:57:53 +08:00
Olli
75e5ee2fdd Added swconfig-wrapper to take control about DSA switch configuration 2021-03-10 00:53:42 +01:00
Ycarus (Yannick Chabanois)
80c5a8bf75 Force use of kernel 5.4 for BPI-R64 2021-03-09 17:36:41 +01:00
suyuan
c920737d48 fix 2021-03-09 10:35:46 +08:00
Ycarus (Yannick Chabanois)
eb3ecd9249 Remove patch not needed anymore 2021-03-08 19:39:21 +01:00
Ycarus (Yannick Chabanois)
f5da6ef37d Remove patch not needed anymore 2021-03-08 19:37:50 +01:00
suyuan
95c5346238
Merge pull request #41 from Ysurac/develop
sync
2021-03-08 10:43:54 +08:00
Olli
8228dbbbde Added master interface 2021-03-07 07:15:05 +01:00
Olli
35b806a8c9 Added automatic switch setup in DSA mode 2021-03-07 07:03:35 +01:00
Oliver Welter
c003535dfa
Merge pull request #1 from Ysurac/develop
Update MPTCP
2021-03-07 03:22:38 +01:00
Olli
709cf02b2b Fixed VLAN tagging for switch0 2021-03-06 23:58:10 +01:00
Olli
bec2c97309 Removed bridge from interface types 2021-03-06 22:59:48 +01:00
Olli
156c95d02e Added bridges to phy mode 2021-03-06 05:30:07 +01:00
Olli
e5393baa84 Added support for DSA and PHY default config 2021-03-06 05:17:13 +01:00
Olli
ef75c95d50 Tagged PHY or DSA mode in /etc and added kernel bridge vlan filter support 2021-03-06 04:49:54 +01:00
Olli
792286e405 Add switch0 vlanid changer 2021-03-06 01:19:13 +01:00
Olli
af1500adbe Added untag script to make switch0 work 2021-03-06 01:16:07 +01:00
Ycarus (Yannick Chabanois)
77395a6e3b Update MPTCP 2021-03-05 21:22:34 +01:00
suyuan
3176689265
Merge pull request #40 from Ysurac/develop
Really fix xhci patch
2021-02-20 19:18:04 +08:00
Ycarus (Yannick Chabanois)
a2781bcb0d Really fix xhci patch 2021-02-20 09:14:35 +01:00
suyuan
2d5a9351fe
合并Ysurac/develop的拉取请求#39
sync
2021-02-20 10:57:05 +08:00
Ycarus (Yannick Chabanois)
3d3dcd1a26 Fix xhci patch 2021-02-19 14:26:53 +01:00
Ycarus (Yannick Chabanois)
bcbc760a8e Remove xhci patch 2021-02-19 14:14:31 +01:00
Ycarus (Yannick Chabanois)
4355512602 Fix MPTCP patch 2021-02-18 21:44:26 +08:00
Ycarus (Yannick Chabanois)
c856ba43ac Fix MPTCP patch 2021-02-18 14:31:16 +01:00
suyuan
2314bcd640 fix 2021-02-17 19:46:19 +08:00
suyuan
ba0552dfe3 Merge branch 'develop' of git://github.com/Ysurac/openmptcprouter into Ysurac-develop 2021-02-17 19:43:13 +08:00
Ycarus (Yannick Chabanois)
be9f7d9080 Update MPTCP 2021-02-17 10:08:29 +01:00
suyuan
fc2eeabb9b Merge branch 'testdevelop' into develop 2021-02-14 00:34:24 +08:00
suyuan
8c0b9f3f05 sync 2021-02-14 00:33:13 +08:00
Ycarus (Yannick Chabanois)
e53debe64f Enable GPIO SysFS 2021-02-11 21:11:37 +01:00
Ycarus (Yannick Chabanois)
4393b4dcbc Update MPTCP 2021-02-11 09:37:49 +01:00
suyuan
3ededb214f Update adjust_network.sh 2021-02-05 02:48:31 +08:00
suyuan
83a49aadb4 Merge branch 'testdevelop' into develop 2021-02-04 00:46:41 +08:00
Ycarus (Yannick Chabanois)
a7a1600965 Update BBRv2 alpha 2021-02-04 00:42:46 +08:00
Ycarus (Yannick Chabanois)
4c596b6312 Update BBRv2 alpha 2021-02-03 10:59:54 +01:00
suyuan
8c34860354 fix 2021-02-02 01:26:44 +08:00
suyuan
016881fe5c fix_l1000_led
修复led灯
2021-01-28 00:44:02 +08:00
suyuan
390d800fff adjust IRQ affinity 2021-01-27 00:57:13 +08:00
suyuan
a822599344 Merge branch 'testdevelop' into develop 2021-01-25 21:52:25 +08:00
Ycarus (Yannick Chabanois)
e3180960ee Update MPTCP 2021-01-25 21:51:18 +08:00
Ycarus (Yannick Chabanois)
9aef920b2b Update MPTCP 2021-01-14 20:08:03 +01:00