Hi all,
I have flashed UBoot 2016.09-1 onto a Zyxel NSA320 and a NSA325. I then tried to boot ALARM from an ext4 USB key but that did not work.
I have:
- an 8gb USB key
- partitioned with parted with an msdos partition table
- created a primary partition 0%-100% to use up all the USB key space
- created an ext4 fs with mkfs.ext4 on the partition
- mounted it
- untar'ed http://os.archlinuxarm.org/os/ArchLinuxARM-kirkwood-latest.tar.gz on the mounted ext4 fs
- sync'ed all
- inserted the USB key into a rear port on the NSA320/325 and booted
Here follows the output from UBoot on the NSA320 (325 shows the same): it seems it only looks for ext2 on the USB device...
I actually tried the above procedure with an ext2 fs and it boots fine.
The reason I would like to use ext4 is that ext2 is far more sensititive to power outages and would corrupt far more easily needing a manual fsck upon restart (otherwise it would panic).
Any idea about why it isn't booting from ext4?
$this->bbcode_second_pass_code('', '
U-Boot 2016.09.01-1 (Oct 10 2016 - 23:15:39 -0600) Arch Linux ARM
Zyxel NSA320
SoC: Kirkwood 88F6281_A1
DRAM: 512 MiB
WARNING: Caches not enabled
NAND: 128 MiB
In: serial
Out: serial
Err: serial
Net: egiga0
MV88E1318 PHY initialized on egiga0
IDE: Bus 0: OK Bus 1: not available
Device 0: Model: ST2000VN000-1HJ164 Firm: SC60 Ser#: W524R1VT
Type: Hard Disk
Supports 48-bit addressing
Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
Using egiga0 device
ARP Retry count exceeded; starting again
ping failed; host 10.10.10.5 is not alive
Hit any key to stop autoboot: 0
starting USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
Reset IDE: Bus 0: OK Bus 1: not available
Device 0: Model: ST2000VN000-1HJ164 Firm: SC60 Ser#: W524R1VT
Type: Hard Disk
Supports 48-bit addressing
Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
USB device 0:
Device 0: Vendor: Kingston Rev: PMAP Prod: DataTraveler 2.0
Type: Removable Hard Disk
Capacity: 7502.1 MB = 7.3 GB (15364416 x 512)
... is now current device
usb found on device 0
Checking for: /boot/uEnv.txt ...
Unsupported feature found (64bit, possibly metadata_csum), not mounting
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Unsupported feature found (64bit, possibly metadata_csum), not mounting
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Unsupported feature found (64bit, possibly metadata_csum), not mounting
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
No kernel found
USB device 1: unknown device
Device 0: Model: ST2000VN000-1HJ164 Firm: SC60 Ser#: W524R1VT
Type: Hard Disk
Supports 48-bit addressing
Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
... is now current device
ide found on device 0
Checking for: /boot/uEnv.txt ...
** File not found /boot/zImage **
** File not found /boot/uImage **
No kernel found
Device 1: not available
Trying to boot from NAND ...
ubi0: attaching mtd1
ubi0: scanning is finished
UBI init error 22
Error reading superblock on volume 'ubi0:rootfs' errno=-19!
ubifsmount - mount UBIFS volume
Usage:
ubifsmount <volume-name>
- mount 'volume-name' volume
NSA320>
')