This repository was archived by the owner on Sep 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Missing boot.ext4 in release #2
Copy link
Copy link
Open
Description
由于我目前lp4a上sd卡启动似乎有点问题,只使用emmc烧写来进行对系统的更换,在手头想刷个openwrt。
首先参考了https://github.com/ruyisdk/openwrt-th1520/tree/th1520 ,然后编译中出现了kernel编译,缺少dts等一系列问题,在使用了很trick的方法(复制revy老师firmware中的固件和删除kernel中未使用函数,变量这类)以后最后编译出来的固件烧录之后依然无法启动,具体日志等我晚些重新编译一边提交上来。
于是乎我打算偷懒直接找现成的固件,于是kamisama就指引我到这里来了,但是似乎在release中没看到boot.ext4的文件? 我看lp4a的烧写脚本似乎需要准备一个u-boot, rootfs.ext4, bootfs.ext4 🥺🥺
以下为原始的烧录bat脚本
:: Script to flash imagess via fastboot, edit image path first
@echo off
call:RunACmd ".\fastboot.exe flash ram images\u-boot-with-spl-sbc8g.bin"
call:RunACmd ".\fastboot.exe reboot"
ping 127.0.0.1 -n 5 >nul
call:RunACmd ".\fastboot.exe flash uboot images\u-boot-with-spl-sbc8g.bin"
call:RunACmd ".\fastboot.exe flash boot images\boot-lpi4a-20240601_180941.ext4"
call:RunACmd ".\fastboot.exe flash root images\root-lpi4a-20240601_180941.ext4"
pause
exit
:RunACmd
SETLOCAL
set CmdStr=%1
echo IIIIIIIIIIIIIIII Run Cmd: %CmdStr%
%CmdStr:~1,-1% || goto RunACmd
GOTO:EOF
🥺🥺🥺
Metadata
Metadata
Assignees
Labels
No labels