hanwckf / rt-n56u

Padavan
3.26k stars 3.67k forks source link

R3G启动问题 #220

Open MxCen opened 4 years ago

MxCen commented 4 years ago

R3g默认设置没有变,直接下载编译后,BREED刷入后无法启动,网口不亮。是那里没弄对么。

MxCen commented 4 years ago

H大发的测试固件是好的,但是源码直接Clone下来直接编译啥都没动的,编译出来启动LAN直接就不亮了。。。换了ubuntu系统全新编译还是这样。郁闷了。

MxCen commented 4 years ago

LZMA 4.65 : Igor Pavlov : Public domain : 2009-02-03 Padded Kernel Image Size 1441728 /opt/rt-n56u/trunk/images/zImage.lzma Original RootFs Size 33287940 /opt/rt-n56u/trunk/romfs Compressed RootFs Size 10335512 /opt/rt-n56u/trunk/images/ramdisk Padded Kernel Image + Compressed Rootfs Size 11777240 /opt/rt-n56u/trunk/images/zImage.lzma !!! Please make sure that Padded Kernel Image + Compressed Rootfs size can't bigger than 33554432 (32MiB) !!!

Pack final image and write headers For No padded, need write kernel size in image header to correct mount partition in mtd drivers address img file: /opt/rt-n56u/trunk/images/MI-R3G_3.4.3.9-099.trx Product ID: MI-R3G Created: Tue Dec 24 21:08:47 2019 Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 11777240 Bytes = 11501.21 kB = 11.23 MB Load Address: 0x80001000 Entry Point: 0x802DB620 Kernel Size: 0x00160000 Kernel Ver.: 3.4 FS Ver.: 3.9

csrutil commented 4 years ago

相同的问题,k2p,r3g编译后的固件刷入后全部启动不了。

MxCen commented 4 years ago

奇了怪了。我是用Proxmox里面的LXC虚拟UBUNTU编译的,最后换了windows10下面,用wsl就可以启动了。操作都一样,有谁能解答呢。

csrutil commented 4 years ago
# !!! Please make sure that Padded Kernel Image + Compressed Rootfs size
# can't bigger than 16187136 !!!
#===========================================
# Pack final image and write headers
# For No padded, need write kernel size in image header 
# to correct mount partition in mtd drivers address
img file: /opt/rt-n56u/trunk/images/K2P_3.4.3.9-099.trx
Product ID:   K2P
Created:      Wed Dec 25 02:03:24 2019
Image Type:   MIPS Linux Kernel Image (lzma compressed)
Data Size:    7672002 Bytes = 7492.19 kB = 7.32 MB
Load Address: 0x80001000
Entry Point:  0x8028B1B0
Kernel Size:  0x0011E120
Kernel Ver.:  3.4
FS Ver.:      3.9
make[2]: Leaving directory '/opt/rt-n56u/trunk/vendors/Ralink/MT7621'
make[1]: Leaving directory '/opt/rt-n56u/trunk/vendors'
K2P-77be821-1577239404/
K2P-77be821-1577239404/K2P_3.4.3.9-099.trx

我试了一下,没用sudo,启动不了

MxCen commented 4 years ago

按教程,直接用win下的wsl去编译出来的就行。PVE一样方式编译出来的不行。我也不知道问题在哪里了哈哈哈。@csrutil

MxCen commented 4 years ago

MI-R3G_3.4.3.9-099.zip 我编译的超精简固件。你可以看看

csrutil commented 4 years ago

感谢,感谢!我刚刚在另外一台机器上面编译,刷入后发现可以启动了。我的天,到底是啥原因。

MxCen commented 4 years ago

我也想知道,啥都一样的步骤。结果不一样。