Temat stary ale próbowałem tak zrobić z flashem 16M
stworzyłem plik:
131072 bajtów uboot ze starej kości
6684676 bajtów gargoyle-1.6.2.2-ar71xx-tl-mr3420-v1-8M-16M-squashfs-sysupgrade.bin
9895932 bajtów dopełnione ff
65536 bajtów art
razem 16777216 bajtów czyli dokładnie 16MB
po zaprogramowaniu układu i wlutowaniu, nie ryszył, po podpięciu przez rs232 dostaję info jak poniżej
czy coś nie tak z wsadem?
No valid address in Flash. Using fixed address
HH.000000] Linux version 3.3.8 (cezary@eko.one.pl) (gcc version 4.6.3 2012020
1 (prerelease) (Linaro GCC 4.6-2012.02) ) #69 Sat Sep 27 10:15:45 CEST 2014
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR7241 rev 1
[ 0.000000] Clocks: CPU:400.000MHz, DDR:400.
MHz
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone PFN ranges:
[ 0.000000] Normal 0x00000000 -> 0x00002000
[ 0.000000] Movable zone start PFN for each node
$HH.000000] Built 1 zonelists in Zone order, mobility grouping on. Total page
s: 8128
[ 0.000000] Kernel command line: board=TL-MR3420 console=ttyS0,115200 rootfs
type=squashfs,jffs2 noinitrd
[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Inode-cache hash table entri$HH.000000] Primary instruction cac
he 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32
bytes
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback E$HH.000000] Memory: 28936k/32768k available (2256k ke
rnel code, 3832k reserved, 425k data
[ 0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, No
des=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Calibrating delay loop... $HH.090000] gpiochip_add: registered
GPIOs 0 to 17 on device: ath79
[ 0.100000] MIPS: machine is TP-LINK TL-MR3420
$HH.550000] PCI host bridge to bus 0000:00
[ 0.550000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[ 0.560000] pci_bus 0000:00: root bus resource [io 0x0000]
[ 0.560000] pci 0000:00:00.0: fixup device confiHHH.
0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
[ 0.570000] pci 0000:00:00.0:HHH.580000] NET: Registered protocol family 2
[ 0.590000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.590000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.600000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.600000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.610000] TCP reno registered
[ 0.610000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.620000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.630000] NET: Registered protocol family 1
$HH.650000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.650000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY
) (c) 2001-200HH.670000] Block layer SCSI generic (bsg) driver version 0.4 loa
ded (major 254)
[ 0.680000] io scheduler noop registered
[ 0.680000] io scheduler deadline registered (default)
[ 0.690000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
$HH.720000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[ 0.720000] console [ttyS0] enabled, bootconsole disabled
[ 0.72000HH2.910000] ag71xx ag71xx.0: eth1: connected to PHY at ag71xx-mdio
.1:04 [uid=0HH2.920000] TCP cubic registered
[ 2.920000] NET: Registered protocol family 17
[ 2.930000] Bridge firewalling registered
[ 2.930000] Ebtables v2.HH2.940000] VFS: Cannot open root device "(null)" o
r unknown-block(0,0)
[ 2.950000] Please append a correct "root=" boot option; here are the availab
le partitions:
[ 2.960000] Kernel panic - not syncing: VFS: Unable to mount root fs on unkno
wn-block(0,0)