Temat: Nsa310 - problem z bootowaniem

Witajcie, wrzuciłem nową wersje AA na pendrive niestety nie działa. Zrzut z konsoli:

U-Boot 2013.07 (Sep 20 2013 - 15:45:03)
ZyXEL NSA310 1-Bay Power Media Server


SoC:   Kirkwood 88F6281_A1
DRAM:  256 MiB
WARNING: Caches not enabled
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
Warning: failed to set MAC address

PHY reset timed out
MV88E1318 PHY initialized on egiga0
Hit any key to stop autoboot:  0
(Re)start USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 4 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
1154152 bytes read in 320 ms (3.4 MiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-3.3.8
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1154088 Bytes = 1.1 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Linux version 3.3.8 (cezary@eko.one.pl) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sat Oct 26 17:37:55 CEST 2013
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: ZyXEL NSA-310
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda1 rootdelay=5
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 256MB = 256MB total
[    0.000000] Memory: 256516k/256516k available, 5628k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff000000   ( 744 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc02db000   (2892 kB)
[    0.000000]       .init : 0xc02db000 - 0xc02fa000   ( 124 kB)
[    0.000000]       .data : 0xc02fa000 - 0xc0317d00   ( 120 kB)
[    0.000000]        .bss : 0xc0317d24 - 0xc03425f0   ( 171 kB)
[    0.000000] NR_IRQS:114
[    0.000000] gpiochip_add: registered GPIOs 0 to 31 on device: orion_gpio0
[    0.000000] gpiochip_add: registered GPIOs 32 to 49 on device: orion_gpio1
[    0.000000] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474ms
[   12.623845] Calibrating delay loop... 1196.85 BogoMIPS (lpj=5984256)
[   12.713830] pid_max: default: 32768 minimum: 301
[   12.713973] Mount-cache hash table entries: 512
[   12.714279] CPU: Testing write buffer coherency: ok
[   12.714535] Setting up static identity map for 0x27eb80 - 0x27ebbc
[   12.716289] NET: Registered protocol family 16
[   12.718480] Kirkwood: MV88F6281-A1, TCLK=200000000.
[   12.718496] Feroceon L2: Enabling L2
[   12.718533] Feroceon L2: Cache support initialised.
[   12.720552] Kirkwood PCIe port 0:
[   12.720559] link up
[   12.720566] PCI: bus0 uses PCIe port 0
[   12.720712] PCI host bridge to bus 0000:00
[   12.720727] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff]
[   12.720739] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[   12.721074] PCI: bus0: Fast back to back transfers disabled
[   12.721413] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0000000-0xe000ffff pref]
[   12.721431] pci 0000:00:01.0: BAR 4: assigned [mem 0xe0010000-0xe0013fff 64bit pref]
[   12.721451] pci 0000:00:01.0: BAR 2: assigned [mem 0xe0014000-0xe0014fff 64bit pref]
[   12.721469] pci 0000:00:01.0: BAR 0: assigned [io  0x1000-0x10ff]
[   12.727081] bio: create slab <bio-0> at 0
[   12.727992] SCSI subsystem initialized
[   12.728560] usbcore: registered new interface driver usbfs
[   12.728700] usbcore: registered new interface driver hub
[   12.728854] usbcore: registered new device driver usb
[   12.729963] Switching to clocksource orion_clocksource
[   12.731521] NET: Registered protocol family 2
[   12.731675] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[   12.731965] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[   12.732149] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[   12.732243] TCP: Hash tables configured (established 8192 bind 8192)
[   12.732253] TCP reno registered
[   12.732263] UDP hash table entries: 256 (order: 0, 4096 bytes)
[   12.732286] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[   12.732462] NET: Registered protocol family 1
[   12.734019] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[   12.734034] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[   12.734367] msgmni has been set to 501
[   12.734569] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[   12.734583] io scheduler noop registered
[   12.734591] io scheduler deadline registered (default)
[   12.801206] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[   12.823911] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[   13.222912] console [ttyS0] enabled
[   13.227910] NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
[   13.236588] Scanning device for bad blocks
[   13.240955] Bad eraseblock 2 at 0x000000040000
[   13.245468] Bad eraseblock 3 at 0x000000060000
[   13.345816] Creating 9 MTD partitions on "orion_nand":
[   13.350997] 0x000000000000-0x000000100000 : "uboot"
[   13.356805] 0x000000100000-0x000000180000 : "uboot_env"
[   13.362899] 0x000000180000-0x000000200000 : "key_store"
[   13.368938] 0x000000200000-0x000000280000 : "info"
[   13.374554] 0x000000280000-0x000000c80000 : "etc"
[   13.380085] 0x000000c80000-0x000001680000 : "kernel_1"
[   13.386045] 0x000001680000-0x000004640000 : "rootfs1"
[   13.391984] 0x000004640000-0x000005040000 : "kernel_2"
[   13.397945] 0x000005040000-0x000008000000 : "rootfs2"
[   13.404236] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   13.410852] orion-ehci orion-ehci.0: Marvell Orion EHCI
[   13.416145] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[   13.450010] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[   13.469995] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[   13.476499] hub 1-0:1.0: USB hub found
[   13.480305] hub 1-0:1.0: 1 port detected
[   13.484653] Initializing USB Mass Storage driver...
[   13.489730] usbcore: registered new interface driver usb-storage
[   13.495779] USB Mass Storage support registered.
[   13.500707] cpuidle: using governor ladder
[   13.506904] TCP cubic registered
[   13.510166] NET: Registered protocol family 17
[   13.514698] Bridge firewalling registered
[   13.518879] 8021q: 802.1Q VLAN Support v1.8
[   13.523339] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[   13.530003] Waiting 5sec before mounting root device...
[   13.800001] usb 1-1: new high-speed USB device number 2 using orion-ehci
[   13.952195] hub 1-1:1.0: USB hub found
[   13.956244] hub 1-1:1.0: 4 ports detected
[   14.240252] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[   14.353596] scsi0 : usb-storage 1-1.2:1.0
[   14.430269] usb 1-1.3: new high-speed USB device number 4 using orion-ehci
[   14.542061] hub 1-1.3:1.0: USB hub found
[   14.546372] hub 1-1.3:1.0: 4 ports detected
[   15.350956] scsi 0:0:0:0: Direct-Access              USB DISK 2.0     PMAP PQ: 0 ANSI: 0 CCS
[   15.360909] sd 0:0:0:0: [sda] 4016128 512-byte logical blocks: (2.05 GB/1.91 GiB)
[   15.369281] sd 0:0:0:0: [sda] Write Protect is off
[   15.374511] sd 0:0:0:0: [sda] No Caching mode page present
[   15.380039] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   15.388759] sd 0:0:0:0: [sda] No Caching mode page present
[   15.394290] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   15.401290]  sda: unknown partition table
[   15.407261] sd 0:0:0:0: [sda] No Caching mode page present
[   15.412794] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   15.418918] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   18.540534] VFS: Cannot open root device "sda1" or unknown-block(8,1)
[   18.547005] Please append a correct "root=" boot option; here are the available partitions:
[   18.555417] 1f00            1024 mtdblock0  (driver?)
[   18.560531] 1f01             512 mtdblock1  (driver?)
[   18.565618] 1f02             512 mtdblock2  (driver?)
[   18.570711] 1f03             512 mtdblock3  (driver?)
[   18.575793] 1f04           10240 mtdblock4  (driver?)
[   18.580909] 1f05           10240 mtdblock5  (driver?)
[   18.585996] 1f06           48896 mtdblock6  (driver?)
[   18.591090] 1f07           10240 mtdblock7  (driver?)
[   18.596172] 1f08           48896 mtdblock8  (driver?)
[   18.601266] 0800         2008064 sda  driver: sd
[   18.605911] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,1)

Co go może boleć?

2

Odp: Nsa310 - problem z bootowaniem

sda: unknown partition table

Nie ma partycji na pendrive?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: Nsa310 - problem z bootowaniem

Coś mi się przestawiło w ustawieniach bootloadera, że czytało z innej partycji. Wszystko już gra.

4

Odp: Nsa310 - problem z bootowaniem

witam, czy ktoś mógłby wrzucić oryginalną zawartość ustawień bootloadera? bo coś chyba pomieszałem. Lub jak powinna wyglądać orginalnie komenda

setenv bootcmd 'usb start;ext2load usb 0:1 0x800000 /uImage; bootm 0x800000'

bo ustawiałem autoboot z usb ale coś poszło nie tak. Drugie pytanie bo nie do końca rozumiem koncepcję. Jeśli ustawię autobootowanie to czy po wyjęciu pendrive ruszy oryginalny system? chodzi o to czy za każdym razem chęci uruchomienia oryginału będę musiał podpinać kabelek i modyfikować bootloadera.

5

Odp: Nsa310 - problem z bootowaniem

Zobacz mój poradnik instalacji Archa na iConnect (ta sama platforma co NSA310), punkt 2.3. Dualboot OpenWRT and ArchARM
http://www.pawelwozniak.info/index.php/ … n-iconnect

Generalnie ustawiasz dwie zmienne z komendami ładowania każdego systemu, w Twoim przypadku pewnie oryginalnego softu i OpenWRT. Potem wywołujesz w kolejnosci: 1.ładowanie z USB ii 2. ładownaie z flash.

W przypadku braku pendrive pierwsza komenda run zwróci błąd i zostanie wykonana druga.

6

Odp: Nsa310 - problem z bootowaniem

hmm dziwne rzeczy się dzieją bo nie mogę przywrócić domyślnych wartości bootloadera. Po każdym resetenv powraca to co było przed

NSA310>> resetenv
Erase Env parameters offset 0x100000... done
Warning: Default Environment Variables will take effect Only after RESET

NSA310>> saveenv
Saving Environment to NAND...
Erasing Nand...Writing to Nand... done
NSA310>> reset
ţ
         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|
 ** MARVELL BOARD: RD-88F6281A LE

U-Boot 1.1.4 (Jun  8 2011 - 18:48:37) Marvell version: 3.4.19

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CFEE0

Soc: 88F6281 A1 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 256MB
DRAM Total size 256MB  16bit width
Addresses 10M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (10M - 7M): Done
NAND:128 MB
Flash:  0 kB

CPU : Marvell Feroceon (Rev 1)
Kernel address is 0xc80000.

Streaming disabled
Write allocate disabled

Module 0 is RGMII
Module 1 is TDM

USB 0: host mode
PEX 0: PCI Express Root Complex Interface
PEX interface detected Link X1
Net:   egiga0, egiga1 [PRIME]
Hit any key to stop autoboot:  0
NSA310>> printenv
bootdelay=2
baudrate=115200
loads_echo=0
eth1addr=00:19:CB:00:51:82
ipaddr=10.4.50.165
serverip=10.4.50.5
rootpath=/mnt/ARM_FS/
netmask=255.255.255.0
nandEcc=1bit
MODEL_ID=A203
PRODUCT_NAME=NSA-310
FEATURE_BIT=00
CONTRY_TYPE=FF
VENDOR_NAME=ZyXEL Communications Corp.
run_diag=yes
ethaddr=CC:5D:4E:C9:F9:13
console=100000
=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x7f00000@0x100000(root)
CASset=min
ethprime=egiga1
bootargs_root=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/m                                                                                                 tdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x20                                                                                                 00000;
ethmtu=1500
eth1mtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
MALLOC_len=3
bootcmd=usb start;ext2load usb 0:1 0x800000 /uImage; bootm 0x800000
arcNumber=4022
bootargs=console=ttyS0,115200 root=/dev/sda1 rootdelay=5
tdin=serial
stdout=serial
stderr=serial
nandEnvBase=100000
mainlineLinux=yes
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
disaMvPnp=no
hddPowerCtrl=no
enaAutoRecovery=yes
kernel_addr=0xc80000
pcieTune=no
ethact=egiga1

Environment size: 1602/131068 bytes

ktoś pomoże i podpowie jak wygląda orginalnie ta linia??

bootcmd=usb start;ext2load usb 0:1 0x800000 /uImage; bootm 0x800000

jak mogę sprawdzić id podłączonych nośników? tzn czy dobrze mam zapisane sda1 czy powinno być co innego

7

Odp: Nsa310 - problem z bootowaniem

bootcmd nand read.e 0x2000000 $(kernel_addr) 0xA00000; bootm 0x2000000


W googlach to znajdziesz.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

8

Odp: Nsa310 - problem z bootowaniem

Ponownie mam powyższy problem i nie wiem jak go rozwiązać:

## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-3.3.8
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1175440 Bytes = 1.1 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Linux version 3.3.8 (bartekdebian2@debian2) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #5 Wed Mar 19 23:34:38 CET 2014
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: ZyXEL NSA-310
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda rootdelay=5
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 256MB = 256MB total
[    0.000000] Memory: 256456k/256456k available, 5688k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff000000   ( 744 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc02ea000   (2952 kB)
[    0.000000]       .init : 0xc02ea000 - 0xc0309000   ( 124 kB)
[    0.000000]       .data : 0xc030a000 - 0xc0326fc0   ( 116 kB)
[    0.000000]        .bss : 0xc0326fe4 - 0xc0351890   ( 171 kB)
[    0.000000] NR_IRQS:114
[    0.000000] gpiochip_add: registered GPIOs 0 to 31 on device: orion_gpio0
[    0.000000] gpiochip_add: registered GPIOs 32 to 49 on device: orion_gpio1
[    0.000000] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474ms
[   14.765628] Calibrating delay loop... 1196.85 BogoMIPS (lpj=5984256)
[   14.855613] pid_max: default: 32768 minimum: 301
[   14.855760] Mount-cache hash table entries: 512
[   14.856072] CPU: Testing write buffer coherency: ok
[   14.856328] Setting up static identity map for 0x28b270 - 0x28b2ac
[   14.858093] NET: Registered protocol family 16
[   14.860313] Kirkwood: MV88F6281-A1, TCLK=200000000.
[   14.860328] Feroceon L2: Enabling L2
[   14.860364] Feroceon L2: Cache support initialised.
[   14.862384] Kirkwood PCIe port 0:
[   14.862391] link up
[   14.862399] PCI: bus0 uses PCIe port 0
[   14.862544] PCI host bridge to bus 0000:00
[   14.862559] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff]
[   14.862571] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[   14.862905] PCI: bus0: Fast back to back transfers disabled
[   14.863243] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0000000-0xe000ffff pref]
[   14.863261] pci 0000:00:01.0: BAR 4: assigned [mem 0xe0010000-0xe0013fff 64bit pref]
[   14.863281] pci 0000:00:01.0: BAR 2: assigned [mem 0xe0014000-0xe0014fff 64bit pref]
[   14.863299] pci 0000:00:01.0: BAR 0: assigned [io  0x1000-0x10ff]
[   14.868704] bio: create slab <bio-0> at 0
[   14.869608] SCSI subsystem initialized
[   14.870177] usbcore: registered new interface driver usbfs
[   14.870409] usbcore: registered new interface driver hub
[   14.870562] usbcore: registered new device driver usb
[   14.871663] Switching to clocksource orion_clocksource
[   14.873219] NET: Registered protocol family 2
[   14.873376] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[   14.873662] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[   14.873846] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[   14.873941] TCP: Hash tables configured (established 8192 bind 8192)
[   14.873951] TCP reno registered
[   14.873960] UDP hash table entries: 256 (order: 0, 4096 bytes)
[   14.873983] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[   14.874159] NET: Registered protocol family 1
[   14.875723] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[   14.875738] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[   14.876074] msgmni has been set to 500
[   14.876279] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[   14.876293] io scheduler noop registered
[   14.876301] io scheduler deadline registered (default)
[   14.943032] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[   14.965753] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[   15.364931] console [ttyS0] enabled
[   15.369936] NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
[   15.378615] Scanning device for bad blocks
[   15.382983] Bad eraseblock 2 at 0x000000040000
[   15.387494] Bad eraseblock 3 at 0x000000060000
[   15.487862] Creating 9 MTD partitions on "orion_nand":
[   15.493043] 0x000000000000-0x000000100000 : "uboot"
[   15.498845] 0x000000100000-0x000000180000 : "uboot_env"
[   15.504949] 0x000000180000-0x000000200000 : "key_store"
[   15.510988] 0x000000200000-0x000000280000 : "info"
[   15.516599] 0x000000280000-0x000000c80000 : "etc"
[   15.522133] 0x000000c80000-0x000001680000 : "kernel_1"
[   15.528084] 0x000001680000-0x000004640000 : "rootfs1"
[   15.534024] 0x000004640000-0x000005040000 : "kernel_2"
[   15.539986] 0x000005040000-0x000008000000 : "rootfs2"
[   15.546396] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   15.553399] usbcore: registered new interface driver libusual
[   15.559434] cpuidle: using governor ladder
[   15.565934] TCP cubic registered
[   15.569183] NET: Registered protocol family 17
[   15.573743] Bridge firewalling registered
[   15.577940] 8021q: 802.1Q VLAN Support v1.8
[   15.582400] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[   15.589050] Waiting 5sec before mounting root device...
[   20.601808] VFS: Cannot open root device "sda" or unknown-block(0,0)
[   20.608189] Please append a correct "root=" boot option; here are the available partitions:
[   20.616601] 1f00            1024 mtdblock0  (driver?)
[   20.621694] 1f01             512 mtdblock1  (driver?)
[   20.626776] 1f02             512 mtdblock2  (driver?)
[   20.631870] 1f03             512 mtdblock3  (driver?)
[   20.636952] 1f04           10240 mtdblock4  (driver?)
[   20.642045] 1f05           10240 mtdblock5  (driver?)
[   20.647128] 1f06           48896 mtdblock6  (driver?)
[   20.652220] 1f07           10240 mtdblock7  (driver?)
[   20.657303] 1f08           48896 mtdblock8  (driver?)
[   20.662396] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

Podawałem różne partycje, różne pendrive i nie bootuje.

9

Odp: Nsa310 - problem z bootowaniem

sda1 jak już, ponad to - on nie wykrył żadnej partycji. Nie wkompilowałęs usb-storage?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

10

Odp: Nsa310 - problem z bootowaniem

To jest to samo openwrt, z którym kiedyś walczyłem + Twój konfig więc wszystko powinno być.

11

Odp: Nsa310 - problem z bootowaniem

A że powinno. Ale partycji Ci nie wykrył.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

12

Odp: Nsa310 - problem z bootowaniem

Skompilowałem nową wersję i dalej to samo. O co może chodzić?

13

Odp: Nsa310 - problem z bootowaniem

Gdzie system plików ma być? Na dysku czy usb?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

14

Odp: Nsa310 - problem z bootowaniem

Tak jak zawsze, na usb.

15

Odp: Nsa310 - problem z bootowaniem

Masz więc usb storage wkompilowane?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

16

Odp: Nsa310 - problem z bootowaniem

Tak.

17

Odp: Nsa310 - problem z bootowaniem

Sprawdź. Bo nie ma kompletnie nic tu o usb storage.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

18

Odp: Nsa310 - problem z bootowaniem

Jest na 100%

PunBB bbcode test

19

Odp: Nsa310 - problem z bootowaniem

Niby co jest? To jest konfiguracja pakietów w postaci moduły, * oznacza że znajdzie się w to w obrazie. A ty masz do jądra to wkompilować, jak inaczej kernel ma wykryć partycję na której jest reszta rzeczy.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

20

Odp: Nsa310 - problem z bootowaniem

A gdzie niby mogę to w kernel wkompilować?

21

Odp: Nsa310 - problem z bootowaniem

make kernel_menuconfig

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

22

Odp: Nsa310 - problem z bootowaniem

Byłem tam, ale niestety nie wiem co tam pozaznaczać.

23

Odp: Nsa310 - problem z bootowaniem

usb i usb storage + odpowiedni system plików. Cały wątek o tym piszę.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

24

Odp: Nsa310 - problem z bootowaniem

Dalej nie wykrywa tego.

## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-3.3.8
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1187176 Bytes = 1.1 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Linux version 3.3.8 (bartekdebian2@debian2) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #9 Sat Mar 29 12:17:07 CET 2014
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: ZyXEL NSA-310
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda1 rootdelay=5
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 256MB = 256MB total
[    0.000000] Memory: 256420k/256420k available, 5724k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff000000   ( 744 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc02f2000   (2984 kB)
[    0.000000]       .init : 0xc02f2000 - 0xc0311000   ( 124 kB)
[    0.000000]       .data : 0xc0312000 - 0xc0330380   ( 121 kB)
[    0.000000]        .bss : 0xc03303a4 - 0xc035acd0   ( 171 kB)
[    0.000000] NR_IRQS:114
[    0.000000] gpiochip_add: registered GPIOs 0 to 31 on device: orion_gpio0
[    0.000000] gpiochip_add: registered GPIOs 32 to 49 on device: orion_gpio1
[    0.000000] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474ms
[   12.161820] Calibrating delay loop... 1196.85 BogoMIPS (lpj=5984256)
[   12.251801] pid_max: default: 32768 minimum: 301
[   12.251951] Mount-cache hash table entries: 512
[   12.252264] CPU: Testing write buffer coherency: ok
[   12.252520] Setting up static identity map for 0x28f320 - 0x28f35c
[   12.254273] NET: Registered protocol family 16
[   12.256497] Kirkwood: MV88F6281-A1, TCLK=200000000.
[   12.256512] Feroceon L2: Enabling L2
[   12.256549] Feroceon L2: Cache support initialised.
[   12.258562] Kirkwood PCIe port 0:
[   12.258569] link up
[   12.258577] PCI: bus0 uses PCIe port 0
[   12.258722] PCI host bridge to bus 0000:00
[   12.258737] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff]
[   12.258748] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[   12.259080] PCI: bus0: Fast back to back transfers disabled
[   12.259417] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0000000-0xe000ffff pref]
[   12.259435] pci 0000:00:01.0: BAR 4: assigned [mem 0xe0010000-0xe0013fff 64bit pref]
[   12.259455] pci 0000:00:01.0: BAR 2: assigned [mem 0xe0014000-0xe0014fff 64bit pref]
[   12.259472] pci 0000:00:01.0: BAR 0: assigned [io  0x1000-0x10ff]
[   12.265265] bio: create slab <bio-0> at 0
[   12.266167] SCSI subsystem initialized
[   12.266726] usbcore: registered new interface driver usbfs
[   12.266958] usbcore: registered new interface driver hub
[   12.267110] usbcore: registered new device driver usb
[   12.268211] Switching to clocksource orion_clocksource
[   12.269762] NET: Registered protocol family 2
[   12.269918] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[   12.270202] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[   12.270385] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[   12.270480] TCP: Hash tables configured (established 8192 bind 8192)
[   12.270490] TCP reno registered
[   12.270500] UDP hash table entries: 256 (order: 0, 4096 bytes)
[   12.270522] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[   12.270699] NET: Registered protocol family 1
[   12.272256] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[   12.272270] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[   12.272606] msgmni has been set to 500
[   12.272806] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[   12.272820] io scheduler noop registered
[   12.272828] io scheduler deadline registered (default)
[   12.339408] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[   12.362125] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[   12.761385] console [ttyS0] enabled
[   12.766392] NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
[   12.775071] Scanning device for bad blocks
[   12.779437] Bad eraseblock 2 at 0x000000040000
[   12.783948] Bad eraseblock 3 at 0x000000060000
[   12.884302] Creating 9 MTD partitions on "orion_nand":
[   12.889488] 0x000000000000-0x000000100000 : "uboot"
[   12.895284] 0x000000100000-0x000000180000 : "uboot_env"
[   12.901391] 0x000000180000-0x000000200000 : "key_store"
[   12.907425] 0x000000200000-0x000000280000 : "info"
[   12.913048] 0x000000280000-0x000000c80000 : "etc"
[   12.918588] 0x000000c80000-0x000001680000 : "kernel_1"
[   12.924553] 0x000001680000-0x000004640000 : "rootfs1"
[   12.930501] 0x000004640000-0x000005040000 : "kernel_2"
[   12.936474] 0x000005040000-0x000008000000 : "rootfs2"
[   12.942893] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   12.949750] Initializing USB Mass Storage driver...
[   12.954789] usbcore: registered new interface driver usb-storage
[   12.960836] USB Mass Storage support registered.
[   12.965615] usbcore: registered new interface driver libusual
[   12.971673] cpuidle: using governor ladder
[   12.978139] TCP cubic registered
[   12.981410] NET: Registered protocol family 17
[   12.985945] Bridge firewalling registered
[   12.990158] 8021q: 802.1Q VLAN Support v1.8
[   12.994594] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[   13.001262] Waiting 5sec before mounting root device...
[   18.008359] VFS: Cannot open root device "sda1" or unknown-block(0,0)
[   18.014828] Please append a correct "root=" boot option; here are the available partitions:
[   18.023241] 1f00            1024 mtdblock0  (driver?)
[   18.028332] 1f01             512 mtdblock1  (driver?)
[   18.033414] 1f02             512 mtdblock2  (driver?)
[   18.038508] 1f03             512 mtdblock3  (driver?)
[   18.043591] 1f04           10240 mtdblock4  (driver?)
[   18.048683] 1f05           10240 mtdblock5  (driver?)
[   18.053767] 1f06           48896 mtdblock6  (driver?)
[   18.058860] 1f07           10240 mtdblock7  (driver?)
[   18.063943] 1f08           48896 mtdblock8  (driver?)
[   18.069034] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

25

Odp: Nsa310 - problem z bootowaniem

Scsii itd też wkompilowałeś?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.