forked from openwrt/openwrt
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kernel: add find and replace bootargs hack
Add find and replace bootargs to device tree cmdline hack. Now we can find and replace bootargs by setting bootargs-find-1, bootargs-replace-1 and bootargs-find-2, bootargs-replace-2 under the chosen node in the device tree. This hack was implemented to support Linksys MX4300, a dual firmware device. This device's default kernel command line isn't compatiailbe with OpenWrt's UBI, so we leverage find and replace to dynamically patch the command line while keeping the partition to boot set by u-boot. Signed-off-by: Qiyuan Zhang <[email protected]>
- Loading branch information
Showing
2 changed files
with
77 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters