|
Re: (WIP) Linux Kernel and rootfs 4.14.24 for Seagate Business Storage NAS (CNS3xxx) package March 08, 2018 03:30PM |
Registered: 11 years ago Posts: 46 |
bootm 0x2000000 0x5100000 0x5000000result:
U-Boot 2008.10-mpcore (Nov 11 2012 - 16:30:36)
Whitney model:(HALFDOME) release v1.2-beta2
CPU: Cavium Networks CNS3000
ID Code: 410fb024 (Part number: 0xB02, Revision number: 4)
CPU ID: 900
Chip Version: c
DRAM: 512 MB
Parallel Flash: 0 kB
Flash Manufacturer: MX
Serial Flash: 512 kB
Serial Flash:
Bank # 1: Nb pages: 2048 Page Size: 256
Size: 524288 bytes, Logical address: 0x60000000
Area 0: 60000000 to 60FFFFFF SPI flash
In: serial
Out: serial
Err: serial
CPU works at 700 MHz (700/1/1)
DDR2 Speed is 400 MHz
Restoring RTC
Hit any key to stop autoboot: 0
Whitney # scsi init;ext2load scsi 0 0x2000000 /boot/uImage;ext2load scsi 0 0x5000000 /boot/dts/cavium-cns3xxx.dtb;ext2load scsi 0 0x5100000 /boot/uInitrd;bootm 0x2000000 0x5100000 0x5000000
Initialize SCSI
AHCI 0001.0100 32 slots 2 ports 3 Gbps 0x3 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part
set feature error!
scanning bus for devices...
Supprt LBA48 addressing.
timeout exit!
Device 0: (1:0) Vendor: ATA Prod.: HGST HTS725050A7 Rev: GH2Z
Type: Hard Disk
Supports 48-bit addressing
Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
3349264 bytes read
2467 bytes read
4607585 bytes read
enter do_eth_down!!!
## Booting kernel from Legacy Image at 02000000 ...
Image Name: Linux-4.14.24-cns3xxxx-tld-1
Created: 2018-03-08 2:44:05 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3349200 Bytes = 3.2 MB
Load Address: 00008000
Entry Point: 00008000
## Loading init Ramdisk from Legacy Image at 05100000 ...
Image Name: initramfs-4.14.24-cns3xxxx-tld-1
Created: 2018-03-08 2:44:43 UTC
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 4607521 Bytes = 4.4 MB
Load Address: 00000000
Entry Point: 00000000
Loading Kernel Image ...
bootm 0x2000000 - 0x5000000result:
U-Boot 2008.10-mpcore (Nov 11 2012 - 16:30:36)
Whitney model:(HALFDOME) release v1.2-beta2
CPU: Cavium Networks CNS3000
ID Code: 410fb024 (Part number: 0xB02, Revision number: 4)
CPU ID: 900
Chip Version: c
DRAM: 512 MB
Parallel Flash: 0 kB
Flash Manufacturer: MX
Serial Flash: 512 kB
Serial Flash:
Bank # 1: Nb pages: 2048 Page Size: 256
Size: 524288 bytes, Logical address: 0x60000000
Area 0: 60000000 to 60FFFFFF SPI flash
In: serial
Out: serial
Err: serial
CPU works at 700 MHz (700/1/1)
DDR2 Speed is 400 MHz
Restoring RTC
Hit any key to stop autoboot: 0
Whitney # scsi init;ext2load scsi 0 0x2000000 /boot/uImage;ext2load scsi 0 0x5000000 /boot/dts/cavium-cns3xxx.dtb;ext2load scsi 0 0x5100000 /boot/uInitrd;bootm 0x2000000 - 0x5000000
Initialize SCSI
AHCI 0001.0100 32 slots 2 ports 3 Gbps 0x3 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part
set feature error!
scanning bus for devices...
Supprt LBA48 addressing.
timeout exit!
Device 0: (1:0) Vendor: ATA Prod.: HGST HTS725050A7 Rev: GH2Z
Type: Hard Disk
Supports 48-bit addressing
Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
3349264 bytes read
2467 bytes read
4607585 bytes read
enter do_eth_down!!!
## Booting kernel from Legacy Image at 02000000 ...
Image Name: Linux-4.14.24-cns3xxxx-tld-1
Created: 2018-03-08 2:44:05 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3349200 Bytes = 3.2 MB
Load Address: 00008000
Entry Point: 00008000
Loading Kernel Image ...
|
Re: (WIP) Linux Kernel 4.14.24 Seagate Business Storage NAS (CNSxxx) package March 08, 2018 03:47PM |
Admin Registered: 14 years ago Posts: 19,936 |
Quote
> The modprobe/kernel paging issue still exists:
Quote
4.14.24-cns3xxx-tld-1.with-native-rootfs.boot.log (13.1 KB)
Quote
4.14.24-cns3xxx-tld-1.with-bodhi-sda1.boot.log (11.7 KB)
Quote
EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
|
Re: (WIP) Linux Kernel and rootfs 4.14.24 for Seagate Business Storage NAS (CNS3xxx) package March 08, 2018 03:52PM |
Admin Registered: 14 years ago Posts: 19,936 |
printenvand post output here in code tag.
|
Re: (WIP) Linux Kernel and rootfs 4.14.24 for Seagate Business Storage NAS (CNS3xxx) package March 08, 2018 03:56PM |
Admin Registered: 14 years ago Posts: 19,936 |
|
Re: (WIP) Linux Kernel and rootfs 4.14.24 for Seagate Business Storage NAS (CNS3xxx) package March 08, 2018 04:03PM |
Registered: 11 years ago Posts: 46 |
U-Boot 2008.10-mpcore (Nov 11 2012 - 16:30:36) Whitney model:(HALFDOME) release v1.2-beta2 CPU: Cavium Networks CNS3000 ID Code: 410fb024 (Part number: 0xB02, Revision number: 4) CPU ID: 900 Chip Version: c DRAM: 512 MB Parallel Flash: 0 kB Flash Manufacturer: MX Serial Flash: 512 kB Serial Flash: Bank # 1: Nb pages: 2048 Page Size: 256 Size: 524288 bytes, Logical address: 0x60000000 Area 0: 60000000 to 60FFFFFF SPI flash In: serial Out: serial Err: serial CPU works at 700 MHz (700/1/1) DDR2 Speed is 400 MHz Restoring RTC Hit any key to stop autoboot: 0 Whitney # printenv bootargs=root=/dev/mtdblock0 mem=256M console=ttyS0 baudrate=38400 port=0 netboot_cmd=tftp 0x4000000 bootpImage; go 0x4000000 boardtest_state_memory=none model_name=whitney_2bay cpu_clock=700 mfgmodel=halfdome bootfile="/tftpboot/uImage" tftp_bsize=512 udp_frag_size=512 whitney_state=saved serial_number=5564S01001G3330032CJ0A1 opid=Z13020128 hddlocation=C ethaddr=00:10:75:38:D0:CC serialNo=NA6F0QHW ethaddr0=00:10:75:38:D0:CC ethaddr1=00:10:75:38:D0:CD modelname=1BW5P2-500 mfgtest_state=final_tested_ok raclient_securityKey=ZnV30cQdeHJH12DIVbHKKA== raclient_leaseExpires=2014-09-20T11:19:43Z preboot=run if_netconsole start_netconsole netmask=255.255.255.0 bootargs_console=console=ttyS0,38400 bootargs_root=root=/dev/sda1 rootwait bootdelay=15 bootcmd=setenv bootargs $(bootargs_console) $(bootargs_root); run bootcmd_scsi current_kernel=kernel1 bootcmd_scsii=scsi init;ext2load scsi 1 0x8000000 /uImage; bootm 0x8000000 boot=run bootcmd bootcmd_scsi=scsi init;ext2load scsi 1 0x8000000 /uImage; bootm 0x8000000 num_boot_tries=0 rtclog=5211d287 stdin=serial stdout=serial stderr=serial verify=n Environment size: 1101/65532 bytes
|
Re: (WIP) Linux Kernel and rootfs 4.14.24 for Seagate Business Storage NAS (CNS3xxx) package March 08, 2018 04:10PM |
Registered: 11 years ago Posts: 46 |
chosen {
bootargs = "console=ttyS0,115200";
stdout-path = &serial0;
};
|
Re: (WIP) Linux Kernel and rootfs 4.14.24 for Seagate Business Storage NAS (CNS3xxx) package March 08, 2018 04:12PM |
Admin Registered: 14 years ago Posts: 19,936 |
bootcmd=setenv bootargs $(bootargs_console) $(bootargs_root); run bootcmd_scsi
setenv bootcmd 'setenv bootargs $(bootargs_console) $(bootargs_root) earlyprintk=serial; run bootcmd_scsi'
|
Re: (WIP) Linux Kernel and rootfs 4.14.24 for Seagate Business Storage NAS (CNS3xxx) package March 08, 2018 04:14PM |
Admin Registered: 14 years ago Posts: 19,936 |
|
Re: (WIP) Linux Kernel and rootfs 4.14.24 for Seagate Business Storage NAS (CNS3xxx) package March 08, 2018 04:29PM |
Registered: 11 years ago Posts: 46 |
Whitney # printenv bootargs=root=/dev/mtdblock0 mem=256M console=ttyS0 baudrate=38400 port=0 netboot_cmd=tftp 0x4000000 bootpImage; go 0x4000000 boardtest_state_memory=none model_name=whitney_2bay cpu_clock=700 mfgmodel=halfdome bootfile="/tftpboot/uImage" tftp_bsize=512 udp_frag_size=512 whitney_state=saved serial_number=5564S01001G3330032CJ0A1 opid=Z13020128 hddlocation=C ethaddr=00:10:75:38:D0:CC serialNo=NA6F0QHW ethaddr0=00:10:75:38:D0:CC ethaddr1=00:10:75:38:D0:CD modelname=1BW5P2-500 mfgtest_state=final_tested_ok raclient_securityKey=ZnV30cQdeHJH12DIVbHKKA== raclient_leaseExpires=2014-09-20T11:19:43Z preboot=run if_netconsole start_netconsole netmask=255.255.255.0 bootargs_console=console=ttyS0,38400 bootargs_root=root=/dev/sda1 rootwait bootdelay=15 current_kernel=kernel1 bootcmd_scsii=scsi init;ext2load scsi 1 0x8000000 /uImage; bootm 0x8000000 boot=run bootcmd num_boot_tries=0 rtclog=5211d287 loaduimage=ext2load scsi 0 0x2000000 /boot/uImage loaddts=ext2load scsi 0 0x5000000 /boot/dts/cavium-cns3xxx.dtb loaduinitrd=ext2load scsi 0 0x5100000 /boot/uInitrd bootcmd_scsi=scsi init;run loaduimage;run loaddts;run loaduinitrd;bootm 0x2000000 0x5100000 0x5000000 bootcmd=setenv bootargs $(bootargs_console) $(bootargs_root) earlyprintk=serial; run bootcmd_scsi stdin=serial stdout=serial stderr=serial verify=n Environment size: 1313/65532 bytes
Whitney # run bootcmd
Initialize SCSI
AHCI 0001.0100 32 slots 2 ports 3 Gbps 0x3 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part
scanning bus for devices...
Supprt LBA48 addressing.
Device 0: (0:0) Vendor: ATA Prod.: WDC WD5000AAKS-0 Rev: 01.0
Type: Hard Disk
Supports 48-bit addressing
Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
3349264 bytes read
2467 bytes read
4607585 bytes read
enter do_eth_down!!!
## Booting kernel from Legacy Image at 02000000 ...
Image Name: Linux-4.14.24-cns3xxxx-tld-1
Created: 2018-03-08 2:44:05 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3349200 Bytes = 3.2 MB
Load Address: 00008000
Entry Point: 00008000
## Loading init Ramdisk from Legacy Image at 05100000 ...
Image Name: initramfs-4.14.24-cns3xxxx-tld-1
Created: 2018-03-08 2:44:43 UTC
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 4607521 Bytes = 4.4 MB
Load Address: 00000000
Entry Point: 00000000
Loading Kernel Image ...
|
Re: (WIP) Linux Kernel and rootfs 4.14.24 for Seagate Business Storage NAS (CNS3xxx) package March 08, 2018 04:40PM |
Admin Registered: 14 years ago Posts: 19,936 |
load_dtb_addr=0x1c00000 load_initrd_addr=0x1100000 load_uimage_addr=0x800000
|
Re: (WIP) Linux Kernel and rootfs 4.14.24 for Seagate Business Storage NAS (CNS3xxx) package March 08, 2018 04:47PM |
Registered: 11 years ago Posts: 46 |
Whitney # printenv
bootargs=root=/dev/mtdblock0 mem=256M console=ttyS0
baudrate=38400
port=0
netboot_cmd=tftp 0x4000000 bootpImage; go 0x4000000
boardtest_state_memory=none
model_name=whitney_2bay
cpu_clock=700
mfgmodel=halfdome
bootfile="/tftpboot/uImage"
tftp_bsize=512
udp_frag_size=512
whitney_state=saved
serial_number=5564S01001G3330032CJ0A1
opid=Z13020128
hddlocation=C
ethaddr=00:10:75:38:D0:CC
serialNo=NA6F0QHW
ethaddr0=00:10:75:38:D0:CC
ethaddr1=00:10:75:38:D0:CD
modelname=1BW5P2-500
mfgtest_state=final_tested_ok
raclient_securityKey=ZnV30cQdeHJH12DIVbHKKA==
raclient_leaseExpires=2014-09-20T11:19:43Z
preboot=run if_netconsole start_netconsole
netmask=255.255.255.0
bootargs_console=console=ttyS0,38400
bootargs_root=root=/dev/sda1 rootwait
bootdelay=15
current_kernel=kernel1
bootcmd_scsii=scsi init;ext2load scsi 1 0x8000000 /uImage; bootm 0x8000000
boot=run bootcmd
num_boot_tries=0
rtclog=5211d287
bootcmd=setenv bootargs $(bootargs_console) $(bootargs_root) earlyprintk=serial; run bootcmd_scsi
stdin=serial
stdout=serial
stderr=serial
verify=n
loaduimage=ext2load scsi 0 0x800000 /boot/uImage
loaddts=ext2load scsi 0 0x1c00000 /boot/dts/cavium-cns3xxx.dtb
loaduinitrd=ext2load scsi 0 0x1100000 /boot/uInitrd
bootcmd_scsi=scsi init;run loaduimage;run loaddts;run loaduinitrd;bootm 0x800000 0x1100000 0x1c00000
Environment size: 1311/65532 bytes
Whitney # run bootcmd
Initialize SCSI
AHCI 0001.0100 32 slots 2 ports 3 Gbps 0x3 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part
scanning bus for devices...
Supprt LBA48 addressing.
Device 0: (0:0) Vendor: ATA Prod.: WDC WD5000AAKS-0 Rev: 01.0
Type: Hard Disk
Supports 48-bit addressing
Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
3349264 bytes read
2467 bytes read
4607585 bytes read
enter do_eth_down!!!
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-4.14.24-cns3xxxx-tld-1
Created: 2018-03-08 2:44:05 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3349200 Bytes = 3.2 MB
Load Address: 00008000
Entry Point: 00008000
## Loading init Ramdisk from Legacy Image at 01100000 ...
Image Name: initramfs-4.14.24-cns3xxxx-tld-1
Created: 2018-03-08 2:44:43 UTC
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 4607521 Bytes = 4.4 MB
Load Address: 00000000
Entry Point: 00000000
Loading Kernel Image ...
|
Re: (WIP) Linux Kernel and rootfs 4.14.24 for Seagate Business Storage NAS (CNS3xxx) package March 08, 2018 05:54PM |
Admin Registered: 14 years ago Posts: 19,936 |
load_initrd_addr=0x1100000 load_uimage_addr=0x800000
su - cd /media/sdb1/boot mv uImage uImage.orig cp -a zImage-4.15.2-kirkwood-tld-1 zImage.fdt cat dts/kirkwood-goflexnet.dtb >> zImage.fdt mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-4.15.2-kirkwood-tld-1 -d zImage.fdt uImage mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-4.15.2-kirkwood-tld-1 -d initrd.img-4.15.2-kirkwood-tld-1 uInitrd
setenv bootcmd_scsi 'scsi init;run loaduimage;run loaduinitrd;bootm 0x800000 0x1100000'
|
Re: (WIP) Linux Kernel and rootfs 4.14.24 for Seagate Business Storage NAS (CNS3xxx) package March 08, 2018 05:59PM |
Admin Registered: 14 years ago Posts: 19,936 |
|
Re: (WIP) Linux Kernel and rootfs 4.14.24 for Seagate Business Storage NAS (CNS3xxx) package March 08, 2018 06:08PM |
Registered: 7 years ago Posts: 45 |
|
Re: (WIP) Linux Kernel and rootfs 4.14.24 for Seagate Business Storage NAS (CNS3xxx) package March 08, 2018 06:42PM |
Registered: 7 years ago Posts: 45 |
|
Re: (WIP) Linux Kernel and rootfs 4.14.24 for Seagate Business Storage NAS (CNS3xxx) package March 08, 2018 07:38PM |
Registered: 7 years ago Posts: 45 |
setenv bootargs mem=256M root=/dev/sda1 ro console=ttyS0,38400; seten6
Whitney # tftpboot 0x2000000 disks/seagate/uImage-4.14.24-cns3xxx-tld-1
Initialize PHY s/w auto-polling
phy_id: 1c
Initialize RTL8211
phy_id: 1c
Initialize RTL8211
TFTP from server 192.168.3.140; our IP address is 192.168.3.17
Filename 'disks/seagate/uImage-4.14.24-cns3xxx-tld-1'.
Load address: 0x2000000
Loading: T T #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#####
done
Bytes transferred = 3351731 (3324b3 hex)
Whitney # tftpboot 0x5000000 disks/seagate/uInitrd-4.14.24
TFTP from server 192.168.3.140; our IP address is 192.168.3.17
Filename 'disks/seagate/uInitrd-4.14.24'.
Load address: 0x5000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
###################################################
done
Bytes transferred = 12907433 (c4f3a9 hex)
Whitney # bootm 0x2000000 0x5000000
enter do_eth_down!!!
## Booting kernel from Legacy Image at 02000000 ...
Image Name: Linux-4.14.24-cns3xxxx-tld-1
Created: 2018-03-09 1:15:49 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3351667 Bytes = 3.2 MB
Load Address: 00800000
Entry Point: 00800000
## Loading init Ramdisk from Legacy Image at 05000000 ...
Image Name: uInitrd
Created: 2018-03-07 14:09:10 UTC
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 12907369 Bytes = 12.3 MB
Load Address: 00000000
Entry Point: 00000000
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
|
Re: (WIP) Linux Kernel and rootfs 4.14.24 for Seagate Business Storage NAS (CNS3xxx) package March 08, 2018 08:47PM |
Admin Registered: 14 years ago Posts: 19,936 |
|
Re: (WIP) Linux Kernel and rootfs 4.14.24 for Seagate Business Storage NAS (CNS3xxx) package March 08, 2018 08:53PM |
Admin Registered: 14 years ago Posts: 19,936 |
> setenv bootargs mem=256M root=/dev/sda1 ro > console=ttyS0,38400; seten6 > Whitney # tftpboot 0x2000000 > disks/seagate/uImage-4.14.24-cns3xxx-tld-1 > Initialize PHY s/w auto-polling > phy_id: 1c > Initialize RTL8211 > phy_id: 1c > Initialize RTL8211 > TFTP from server 192.168.3.140; our IP address is > 192.168.3.17 > Filename > 'disks/seagate/uImage-4.14.24-cns3xxx-tld-1'. > Load address: 0x2000000 > Loading: T T > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > ##### > done > Bytes transferred = 3351731 (3324b3 hex) > Whitney # tftpboot 0x5000000 > disks/seagate/uInitrd-4.14.24 > TFTP from server 192.168.3.140; our IP address is > 192.168.3.17 > Filename 'disks/seagate/uInitrd-4.14.24'. > Load address: 0x5000000 > Loading: > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################### > done > Bytes transferred = 12907433 (c4f3a9 hex) > Whitney # bootm 0x2000000 0x5000000 > enter do_eth_down!!! > ## Booting kernel from Legacy Image at 02000000 > ... > Image Name: Linux-4.14.24-cns3xxxx-tld-1 > Created: 2018-03-09 1:15:49 UTC > Image Type: ARM Linux Kernel Image > (uncompressed) > Data Size: 3351667 Bytes = 3.2 MB > Load Address: 00800000 > Entry Point: 00800000 > ## Loading init Ramdisk from Legacy Image at > 05000000 ... > Image Name: uInitrd > Created: 2018-03-07 14:09:10 UTC > Image Type: ARM Linux RAMDisk Image (gzip > compressed) > Data Size: 12907369 Bytes = 12.3 MB > Load Address: 00000000 > Entry Point: 00000000 > Loading Kernel Image ... OK > OK > > Starting kernel ... > > Uncompressing Linux... done, booting the kernel. > >>
|
Re: (WIP) Linux Kernel and rootfs 4.14.24 for Seagate Business Storage NAS (CNS3xxx) package March 09, 2018 05:35AM |
Admin Registered: 14 years ago Posts: 19,936 |
|
Re: (WIP) Linux Kernel and rootfs 4.14.24 for Seagate Business Storage NAS (CNS3xxx) package March 09, 2018 06:39AM |
Registered: 7 years ago Posts: 45 |
|
Re: (WIP) Linux Kernel and rootfs 4.14.24 for Seagate Business Storage NAS (CNS3xxx) package March 09, 2018 04:13PM |
Admin Registered: 14 years ago Posts: 19,936 |
uImage.4.14.24-cns3xxxx-tld-1.1
cd /media/sdb1/boot cp -a uImage.4.14.24-cns3xxxx-tld-1.1 uImage sync
Whitney # printenv bootargs=root=/dev/mtdblock0 mem=256M console=ttyS0 baudrate=38400 port=0 netboot_cmd=tftp 0x4000000 bootpImage; go 0x4000000 boardtest_state_memory=none model_name=whitney_2bay cpu_clock=700 mfgmodel=halfdome bootfile="/tftpboot/uImage" tftp_bsize=512 udp_frag_size=512 whitney_state=saved serial_number=5564S01001G3330032CJ0A1 opid=Z13020128 hddlocation=C ethaddr=00:10:75:38:D0:CC serialNo=NA6F0QHW ethaddr0=00:10:75:38:D0:CC ethaddr1=00:10:75:38:D0:CD modelname=1BW5P2-500 mfgtest_state=final_tested_ok raclient_securityKey=ZnV30cQdeHJH12DIVbHKKA== raclient_leaseExpires=2014-09-20T11:19:43Z preboot=run if_netconsole start_netconsole netmask=255.255.255.0 bootargs_console=console=ttyS0,38400 bootargs_root=root=/dev/sda1 rootwait bootdelay=15 current_kernel=kernel1 bootcmd_scsii=scsi init;ext2load scsi 1 0x8000000 /uImage; bootm 0x8000000 boot=run bootcmd num_boot_tries=0 rtclog=5211d287 bootcmd=setenv bootargs $(bootargs_console) $(bootargs_root) earlyprintk=serial; run bootcmd_scsi stdin=serial stdout=serial stderr=serial verify=n
setenv bootcmd_scsi 'scsi init;ext2load scsi 1 0x8000000 /uImage; bootm 0x8000000'
bootor
run bootcmd
|
Re: (WIP) Linux Kernel and rootfs 4.14.24 for Seagate Business Storage NAS (CNS3xxx) package March 09, 2018 04:34PM |
Registered: 11 years ago Posts: 46 |
Whitney # setenv bootcmd_scsi 'scsi init;ext2load scsi 0 0x8000000 /uImage; bootm 0x8000000'
Whitney # run bootcmd
Initialize SCSI
AHCI 0001.0100 32 slots 2 ports 3 Gbps 0x3 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part
scanning bus for devices...
Supprt LBA48 addressing.
timeout exit!
Device 0: (1:0) Vendor: ATA Prod.: HGST HTS725050A7 Rev: GH2Z
Type: Hard Disk
Supports 48-bit addressing
Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
** Unable to read "/uImage" from scsi 0:1 **
enter do_eth_down!!!
Wrong Image Format for bootm command
ERROR: can't get kernel image!
Whitney # setenv bootcmd_scsi 'scsi init;ext2load scsi 0 0x8000000 /boot/uImage; bootm 0x8000000'
Whitney # run bootcmd
Initialize SCSI
AHCI 0001.0100 32 slots 2 ports 3 Gbps 0x3 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part
scanning bus for devices...
Supprt LBA48 addressing.
timeout exit!
Device 0: (1:0) Vendor: ATA Prod.: HGST HTS725050A7 Rev: GH2Z
Type: Hard Disk
Supports 48-bit addressing
Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
7941720 bytes read
enter do_eth_down!!!
## Booting kernel from Legacy Image at 08000000 ...
Image Name: Linux-4.14.24-cns3xxxx-tld-1.1
Created: 2018-03-09 11:02:09 UTC
Image Type: ARM Linux Multi-File Image (uncompressed)
Data Size: 7941656 Bytes = 7.6 MB
Load Address: 00008000
Entry Point: 00008000
Contents:
Image 0: 3334547 Bytes = 3.2 MB
Image 1: 4607096 Bytes = 4.4 MB
## Loading init Ramdisk from multi component Legacy Image at 08000000 ...
Loading Multi-File Image ...
|
Re: (WIP) Linux Kernel and rootfs 4.14.24 for Seagate Business Storage NAS (CNS3xxx) package March 09, 2018 04:42PM |
Admin Registered: 14 years ago Posts: 19,936 |
|
Re: (WIP) Linux Kernel and rootfs 4.14.24 for Seagate Business Storage NAS (CNS3xxx) package March 09, 2018 08:24PM |
Registered: 7 years ago Posts: 45 |
|
Re: (WIP) Linux Kernel and rootfs 4.14.24 for Seagate Business Storage NAS (CNS3xxx) package March 09, 2018 10:36PM |
Admin Registered: 14 years ago Posts: 19,936 |
-rw-r--r-- 1 root root 3.2M Mar 9 19:55 uImage.4.14.24-cns3xxxx-tld-1.1 -rw-r--r-- 1 root root 4.4M Mar 9 19:56 uInitrd.4.14.24-cns3xxxx-tld-1.1
cd /media/sdb1/boot cp -a uImage.4.14.24-cns3xxxx-tld-1.1 uImage cp -a uInitrd.4.14.24-cns3xxxx-tld-1.1 uInitrd sync
Whitney # printenv bootargs=root=/dev/mtdblock0 mem=256M console=ttyS0 baudrate=38400 port=0 netboot_cmd=tftp 0x4000000 bootpImage; go 0x4000000 boardtest_state_memory=none model_name=whitney_2bay cpu_clock=700 mfgmodel=halfdome bootfile="/tftpboot/uImage" tftp_bsize=512 udp_frag_size=512 whitney_state=saved serial_number=5564S01001G3330032CJ0A1 opid=Z13020128 hddlocation=C ethaddr=00:10:75:38:D0:CC serialNo=NA6F0QHW ethaddr0=00:10:75:38:D0:CC ethaddr1=00:10:75:38:D0:CD modelname=1BW5P2-500 mfgtest_state=final_tested_ok raclient_securityKey=ZnV30cQdeHJH12DIVbHKKA== raclient_leaseExpires=2014-09-20T11:19:43Z preboot=run if_netconsole start_netconsole netmask=255.255.255.0 bootargs_console=console=ttyS0,38400 bootargs_root=root=/dev/sda1 rootwait bootdelay=15 current_kernel=kernel1 bootcmd_scsii=scsi init;ext2load scsi 1 0x8000000 /uImage; bootm 0x8000000 boot=run bootcmd num_boot_tries=0 rtclog=5211d287 bootcmd=setenv bootargs $(bootargs_console) $(bootargs_root) earlyprintk=serial; run bootcmd_scsi stdin=serial stdout=serial stderr=serial verify=n
setenv bootcmd_scsi 'scsi init; ext2load scsi 1 0x8000000 /uImage; ext2load scsi 1 0x1100000 /uInitrd; bootm 0x8000000 0x1100000'
bootor
run bootcmd
|
Re: (WIP) Linux Kernel and rootfs 4.14.24 for Seagate Business Storage NAS (CNS3xxx) package March 10, 2018 02:15AM |
Registered: 11 years ago Posts: 46 |
Whitney # scsi init; ext2load scsi 0 0x8000000 /boot/uImage; ext2load scsi 0 0x1100000 /boot/uInitrd; bootm 0x8000000 0x1100000
Initialize SCSI
AHCI 0001.0100 32 slots 2 ports 3 Gbps 0x3 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part
scanning bus for devices...
Supprt LBA48 addressing.
timeout exit!
Device 0: (1:0) Vendor: ATA Prod.: HGST HTS725050A7 Rev: GH2Z
Type: Hard Disk
Supports 48-bit addressing
Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
3334547 bytes read
4607096 bytes read
enter do_eth_down!!!
## Booting kernel from Legacy Image at 08000000 ...
Image Name: Linux-4.14.24-cns3xxxx-tld-1.1
Created: 2018-03-10 3:55:35 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3334483 Bytes = 3.2 MB
Load Address: 00008000
Entry Point: 00008000
## Loading init Ramdisk from Legacy Image at 01100000 ...
Image Name: initramfs-4.14.24-cns3xxxx-tld-1
Created: 2018-03-10 3:56:04 UTC
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 4607032 Bytes = 4.4 MB
Load Address: 00000000
Entry Point: 00000000
Loading Kernel Image ...
|
Re: (WIP) Linux Kernel and rootfs 4.14.24 for Seagate Business Storage NAS (CNS3xxx) package March 10, 2018 03:42AM |
Admin Registered: 14 years ago Posts: 19,936 |
setenv bootcmd_scsi 'scsi init; ext2load scsi 1 0x8000000 /uImage; bootm 0x8000000'
|
Re: (WIP) Linux Kernel and rootfs 4.14.24 for Seagate Business Storage NAS (CNS3xxx) package March 10, 2018 03:45AM |
Registered: 11 years ago Posts: 46 |
Whitney # setenv bootcmd_scsi 'scsi init; ext2load scsi 0 0x8000000 /boot/uImage; bootm 0x8000000'
Whitney #
Whitney # run bootcmd
Initialize SCSI
AHCI 0001.0100 32 slots 2 ports 3 Gbps 0x3 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part
set feature error!
scanning bus for devices...
Supprt LBA48 addressing.
timeout exit!
Device 0: (1:0) Vendor: ATA Prod.: HGST HTS725050A7 Rev: GH2Z
Type: Hard Disk
Supports 48-bit addressing
Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
3334547 bytes read
enter do_eth_down!!!
## Booting kernel from Legacy Image at 08000000 ...
Image Name: Linux-4.14.24-cns3xxxx-tld-1.1
Created: 2018-03-10 3:55:35 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3334483 Bytes = 3.2 MB
Load Address: 00008000
Entry Point: 00008000
Loading Kernel Image ...
|
Re: (WIP) Linux Kernel and rootfs 4.14.24 for Seagate Business Storage NAS (CNS3xxx) package March 10, 2018 03:53AM |
Registered: 11 years ago Posts: 46 |
Whitney # setenv bootcmd_scsi 'scsi init; ext2load scsi 0 0x8000000 /boot/uImage2; bootm 0x8000000'
Whitney # run bootcmd
Initialize SCSI
AHCI 0001.0100 32 slots 2 ports 3 Gbps 0x3 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part
set feature error!
scanning bus for devices...
Supprt LBA48 addressing.
timeout exit!
Device 0: (1:0) Vendor: ATA Prod.: HGST HTS725050A7 Rev: GH2Z
Type: Hard Disk
Supports 48-bit addressing
Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
2824840 bytes read
enter do_eth_down!!!
## Booting kernel from Legacy Image at 08000000 ...
Image Name: Linux-4.4.88-eric+
Created: 2017-09-14 13:37:27 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2824776 Bytes = 2.7 MB
Load Address: 02000000
Entry Point: 02000000
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0x900
Initializing cgroup subsys cpu
Initializing cgroup subsys cpuacct
Linux version 4.4.88-eric+ (root@seagate-dev) (gcc version 6.3.0 20170516 (Debian 6.3.0-18) ) #7 SMP Thu Sep 14 13:36:19 UTC 2017
CPU: ARMv6-compatible processor [410fb024] revision 4 (ARMv7), cr=00c5787d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: Seagate CNS3420 NAS
Ignoring tag cmdline (using the default kernel command line)
Memory policy: Data cache writealloc
PERCPU: Embedded 11 pages/cpu @cfddd000 s16140 r8192 d20724 u45056
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
Kernel command line: root=/dev/sda3 rw init=/sbin/init mem=256M console=ttyS0,38400
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 254196K/262144K available (3931K kernel code, 146K rwdata, 1168K rodata, 204K init, 100K bss, 7948K reserved, 0K cma-reserved)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xd0800000 - 0xff800000 ( 752 MB)
lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0xc0008000 - 0xc0502fb4 (5100 kB)
.init : 0xc0503000 - 0xc0536000 ( 204 kB)
.data : 0xc0536000 - 0xc055a9d0 ( 147 kB)
.bss : 0xc055a9d0 - 0xc0573d88 ( 101 kB)
Hierarchical RCU implementation.
Build-time adjustment of leaf fanout to 32.
NR_IRQS:16 nr_irqs:16 16
clocksource: freerun: mask: 0xffffffffffff max_cycles: 0x179dd7f66, max_idle_ns: 28210892933900 ns
smp_twd: clock not found -2
sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 21474836475000000ns
Console: colour dummy device 80x30
console [ttyS0] enabled
Calibrating local timer... 347.98MHz.
Calibrating delay loop... 277.70 BogoMIPS (lpj=1388544)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
Initializing cgroup subsys io
Initializing cgroup subsys devices
Initializing cgroup subsys net_cls
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x82a0 - 0x82d8
Brought up 2 CPUs
SMP: Total of 2 processors activated (555.41 BogoMIPS).
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 4
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
L2C: DT/platform modifies aux control register: 0x02040000 -> 0x02540000
L2C-310 cache controller enabled, 8 ways, 256 kB
L2C-310: CACHE_ID 0x410000c4, AUX_CTRL 0x06540000
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
clocksource: Switched to clocksource freerun
FS-Cache: Loaded
NET: Registered protocol family 2
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
UDP hash table entries: 256 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
NET: Registered protocol family 1
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x78000000 (irq = 45, base_baud = 1500000) is a 16550A
loop: module loaded
mGine mflash driver, (c) 2008 mGine Co.
zram: Added device: zram0
ahci ahci.0: forcing PORTS_IMPL to 0x3
ahci ahci.0: AHCI 0001.0100 32 slots 2 ports 3 Gbps 0x3 impl platform mode
ahci ahci.0: flags: ncq sntf pm led clo only pmp pio slum part ccc
scsi host0: ahci
scsi host1: ahci
ata1: SATA max UDMA/133 mmio [mem 0x83000000-0x83ffffff] port 0x100 irq 65
ata2: SATA max UDMA/133 mmio [mem 0x83000000-0x83ffffff] port 0x180 irq 65
physmap platform flash device: 08000000 at 10000000
physmap-flash physmap-flash.0: map_probe failed
libphy: Fixed MDIO Bus: probed
libphy: CNS3xxx MII Bus: probed
eth0: RGMII PHY 0 on cns3xxx Switch
usbcore: registered new interface driver usb-storage
mousedev: PS/2 mouse device common for all mice
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
Initializing XFRM netlink socket
NET: Registered protocol family 17
NET: Registered protocol family 15
bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
PCIe: Port[0] Enable PCIe LTSSM
PCIe: Port[0] Check data link layer...
ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata1: SATA link down (SStatus 0 SControl 300)
ata2.00: ATA-8: HGST HTS725050A7E630, GH2ZB550, max UDMA/133
ata2.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 31/32)
ata2.00: configured for UDMA/133
scsi 1:0:0:0: Direct-Access ATA HGST HTS725050A7 B550 PQ: 0 ANSI: 5
sd 1:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
sd 1:0:0:0: [sda] 4096-byte physical blocks
sd 1:0:0:0: [sda] Write Protect is off
sd 1:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
sda: sda1
sd 1:0:0:0: [sda] Attached SCSI disk
Device not found.
PCIe: Port[1] Enable PCIe LTSSM
PCIe: Port[1] Check data link layer...
Device not found.
VFS: Cannot open root device "sda3" or unknown-block(8,3): error -6
Please append a correct "root=" boot option; here are the available partitions:
0800 488386584 sda driver: sd
0801 9765888 sda1 c8b55e97-01
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,3)
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.4.88-eric+ #7
Hardware name: Seagate CNS3420 NAS
Backtrace:
[<c001316c>] (dump_backtrace) from [<c0013364>] (show_stack+0x18/0x1c)
r7:c052785c r6:60000093 r5:00000000 r4:c05443e8
[<c001334c>] (show_stack) from [<c01ef460>] (dump_stack+0x94/0xb0)
[<c01ef3cc>] (dump_stack) from [<c009c318>] (panic+0x94/0x1fc)
r7:c052785c r6:c0495c24 r5:cf0d0000 r4:c055ae88
[<c009c288>] (panic) from [<c0504318>] (mount_block_root+0x214/0x2cc)
r3:00000000 r2:0000002e r1:cf841ec0 r0:c0495bb8
r7:c052785c
[<c0504104>] (mount_block_root) from [<c0504430>] (mount_root+0x60/0x7c)
r10:c05035fc r9:c052783c r8:0000007a r7:c0500bd8 r6:c0527838 r5:c0527871
r4:00000003
[<c05043d0>] (mount_root) from [<c0504588>] (prepare_namespace+0x13c/0x1a0)
r5:c0527871 r4:c055aa04
[<c050444c>] (prepare_namespace) from [<c0503ec8>] (kernel_init_freeable+0x194/0x1e4)
r6:c0527838 r5:c055a9e0 r4:00000008
[<c0503d34>] (kernel_init_freeable) from [<c03d9220>] (kernel_init+0x10/0xf0)
r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c03d9210
r4:00000000
[<c03d9210>] (kernel_init) from [<c000f7d8>] (ret_from_fork+0x14/0x3c)
r5:c03d9210 r4:00000000
CPU1: stopping
CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.4.88-eric+ #7
Hardware name: Seagate CNS3420 NAS
Backtrace:
[<c001316c>] (dump_backtrace) from [<c0013364>] (show_stack+0x18/0x1c)
r7:cf85ff50 r6:60000193 r5:00000000 r4:c05443e8
[<c001334c>] (show_stack) from [<c01ef460>] (dump_stack+0x94/0xb0)
[<c01ef3cc>] (dump_stack) from [<c001605c>] (handle_IPI+0x17c/0x1bc)
r7:cf85ff50 r6:00000000 r5:00000001 r4:c055ac10
[<c0015ee0>] (handle_IPI) from [<c00094b8>] (gic_handle_irq+0x8c/0xa0)
r7:c0538548 r6:cf85ff50 r5:000003ff r4:fb00410c
[<c000942c>] (gic_handle_irq) from [<c0013e74>] (__irq_svc+0x54/0x70)
Exception stack(0xcf85ff50 to 0xcf85ff98)
ff40: 00000ad4 00000000 00000000 00000000
ff60: cf85e000 00000000 c05382dc c0538280 c0531220 00000001 c03de6bc cf85ffac
ff80: cf85ffb0 cf85ffa0 c0010230 c0010234 60000013 ffffffff
r10:c03de6bc r9:00000001 r8:c0531220 r7:cf85ff84 r6:ffffffff r5:60000013
r4:c0010234
[<c0010204>] (arch_cpu_idle) from [<c005a0b0>] (default_idle_call+0x28/0x34)
[<c005a088>] (default_idle_call) from [<c005a1c4>] (cpu_startup_entry+0x108/0x198)
[<c005a0bc>] (cpu_startup_entry) from [<c0015c3c>] (secondary_start_kernel+0xf0/0x10c)
r7:c055ac38
[<c0015b4c>] (secondary_start_kernel) from [<00009568>] (0x9568)
r5:00000051 r4:0f84400a
---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,3)
Load Address: 02000000 Entry Point: 02000000
|
Re: (WIP) Linux Kernel and rootfs 4.14.24 for Seagate Business Storage NAS (CNS3xxx) package March 10, 2018 05:16AM |
Admin Registered: 14 years ago Posts: 19,936 |
setenv bootcmd_scsi 'scsi init; ext2load scsi 0 0x02000000 /boot/uImage; bootm 0x02000000'