New install on NSA325 November 17, 2020 05:22PM |
Registered: 3 years ago Posts: 7 |
Re: New install on NSA325 November 17, 2020 09:25PM |
Admin Registered: 13 years ago Posts: 18,564 |
Re: New install on NSA325 November 17, 2020 10:07PM |
Registered: 3 years ago Posts: 7 |
Re: New install on NSA325 November 18, 2020 03:34AM |
Registered: 3 years ago Posts: 7 |
U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:42:03 -0700) ZyXEL NSA325 2-Bay Power Media Server SoC: Kirkwood 88F6282_A1 DRAM: 512 MiB WARNING: Caches not enabled NAND: 128 MiB *** Warning - bad CRC, using default environment --- SNIP --- [ 9.327512][ T15] usb 1-1.2: new high-speed USB device number 3 using orion-ehci [ 9.335136][ T1] 0802 2147459328 sda2 7c3dec53-02 [ 9.335138][ T1] [ 9.342970][ T1] 0810 2930266584 sdb [ 9.342973][ T1] driver: sd [ 9.350536][ T1] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 9.359540][ T1] CPU: 0 PID: 1 Comm: swapper Not tainted 5.2.9-kirkwood-tld-1 #1 [ 9.367225][ T1] Hardware name: Marvell Kirkwood (Flattened Device Tree) [ 9.374234][ T1] [<c010f6ac>] (unwind_backtrace) from [<c010bb00>] (show_stack+0x10/0x14) [ 9.382718][ T1] [<c010bb00>] (show_stack) from [<c0119fa0>] (panic+0xe0/0x30c) [ 9.390329][ T1] [<c0119fa0>] (panic) from [<c0e01628>] (mount_block_root+0x1bc/0x2a4) [ 9.398546][ T1] [<c0e01628>] (mount_block_root) from [<c0e017f8>] (mount_root+0xe8/0x154) [ 9.407110][ T1] [<c0e017f8>] (mount_root) from [<c0e019b0>] (prepare_namespace+0x14c/0x18c) [ 9.415847][ T1] [<c0e019b0>] (prepare_namespace) from [<c0e011c8>] (kernel_init_freeable+0x270/0x2dc) [ 9.425458][ T1] [<c0e011c8>] (kernel_init_freeable) from [<c09dcee0>] (kernel_init+0x8/0x10c) [ 9.434368][ T1] [<c09dcee0>] (kernel_init) from [<c01010e0>] (ret_from_fork+0x14/0x34) [ 9.442663][ T1] Exception stack(0xdf48bfb0 to 0xdf48bff8) [ 9.448428][ T1] bfa0: 00000000 00000000 00000000 00000000 [ 9.457342][ T1] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 9.466252][ T1] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 9.473602][ T1] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
Re: New install on NSA325 November 18, 2020 04:13PM |
Admin Registered: 13 years ago Posts: 18,564 |
8. Flashing default u-boot envs image (if you are upgrading from 2016.05-tld-1 u-boot, you can skip this step 8).
Quote
4. Create uImage with embedded DTB for booting with older u-boots (2012 or earlier). Do not do this step if you have installed the latest U-Boot for Kirkwood (or are installing this u-boot at the same time).
cd /media/sdb1/boot cp -a uImage uImage.nsa325_with_dtb cp -a uImage.orig uImage sync
Re: New install on NSA325 November 18, 2020 05:16PM |
Registered: 3 years ago Posts: 7 |
Re: New install on NSA325 November 18, 2020 07:15PM |
Admin Registered: 13 years ago Posts: 18,564 |
Re: New install on NSA325 November 18, 2020 07:32PM |
Registered: 3 years ago Posts: 7 |
Re: New install on NSA325 November 18, 2020 11:03PM |
Admin Registered: 13 years ago Posts: 18,564 |
Quote
RAID
Making a RAID1 rootfs
Booting btrfs RAID 1 rootfs on Kirkwood boxes
Re: New install on NSA325 November 18, 2020 11:05PM |
Registered: 3 years ago Posts: 7 |
Re: New install on NSA325 November 18, 2020 11:13PM |
Registered: 3 years ago Posts: 7 |
Re: New install on NSA325 November 19, 2020 06:41PM |
Admin Registered: 13 years ago Posts: 18,564 |
Quote
do I need to remake the uImage whenever there is a change to the initramfs?
Quote
Would you have a sample uEnv.txt for the NSA325 while I start learning the uboot stuff?
uboot.2016.05-tld-1.environment (the content of the default envs in text format)
uboot.2016.05-tld-1.environment.img (the default envs image to be flashed)
Re: New install on NSA325 November 19, 2020 11:00PM |
Admin Registered: 13 years ago Posts: 18,564 |
Quote
Adding a third question:
The raid 1 wiki entry mentions a thread about "Start with booting a SINGLE disk as normal from bodhi's kernel/rootfs thread, the second disk with the same partitions as the first, but empty." Is this another wiki article that I am not seeing?