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, bootargs-exact-match-1 and bootargs-find-2, bootargs-replace-2, bootargs-exact-match-2 under the chosen node in the device tree. The purpose of thie hack is to to add support for Linksys MX4300, a dual firmware device. This device's default kernel command lines aren't compatiailbe with OpenWrt's UBI, so we leverage find and replace to dynamically patch the cmd. Signed-off-by: Qiyuan Zhang <[email protected]>
- Loading branch information
Showing
2 changed files
with
96 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