|
Re: Lenovo ix2-dl, boot new kernel and write and boot from flash October 22, 2018 04:31AM |
Admin Registered: 14 years ago Posts: 20,031 |
Quote
Booting Debian on Pogoplug
How to set up U-Boot for booting in multiple drives configuration
Backup and Restore NAND mtds
UART Booting HowTo for Selected Kirkwood Devices
Migrating from Arch to Debian?
How to boot new Debian rootfs using stock u-boot tftp - Pogo E02
How to boot new Debian rootfs on USB using stock u-boot - NSA325
Booting Debian rootfs on a GPT HDD with stock u-boot (with kernel files stored in HDD raw sector)
|
Re: HOWTO: Lenovo ix2-dl / Stock U-Boot, boot current kernel, access printenv from Debian, load kernel from GPT ide drive October 22, 2018 11:53PM |
Registered: 7 years ago Posts: 125 |
setenv load_initrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd' setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage' setenv usb_boot 'usb start; run load_uimage; run load_initrd; bootm 0x800000 0x2100000' setenv bootargs 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:0x80000@0(uboot),0x20000@0xa0000(env),0x20000@0xc0000(env2),0x300000@0x100000(uImage),0x400000@0x400000(initrd),0x3f800000@0x800000(boot),1024m@0x0(flash) earlyprintk=serial'
** MARVELL BOARD: DB-88F6282A-BP LE
U-Boot 1.1.4 (Oct 28 2011 - 15:19:29) Marvell version: 3.6.1 - EMC
U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CFB00
Soc: 88F6282 A1 CPU running @ 1600Mhz L2 running @ 533Mhz
SysClock = 533Mhz , TClock = 200Mhz
DRAM (DDR3) CAS Latency = 7 tRP = 7 tRAS = 20 tRCD=7
DRAM CS[0] base 0x00000000 size 256MB
DRAM Total size 256MB 16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:1024 MB
Found ADT7473, program PWM1 ... OK
Flash: 0 kB
Marvell Serial ATA Adapter
Integrated Sata device found
[0 0 0]: Enable DMA mode (6)
Device 0 @ 0 0:
Model: ST2000DM001-1CH164 Firm: CC26 Ser#: Z2F0PEJZ
Type: Hard Disk
Supports 48-bit addressing
Capacity: 1907729.0 MB = 1863.0 GB (-387938128 x 512)
[0 1 0]: Enable DMA mode (6)
Device 1 @ 0 1:
Model: ST1000DM003-9YN162 Firm: CC9D Ser#: Z1D0F6TF
Type: Hard Disk
Supports 48-bit addressing
Capacity: 953869.7 MB = 931.5 GB (1953525168 x 512)
CPU : Marvell Feroceon (Rev 1)
Found kernel at 0x100000
Found initrd at 0x400000
Streaming disabled
Write allocate disabled
USB 0: host mode
PEX 0: interface detected no Link.
PEX 1: interface detected no Link.
Net: egiga0 [PRIME]
Hit any key to stop autoboot: 0
Marvell>> setenv load_initrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd.4.12'
Marvell>> setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage.4.12'
Marvell>> setenv usb_boot 'usb start; run load_uimage; run load_initrd; bootm 0x800000 0x2100000'
Marvell>> boot
(Re)start USB...
USB: scanning bus for devices... 2 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
1 Storage Device(s) found
....
.................................................................................................................................................................................................................................................................................................................................................................................
3834683 bytes read
....
..............................................................................................................................................................
.
.......................................................................................................................................................................................................................................................
.........................................................................................................................................................................................................................................................................................................................................................................................................
8268888 bytes read
## Booting image at 00800000 ...
Image Name: Linux-4.12.1-kirkwood-tld-1
Created: 2018-10-20 0:48:49 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3834619 Bytes = 3.7 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 02100000 ...
Image Name: initramfs-4.12.1-kirkwood-tld-1
Created: 2018-10-20 0:49:12 UTC
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 8268824 Bytes = 7.9 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.18.4-kirkwood-tld-1 (root@tldDebian) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 PREEMPT Fri Aug 24 22:13:40 PDT 2018
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] OF: fdt: Machine model: Lenovo IX2-ng
[ 6.572050] Creating 6 MTD partitions on "orion_nand": [ 6.577335] 0x000000000000-0x000000080000 : "uboot" [ 6.583012] 0x0000000a0000-0x0000000c0000 : "env" [ 6.588430] 0x0000000c0000-0x0000000e0000 : "env2" [ 6.593955] 0x000000100000-0x000000400000 : "uImage" [ 6.599739] 0x000000400000-0x000000800000 : "initrd" [ 6.605568] 0x000000800000-0x000040000000 : "boot"
> cat /proc/mtd > dev: size erasesize name > mtd0: 00080000 00020000 "uboot" > mtd1: 00020000 00020000 "env" > mtd2: 00020000 00020000 "env2" > mtd3: 00300000 00020000 "uImage" > mtd4: 00400000 00020000 "initrd" > mtd5: 3f800000 00020000 "boot"
# MTD device name Device offset Env. size Flash sector size $ /dev/mtd1 0x0000 0x20000 0x20000 /dev/mtd2 0x0000 0x20000 0x20000Only 1 entry should be required (MTD1), on my IX2 it oddly needs both to read and write the variables, but works and doesn’t throw errors.
Model: ATA ST1000DM003-9YN1 (scsi) Disk /dev/sdc: 1000GB Sector size (logical/physical): 512B/4096B Partition Table: gpt Disk Flags: Number Start End Size File system Name Flags 1 128MB 21.5GB 21.4GB ext4 rootfs 2 21.5GB 1000GB 979GB primary msftdata
/kernels# dd if=uImage of=/dev/sdc bs=1MiB seek=10 3+1 records in 3+1 records out 4171272 bytes (4.2 MB, 4.0 MiB) copied, 3.1455 s, 1.3 MB/s /kernels# dd if=uInitrd of=/dev/sdc bs=1MiB seek=20 9+1 records in 9+1 records out 9762728 bytes (9.8 MB, 9.3 MiB) copied, 0.196305 s, 49.7 MB/s
U-Boot 1.1.4 (Oct 28 2011 - 15:19:29) Marvell version: 3.6.1 - EMC
U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CFB00
Soc: 88F6282 A1 CPU running @ 1600Mhz L2 running @ 533Mhz
SysClock = 533Mhz , TClock = 200Mhz
DRAM (DDR3) CAS Latency = 7 tRP = 7 tRAS = 20 tRCD=7
DRAM CS[0] base 0x00000000 size 256MB
DRAM Total size 256MB 16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:1024 MB
Found ADT7473, program PWM1 ... OK
Flash: 0 kB
Marvell Serial ATA Adapter
Integrated Sata device found
[0 0 0]: Enable DMA mode (6)
Device 0 @ 0 0:
Model: ST2000DM001-1CH164 Firm: CC26 Ser#: Z2F0PEJZ
Type: Hard Disk
Supports 48-bit addressing
Capacity: 1907729.0 MB = 1863.0 GB (-387938128 x 512)
[0 1 0]: Enable DMA mode (6)
Device 1 @ 0 1:
Model: ST1000DM003-9YN162 Firm: CC9D Ser#: Z1D0F6TF
Type: Hard Disk
Supports 48-bit addressing
Capacity: 953869.7 MB = 931.5 GB (1953525168 x 512)
CPU : Marvell Feroceon (Rev 1)
Found kernel at 0x100000
Found initrd at 0x400000
Streaming disabled
Write allocate disabled
USB 0: host mode
PEX 0: interface detected no Link.
PEX 1: interface detected no Link.
Net: egiga0 [PRIME]
Hit any key to stop autoboot: 0
Marvell>> ide device 1;ide read 0x2100000 0xA000 0x4F00
IDE device 1: Model: ST1000DM003-9YN162 Firm: CC9D Ser#: Z1D0F6TF
Type: Hard Disk
Supports 48-bit addressing
Capacity: 953869.7 MB = 931.5 GB (1953525168 x 512)
... is now current device
IDE read: device 1 block # 40960, count 20224 ... 20224 blocks read: OK
Marvell>> imi 0x2100000
## Checking Image at 02100000 ...
Image Name: initramfs-4.18.4-kirkwood-tld-1
Created: 2018-10-20 19:08:21 UTC
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 9762664 Bytes = 9.3 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Marvell>> setenv bootcmd 'ide device 1; ide read 0x40000 0x5000 0x2000; ide read 0x2100000 0xA000 0x4F00; bootm 0x40000 0x2100000'
Marvell>> boot
IDE device 1: Model: ST1000DM003-9YN162 Firm: CC9D Ser#: Z1D0F6TF
Type: Hard Disk
Supports 48-bit addressing
Capacity: 953869.7 MB = 931.5 GB (1953525168 x 512)
... is now current device
IDE read: device 1 block # 20480, count 8192 ... 8192 blocks read: OK
IDE read: device 1 block # 40960, count 20224 ... 20224 blocks read: OK
## Booting image at 00040000 ...
Image Name: Linux-4.18.4-kirkwood-tld-1
Created: 2018-10-21 2:09:48 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4171208 Bytes = 4 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 02100000 ...
Image Name: initramfs-4.18.4-kirkwood-tld-1
Created: 2018-10-20 19:08:21 UTC
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 9762664 Bytes = 9.3 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Starting kernel ...
|
Re: HOWTO: Lenovo ix2-dl / Stock U-Boot, boot current kernel, access printenv from Debian, load kernel from GPT ide drive October 23, 2018 02:03AM |
Admin Registered: 14 years ago Posts: 20,031 |
|
Re: HOWTO: Lenovo ix2-dl / Stock U-Boot, boot current kernel, access printenv from Debian, load kernel from GPT ide drive October 23, 2018 04:10PM |
Registered: 7 years ago Posts: 125 |
[ 2915.192097] ubi0: attaching mtd5 [ 2915.902529] ubi0: scanning is finished [ 2915.918166] ubi0 warning: ubi_eba_init: cannot reserve enough PEBs for bad PEB handling, reserved 81, need 157 [ 2915.930989] ubi0: attached mtd5 (name "boot", size 1016 MiB) [ 2915.937018] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes [ 2915.943928] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512 [ 2915.951180] ubi0: VID header offset: 512 (aligned 512), data offset: 2048 [ 2915.958955] ubi0: good PEBs: 8125, bad PEBs: 3, corrupted PEBs: 0 [ 2915.965269] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128 [ 2915.973484] ubi0: max/mean erase counter: 13/7, WL threshold: 4096, image sequence number: 0 [ 2915.982434] ubi0: available PEBs: 0, total reserved PEBs: 8125, PEBs reserved for bad PEB handling: 81 [ 2915.992009] ubi0: background thread "ubi_bgt0d" started, PID 3672 [ 3035.353687] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 3681 [ 3035.371253] UBIFS (ubi0:0): recovery needed [ 3035.448165] UBIFS (ubi0:0): recovery completed [ 3035.452716] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "boot" [ 3035.460296] UBIFS (ubi0:0): LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes [ 3035.470439] UBIFS (ubi0:0): FS size: 1035159552 bytes (987 MiB, 8023 LEBs), journal size 33546240 bytes (31 MiB, 260 LEBs) [ 3035.481705] UBIFS (ubi0:0): reserved for root: 4952683 bytes (4836 KiB) [ 3035.488519] UBIFS (ubi0:0): media format: w4/r0 (latest is w5/r0), UUID ED69950E-9378-442B-BA6C-7D1BA8FE474E, small LPT model
|
Re: HOWTO: Lenovo ix2-dl / Stock U-Boot, boot current kernel, access printenv from Debian, load kernel from GPT ide drive October 24, 2018 02:33PM |
Registered: 7 years ago Posts: 125 |
|
Lenovo ix2-NG/ not booting March 31, 2020 03:33PM |
Registered: 5 years ago Posts: 1 |
_ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__| ** ix2-spi ** ** uboot_ver:0.0.8 **
** MARVELL BOARD: DB-88F6282A-BP LE
U-Boot 1.1.4 (Oct 28 2011 - 15:18:22) Marvell version: 3.6.1 - EMC
U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CD5A0
Soc: 88F6282 A1 CPU running @ 1600Mhz L2 running @ 533Mhz
SysClock = 533Mhz , TClock = 200Mhz
DRAM (DDR3) CAS Latency = 7 tRP = 7 tRAS = 20 tRCD=7
DRAM CS[0] base 0x00000000 size 256MB
DRAM Total size 256MB 16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
Found ADT7473, program PWM1 ... OK
[1024kB@f8000000] Flash: 1 MB
Marvell Serial ATA Adapter
Integrated Sata device found
[0 1 0]: Enable DMA mode (6)
Device 1 @ 0 1:
Model: ST4000DM000-1F2168 Firm: CC54 Ser#: Z307NL8Q
Type: Hard Disk
Supports 48-bit addressing
Capacity: 1718295.8 MB = 1678.0 GB (-775897424 x 512)
CPU : Marvell Feroceon (Rev 1)
Streaming disabled
Write allocate disabled
USB 0: host mode
PEX 0: interface detected no Link.
PEX 1: interface detected no Link.
Net: egiga0 [PRIME]
Hit any key to stop autoboot: 0
IDE device 1: Model: ST4000DM000-1F2168 Firm: CC54 Ser#: Z307NL8Q
Type: Hard Disk
Supports 48-bit addressing
Capacity: 1718295.8 MB = 1678.0 GB (-775897424 x 512)
... is now current device
IDE read: device 1 block # 20480, count 8192 ... 8192 blocks read: OK
IDE read: device 1 block # 40960, count 20224 ... 20224 blocks read: OK
## Booting image at 00040000 ...
Bad Magic Number
Marvell>> printenv
baudrate=115200
loads_echo=0
rootpath=/srv/ubuntu
run_diag=yes
MALLOC_len=1
ethprime=egiga0
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
lcd0_enable=0
lcd0_params=640x480-16@60
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev[0]:fxs,dev[1]:fxo
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
image_multi=yes
ethact=egiga0
console=console=ttyS0,115200
bootargs_root=root=/dev/ram0
bootargs_mtd=mtdparts=spi_flash:0x7e000@0(u-boot),0x1000@0x7f000(env),0x1000@0x7e000(env2)
kernelimage=zImage
initrdimage=mfginitrd
mfgmodel=ix2
preroot_ver=0.0.2
uboot_ver=0.0.8
serial_number=5563Y01001G334002ABJ0D1
ethaddr=00:D0:B8:15:20:F3
serialNo=EUAD39006D
modelname=32041700
fw_ver=4.0.4.14600d
serialno=0,01T73RXmePA2CzsdqLnYn8jFkQf69Z9NHFKgVU7E4SgVrWmAkO1KSRjc+I52tewqHa,EUAD39006D,
runintime=10800
ftpserver=192.168.43.4
testfile=100M
mfgtest_state=system_tested_ok
pre_path=IX2/1.0.8/download_runin.sh
pre_path_conf=IX2/1.0.8/download_runin.conf
pre_serverip=192.168.32.4
pre_user=ixxrunin
pre_passwd=123
pre_dirzi=IX2/1.0.8
bootcmd2=ide dev 1;ide read 0x40000 0x800 0x1800; ide read 0x900000 0x2000 0x2000; bootm 0x40000 0x900000;
dnsip=192.168.1.1
arcNumber=1682
bootargs=console=ttyS0,115200 root=/dev/ram0 mtdparts=spi_flash:0x7e000@0(u-boot),0x1000@0x7f000(env),0x1000@0x7e000(env2) :::DB88FXX81:eth0:none
filesize=2d4a40
fileaddr=5400000
gatewayip=192.168.1.1
netmask=255.255.255.0
ipaddr=192.168.1.12
serverip=192.168.1.10
bootargs_console=console=ttyS0,115200
mtdparts=orion_nand:0x300000@0x100000(zImage),0x1000000@0x540000(initrd)=root=/dev/mapper/debian--vg-root rootdelay=10
bootcmd=ide device 1; ide read 0x40000 0x5000 0x2000; ide read 0x2100000 0xA000 0x4F00; bootm 0x40000 0x2100000
stdin=serial
stdout=serial
stderr=serial
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
bootdelay=3
disaMvPnp=no
enaAutoRecovery=yes
pcieTune=no
pcieTune1=no
Environment size: 2293/4091 bytes
|
Re: Lenovo ix2-NG/ not booting March 31, 2020 05:43PM |
Admin Registered: 14 years ago Posts: 20,031 |
bootcmd=ide device 1; ide read 0x40000 0x5000 0x2000; ide read 0x2100000 0xA000 0x4F00; bootm 0x40000 0x2100000
IDE device 1: Model: ST4000DM000-1F2168 Firm: CC54 Ser#: Z307NL8Q
Type: Hard Disk
Supports 48-bit addressing
Capacity: 1718295.8 MB = 1678.0 GB (-775897424 x 512)
... is now current device
IDE read: device 1 block # 20480, count 8192 ... 8192 blocks read: OK
IDE read: device 1 block # 40960, count 20224 ... 20224 blocks read: OK
## Booting image at 00040000 ...
Bad Magic Number
|
Re: HOWTO: Lenovo ix2-dl / Stock U-Boot, boot current kernel, access printenv from Debian, load kernel from GPT ide drive March 31, 2020 06:13PM |
Registered: 7 years ago Posts: 125 |
|
ix2fbz
Re: HOWTO: Lenovo ix2-dl / Stock U-Boot, boot current kernel, access printenv from Debian, load kernel from GPT ide drive January 07, 2021 08:49PM |
|
Re: HOWTO: Lenovo ix2-dl / Stock U-Boot, boot current kernel, access printenv from Debian, load kernel from GPT ide drive January 07, 2021 10:27PM |
Admin Registered: 14 years ago Posts: 20,031 |
bootcmd=ide reset; ide read 0x40000 0x800 0x1800; ide read 0x900000 0x2000 0x2000; setenv bootargs $(console) $(bootargs_root) $(bootargs_mtd) $(bootargs_end); bootm 0x40000 0x900000;run bo2
setenv load_initrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd' setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage' setenv usb_boot 'usb start; run load_uimage; run load_initrd; bootm 0x800000 0x2100000' setenv bootargs 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:0x80000@0(uboot),0x20000@0xa0000(env),0x20000@0xc0000(env2),0x300000@0x100000(uImage),0x400000@0x400000(initrd),0x3f800000@0x800000(boot),1024m@0x0(flash) earlyprintk=serial'
setenv load_initrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd' setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage' setenv usb_boot 'usb start; run load_uimage; run load_initrd; bootm 0x800000 0x2100000' setenv bootargs 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:0x80000@0(uboot),0x20000@0xa0000(env),0x20000@0xc0000(env2),0x300000@0x100000(uImage),0x400000@0x400000(initrd),0x3f800000@0x800000(boot),1024m@0x0(flash) earlyprintk=serial' setenv bootcmd 'run usb_boot; ide reset; ide read 0x40000 0x800 0x1800; ide read 0x900000 0x2000 0x2000; setenv bootargs $(console) $(bootargs_root) $(bootargs_mtd) $(bootargs_end); bootm 0x40000 0x900000'
boot
|
ix2fbz
Re: HOWTO: Lenovo ix2-dl / Stock U-Boot, boot current kernel, access printenv from Debian, load kernel from GPT ide drive January 08, 2021 08:16PM |
|
Re: HOWTO: Lenovo ix2-dl / Stock U-Boot, boot current kernel, access printenv from Debian, load kernel from GPT ide drive January 08, 2021 10:05PM |
Admin Registered: 14 years ago Posts: 20,031 |
e2label /dev/sdb1If not, set it
e2label /dev/sdb1 rootfs syncAnd then try booting again.
|
ix2fbz
Re: HOWTO: Lenovo ix2-dl / Stock U-Boot, boot current kernel, access printenv from Debian, load kernel from GPT ide drive January 09, 2021 10:16AM |
setenv load_initrd 'ext2load ide 0:1 0x2100000 /boot/uInitrd' setenv load_uimage 'ext2load ide 0:1 0x800000 /boot/uImage' setenv ide_boot 'run load_uimage; run load_initrd; bootm 0x800000 0x2100000' setenv bootargs 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:0x80000@0(uboot),0x20000@0xa0000(env),0x20000@0xc0000(env2),0x300000@0x100000(uImage),0x400000@0x400000(initrd),0x3f800000@0x800000(boot),1024m@0x0(flash) earlyprintk=serial' setenv bootcmd 'run ide_boot; ide reset; ide read 0x40000 0x800 0x1800; ide read 0x900000 0x2000 0x2000; setenv bootargs $(console) $(bootargs_root) $(bootargs_mtd) $(bootargs_end); bootm 0x40000 0x900000'
Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found
[0 1 0]: Enable DMA mode (5)
Device 1 @ 0 1:
Model: Hitachi HTS541612J9SA00 Firm: SBDOC7HP Ser#: SB2581L6G6S15E
Type: Hard Disk
Supports 48-bit addressing
Capacity: 114473.4 MB = 111.7 GB (234441648 x 512)
** Bad partition 1 **
** Bad partition 1 **
## Booting image at 00800000 ...
Bad Magic Number
IDE read: device 1 block # 2048, count 6144 ... 6144 blocks read: OK
IDE read: device 1 block # 8192, count 8192 ... 8192 blocks read: OK
## Booting image at 00040000 ...
Bad Magic Number
|
Re: HOWTO: Lenovo ix2-dl / Stock U-Boot, boot current kernel, access printenv from Debian, load kernel from GPT ide drive January 09, 2021 03:53PM |
Admin Registered: 14 years ago Posts: 20,031 |
Quote
Booting Debian on Pogoplug
How to set up U-Boot for booting in multiple drives configuration
Backup and Restore NAND mtds
UART Booting HowTo for Selected Kirkwood Devices
Migrating from Arch to Debian?
How to boot new Debian rootfs using stock u-boot tftp - Pogo E02
How to boot new Debian rootfs on USB using stock u-boot - NSA325
How to boot Debian rootfs on a GPT HDD with stock u-boot (kernel files stored in HDD raw sector), 2nd HowTo post
How to boot Pogo V3 from SATA (to unbrick), 2nd How to Post
How to install U-Boot for Pogoplug V3 (OXNAS OX820) from OpenWRT
Boot Kirkwood rootfs with stock u-boot
|
Re: HOWTO: Lenovo ix2-dl / Stock U-Boot, boot current kernel, access printenv from Debian, load kernel from GPT ide drive January 10, 2021 06:40PM |
Registered: 7 years ago Posts: 125 |
|
Re: HOWTO: Lenovo ix2-dl / Stock U-Boot, boot current kernel, access printenv from Debian, load kernel from GPT ide drive January 30, 2021 07:26AM |
Registered: 5 years ago Posts: 1 |
|
Re: HOWTO: Lenovo ix2-dl / Stock U-Boot, boot current kernel, access printenv from Debian, load kernel from GPT ide drive January 30, 2021 06:25PM |
Admin Registered: 14 years ago Posts: 20,031 |
|
Re: HOWTO: Lenovo ix2-dl / Stock U-Boot, boot current kernel, access printenv from Debian, load kernel from GPT ide drive January 31, 2021 04:02PM |
Registered: 7 years ago Posts: 125 |
|
killerdude77
Re: HOWTO: Lenovo ix2-dl / Stock U-Boot, boot current kernel, access printenv from Debian, load kernel from GPT ide drive May 09, 2021 12:21AM |
|
Re: HOWTO: Lenovo ix2-dl / Stock U-Boot, boot current kernel, access printenv from Debian, load kernel from GPT ide drive May 18, 2021 03:28PM |
Registered: 7 years ago Posts: 125 |
|
Dave
Re: HOWTO: Lenovo ix2-dl / Stock U-Boot, boot current kernel, access printenv from Debian, load kernel from GPT ide drive November 19, 2021 01:15PM |
|
Re: HOWTO: Lenovo ix2-dl / Stock U-Boot, boot current kernel, access printenv from Debian, load kernel from GPT ide drive November 19, 2021 03:16PM |
Admin Registered: 14 years ago Posts: 20,031 |
|
Dave
Re: HOWTO: Lenovo ix2-dl / Stock U-Boot, boot current kernel, access printenv from Debian, load kernel from GPT ide drive November 24, 2021 01:21PM |
__ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__| ** ix2-nand ** ** uboot_ver:0.0.8 **
** MARVELL BOARD: DB-88F6282A-BP LE
U-Boot 1.1.4 (Oct 28 2011 - 15:19:29) Marvell version: 3.6.1 - EMC
U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CFB00
Soc: 88F6282 A1 CPU running @ 1600Mhz L2 running @ 533Mhz
SysClock = 533Mhz , TClock = 200Mhz
DRAM (DDR3) CAS Latency = 7 tRP = 7 tRAS = 20 tRCD=7
DRAM CS[0] base 0x00000000 size 256MB
DRAM Total size 256MB 16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:1024 MB
Found ADT7473, program PWM1 ... OK
Flash: 0 kB
Marvell Serial ATA Adapter
Integrated Sata device found
[0 1 0]: Enable DMA mode (6)
Device 1 @ 0 1:
Model: SEAGATE ST95000NSSUN500G 1037M1XM2C Firm: SF03 Ser#: 9SP1XM2C
Type: Hard Disk
Supports 48-bit addressing
Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
CPU : Marvell Feroceon (Rev 1)
Found kernel at 0x100000
Found initrd at 0x400000
Streaming disabled
Write allocate disabled
USB 0: host mode
PEX 0: interface detected no Link.
PEX 1: interface detected no Link.
Net: egiga0 [PRIME]
Hit any key to stop autoboot: 0
NAND read: device 0 offset 0x100000, size 0x300000
Reading data from 0x3ff800 -- 100% complete.
3145728 bytes read: OK
NAND read: device 0 offset 0x400000, size 0x400000
Reading data from 0x7ff800 -- 100% complete.
4194304 bytes read: OK
## Booting image at 00040000 ...
Image Name: Linux-2.6.31.8
Created: 2019-06-17 12:13:03 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2502832 Bytes = 2.4 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 00900000 ...
Image Name:
Created: 2019-06-17 12:44:09 UTC
Image Type: ARM Linux RAMDisk Image (bzip2 compressed)
Data Size: 2982113 Bytes = 2.8 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Starting kernel ...
Linux version 2.6.31.8 (soho@bsoho088.iomegacorp.com) (gcc version 4.7.2 (crosstool-NG 1.20.0) ) Mon Jun 17 08:12:59 EDT 2019 v0.0.9 Mon Jun 17 08:12:59 EDT 2019
CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
CPU: VIVT data cache, VIVT instruction cache
Machine: Feroceon-KW
Using UBoot passing parameters structure
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 64960
Kernel command line: console=ttyS0,115200 root=/dev/ram0 :::DB88FXX81:eth0:none mtdparts=nand_mtd:0x80000@0(uboot),0x20000@0xa0000(env),0x20000@0xc0000(env2),0x300000@0x100000(uImage),0x400000@0x400000(initrd),0x3f800000@0x800000(boot),1024m@0x0(flash)
PID hash table entries: 1024 (order: 10, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 256MB = 256MB total
Memory: 244352KB available (4592K code, 365K data, 136K init, 0K highmem)
Hierarchical RCU implementation.
NR_IRQS:128
Console: colour dummy device 80x30
Calibrating delay loop... 1589.24 BogoMIPS (lpj=7946240)
Security Framework initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
xor: measuring software checksum speed
arm4regs : 1447.200 MB/sec
8regs : 867.600 MB/sec
32regs : 1120.400 MB/sec
xor: using function: arm4regs (1447.200 MB/sec)
NET: Registered protocol family 16
Feroceon L2: Enabling L2
Feroceon L2: Cache support initialised.
CPU Interface
-------------
SDRAM_CS0 ....base 00000000, size 256MB
SDRAM_CS1 ....disable
SDRAM_CS2 ....disable
SDRAM_CS3 ....disable
PEX0_MEM ....base e0000000, size 128MB
PEX0_IO ....base f2000000, size 1MB
PEX1_MEM ....base e8000000, size 128MB
PEX1_IO ....base f2100000, size 1MB
INTER_REGS ....base f1000000, size 1MB
NFLASH_CS ....base fa000000, size 2MB
SPI_CS ....base f4000000, size 16MB
BOOT_ROM_CS ....no such
DEV_BOOTCS ....no such
CRYPT_ENG ....base f0000000, size 2MB
Marvell Development Board (LSP Version KW_LSP_5.1.3_patch25)-- DB-88F6282A-BP Soc: 88F6282 A1 LE
Detected Tclk 200000000 and SysClk 533333333
MV Buttons Device Load
Marvell USB EHCI Host controller #0: c8040740
PEX0 interface detected no Link.
PEX1 interface detected no Link.
PCI: bus0: Fast back to back transfers enabled
PCI: bus1: Fast back to back transfers enabled
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
raid6: int32x1 125 MB/s
raid6: int32x2 157 MB/s
raid6: int32x4 162 MB/s
raid6: int32x8 159 MB/s
raid6: using algorithm int32x4 (162 MB/s)
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
NET: Registered protocol family 1
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (no cpio magic); looks like an initrd
Freeing initrd memory: 2912K
rtc mv_rtc: rtc core: registered kw-rtc as rtc0
RTC registered
XOR registered 4 channels
XOR 2nd invalidate WA enabled
cesadev_init(c000ed58)
mvCesaInit: sessions=640, queue=64, pSram=f0000000
MV Buttons Driver Load
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering unionfs 2.5.11 (for 2.6.31.14)
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
msgmni has been set to 483
alg: No test for cipher_null (cipher_null-generic)
alg: No test for ecb(cipher_null) (ecb-cipher_null)
alg: No test for digest_null (digest_null-generic)
alg: No test for compress_null (compress_null-generic)
alg: No test for stdrng (krng)
alg: No test for hmac(digest_null) (hmac(digest_null-generic))
async_tx: api initialized (sync-only)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered
io scheduler anticipatory registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012100 (irq = 34) is a 16550A
console [ttyS0] enabled
brd: module loaded
loop: module loaded
Integrated Sata device found
IRQ 21/mvSata: IRQF_DISABLED is not guaranteed on shared IRQs
scsi0 : Marvell SCSI to SATA adapter
scsi1 : Marvell SCSI to SATA adapter
scsi 1:0:0:0: Direct-Access SEAGATE ST95000NSSUN500G PQ: 0 ANSI: 5
sd 1:0:0:0: [sda] Sector size 0 reported, assuming 512.
sd 1:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
sd 1:0:0:0: [sda] 0-byte physical blocks
sd 1:0:0:0: Attached scsi generic sg0 type 0
sd 1:0:0:0: [sda] Write Protect is off
Loading Marvell Ethernet Driver:
o Cached descriptors in DRAM
o DRAM SW cache-coherency
o 2 Giga ports supported
o Single RX Queue support - ETH_DEF_RXQ=0
o Single TX Queue support - ETH_DEF_TXQ=0
o TCP segmentation offload (TSO) supported
o Large Receive offload (LRO) supported
o Receive checksum offload supported
o Transmit checksum offload supported
o Proc tool API enabled
o Rx descripors: q0=256
o Tx descripors: q0=532
o Loading network interface(s):
o register under mv88fx_eth platform
o eth0, ifindex = 2, GbE port = 0
Warning: Giga 1 is Powered Off
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
sd 1:0:0:0: [sda] Sector size 0 reported, assuming 512.
mvSFlashInit ERROR: Unknown SPI flash device!
ERROR: sflash_probe - Failed to initialize the SFlash.Using Hamming 1-bit ECC for NAND device
NAND flash model -> K9K8G08U0D.
NAND device: Manufacturer ID: 0xec, Chip ID: 0xd3 (Samsung NAND 1GiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 5037 at 0x0000275a0000
Bad eraseblock 7893 at 0x00003daa0000
Bad eraseblock 7895 at 0x00003dae0000
7 cmdlinepart partitions found on MTD device nand_mtd
Using command line partition definition
Creating 7 MTD partitions on "nand_mtd":
0x000000000000-0x000000080000 : "uboot"
0x0000000a0000-0x0000000c0000 : "env"
0x0000000c0000-0x0000000e0000 : "env2"
sda:
0x000000100000-0x000000400000 : "uImage"
0x000000400000-0x000000800000 : "initrd"
unknown partition table
sd 1:0:0:0: [sda] Sector size 0 reported, assuming 512.
0x000000800000-0x000040000000 : "boot"
0x000000000000-0x000040000000 : "flash"
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_marvell ehci_marvell.70059: Marvell Orion EHCI
ehci_marvell ehci_marvell.70059: new USB bus registered, assigned bus number 1
sd 1:0:0:0: [sda] Attached SCSI disk
ehci_marvell ehci_marvell.70059: irq 19, io base 0xf1050100
ehci_marvell ehci_marvell.70059: USB 2.0 started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
uhci_hcd: USB Universal Host Controller Interface driver
usbcore: registered new interface driver usblp
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver ums-datafab
usbcore: registered new interface driver ums-freecom
usbcore: registered new interface driver ums-jumpshot
usbcore: registered new interface driver ums-sddr09
usbcore: registered new interface driver ums-sddr55
usbcore: registered new interface driver ums-usbat
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
adt7473 0-002e: adt7473 chip found
iBoard_model 2
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid10 personality registered for level 10
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com
dm_crypt using the OCF package.
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 5
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
rtc mv_rtc: setting system clock to 2099-09-06 18:54:21 UTC (4092404061)
md: Waiting for all devices to be available before autodetect
md: If you don't use raid, use raid=noautodetect
md: Autodetecting RAID arrays.
md: Scanned 0 and added 0 devices.
md: autorun ...
md: ... autorun DONE.
RAMDISK: bzip2 image found at block 0
EXT2-fs warning: checktime reached, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem) on device 1:0.
Looking for shell in cmdline: console=ttyS0,115200 root=/dev/ram0 :::DB88FXX81:eth0:none mtdparts=nand_mtd:0x80000@0(uboot),0x20000@0xa0000(env),0x20000@0xc0000(env2),0x300000@0x100000(uImage),0x400000@0x400000(initrd),0x3f800000@0x800000(boot),1024m@0x0(flash)
Make node for mtd devices
HDD /dev/sda detected
cat: can't open '/sys/class/block/sdb/removable': No such file or directory
FLASH based system detected
Create fw_env.config in /etc
Model name is ix2-ng
UBI: attaching mtd5 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 129024 bytes
UBI: smallest flash I/O unit: 2048
UBI: sub-page size: 512
UBI: VID header offset: 512 (aligned 512)
UBI: data offset: 2048
UBI: attached mtd5 to ubi0
UBI: MTD device name: "boot"
UBI: MTD device size: 1016 MiB
UBI: number of good PEBs: 8125
UBI: number of bad PEBs: 3
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 1
UBI: available PEBs: 0
UBI: total number of reserved PEBs: 8125
UBI: number of PEBs reserved for bad PEB handling: 81
UBI: max/mean erase counter: 22/19
UBI: image sequence number: 0
UBI: background thread "ubi_bgt0d" started, PID 614
UBI device number 0, total 8125 LEBs (1048320000 bytes, 999.8 MiB), available 0 LEBs (0 bytes), LEB size 129024 bytes (126.0 KiB)
mdadm: cannot open /dev/sda1: No such device or address
cat: can't open '/sys/class/block/sda/sda1/size': No such file or directory
mdadm: No devices to examine
cat: can't open '/sys/class/block///size': No such file or directory
Valid Disk 1 in md0:
Valid Disk 2 in md0:
USB Device node is /dev/sdb1
Checking to see the if the reset button is pressed or not
Checking for valid image on system
UBIFS: recovery needed
UBIFS: recovery completed
UBIFS: mounted UBI device 0, volume 0, name "boot"
UBIFS: file system size: 1035159552 bytes (1010898 KiB, 987 MiB, 8023 LEBs)
UBIFS: journal size: 33546240 bytes (32760 KiB, 31 MiB, 260 LEBs)
UBIFS: media format: w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root: 4952683 bytes (4836 KiB)
md: md0 stopped.
mdadm: stopped /dev/md0
mdadm: /dev/md0 not identified in config file.
No volume groups found
Mount BFDlv to /mnt/boot on ix2-ng NAND
e2fsck 1.42.5 (29-Jul-2012)
ext2fs_check_if_mount: Can't check if filesystem is mounted due to missing mtab file while determining whether /dev/md0_vg/BFDlv is mounted.
e2fsck: No such file or directory while trying to open /dev/md0_vg/BFDlv
Possibly non-existent device?
mount: mounting /dev/md0_vg/BFDlv on sysroot/mnt/boot failed: No such file or directory
Copy dev node to /sysroot/dev
Found Valid EMC Image in disk...
Mounting apps image...
Mounting config image...
Check config filesystem
e2fsck 1.42.5 (29-Jul-2012)
ext2fs_check_if_mount: Can't check if filesystem is mounted due to missing mtab file while determining whether /dev/loop1 is mounted.
Copying System.map...
No need to create fw_env.config
No need to create fw_env.config
Constructing root filesystem...
Bootstrapping ...
rootdir=/
table='/usr/local/cfg/device_tunionfs: new lower inode ctime (bindex=1, name=/)
able.txt'
makedevs: line 42: chown failed for /bin/busyboxunionfs: new lower inode ctime (bindex=1, name=if-up.d)
: Read-only fileunionfs: new lower inode ctime (bindex=1, name=if-pre-up.d)
system
unionfs: new lower inode ctime (bindex=1, name=if-down.d)
unionfs: new lower inode ctime (bindex=1, name=if-post-down.d)
makedevs: line 49: regular file '/usr/share/udhcpc/default.script' does not exist: No such file or directory
makedevs: line 55: Couldnt create node /dev/null: File exists
makedevs: line 56: Couldnt create node /dev/zero: File exists
makedevs: line 58: Couldnt create node /dev/urandom: File exists
makedevs: line 61: Couldnt create node /dev/loop0: File exists
makedevs: line 61: Couldnt create node /dev/loop1: File exists
makedevs: line 61: Couldnt create node /dev/loop2: File exists
makedevs: line 64: Couldnt create node /dev/console: File exists
makedevs: line 66: Couldnt create node /dev/tty2: File exists
makedevs: line 66: Couldnt create node /dev/tty3: File exists
makedevs: line 66: Couldnt create node /dev/tty4: File exists
makedevs: line 71: Couldnt create node /dev/ttyS0: File exists
makedevs: line 71: Couldnt create node /dev/ttyS1: File exists
makedevs: line 86: Couldnt create node /dev/mtd0: File exists
makedevs: line 86: Couldnt create node /dev/mtd1: File exists
makedevs: line 86: Couldnt create node /dev/mtd2: File exists
makedevs: line 86: Couldnt create node /dev/mtd3: File exists
makedevs: line 86: Couldnt create node /dev/mtd4: File exists
makedevs: line 86: Couldnt create node /dev/mtd5: File exists
makedevs: line 123: Couldnt create node /dev/sda: File exists
makedevs: line 124: Couldnt create node /dev/sda1: File exists
makedevs: line 125: Couldnt create node /dev/sdb: File exists
makedevs: line 126: Couldnt create node /dev/sdb1: File exists
makedevs: line 127: Couldnt create node /dev/sdc: File exists
makedevs: line 128: Couldnt create node /dev/sdc1: File exists
makedevs: line 190: Couldnt create node /dev/md0: File exists
makedevs: line 191: Couldnt create node /dev/md1: File exists
warning: failed to read mtab
Loading ext4...
Loading xfs...
SGI XFS with ACLs, security attributes, large block/inode numbers, no debug enabled
SGI XFS Quota Management subsystem
Loading isofs...
Loading udf...
Loading ufsd...
ufsd: module license 'Commercial product' taints kernel.
Disabling lock debugging due to kernel taint
ufsd: driver 8.5 (Jun 17 2019 08:30:02) LBD=ON with delayalloc with ioctl loaded at bf102000
NTFS support included
Hfs+/HfsX support included
Built for: EMC_ix2_2Loading btusb...
Bluetooth: Core ver 2.15
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: Generic Bluetooth USB driver ver 0.5
usbcore: registered new interface driver btusb
## Error: "hwdata" not defined
Initialization complete.
Freeing init memory: 136K
INIT: version 2.88 booting
INIT: /etc/inittab[63]: missing action field
Running file /etc/init.d/rcS
Running file /etc/init.d/rc
Running file /etc/rcS.d/S02hostname.sh
Running file /etc/rcS.d/S02mountkernfs.sh
[FAIL] udev requires a kernel >= 2.6.32, not started ... failed!
failed!
Running file /etc/rcS.d/S04mountdevsubfs.sh
Running file /etc/rcS.d/S07hdparm
[ ok ] Setting parameters of disc: (none).
Running file /etc/rcS.d/S11hwclock.sh
[info] Setting the system clock.
hwclock: The Hardware Clock does not contain a valid time, so we cannot set the System Time from it.
Unable to set system clock.
[warn] Unable to set System Clock to: Thu Aug 1 12:26:32 UTC 1963 ... (warning).
Running file /etc/rcS.d/S12mtab.sh
Running file /etc/init.d/mountkernfs.sh
Running file /etc/init.d/mountkernfs.sh
Running file /etc/init.d/mountdevsubfs.sh
Running file /etc/init.d/mountdevsubfs.sh
Running file /etc/rcS.d/S30checkfs.sh
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck 1.42.5 (29-Jul-2012)
done.
Running file /etc/rcS.d/S30procps
[....] Setting kernel variables ...Running file /etc/rcS.d/S35mountall.sh
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
Running file /etc/rcS.d/S36mountall-bootclean.sh
[ ok ] Cleaning up temporary files... /tmp.
Running file /etc/rcS.d/S36udev-mtab
dhclient host identical
Running file /etc/rcS.d/S40networking
[....] Configuring network interfaces...unionfs: new lower inode ctime (bindex=1, name=if-pre-up.d)
unionfs: new lower inode ctime (bindex=1, name=if-up.d)
done.
Running file /etc/rcS.d/S43rpcbind
[ ok ] Starting rpcbind daemon....
Running file /etc/rcS.d/S44nfs-common
[FAIL] Starting NFS common utilities: statd failed!
Running file /etc/rcS.d/S45mountnfs.sh
Running file /etc/rcS.d/S46mountnfs-bootclean.sh
[ ok ] Cleaning up temporary files....
Running file /etc/rcS.d/S55bootmisc.sh
Running file /etc/rcS.d/S55urandom
INIT: Entering runlevel: 2
Running file /etc/init.d/rc
Running file /etc/rc2.d/S10rsyslog
[ ok ] Starting enhanced syslogd: rsyslogd.
Running file /etc/rc2.d/S12dbus
chown: invalid user: `messagebus'
Running file /etc/rc2.d/S20nfs-common
[FAIL] Starting NFS common utilities: statd failed!
Running file /etc/rc2.d/S20nfs-kernel-server
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
Running file /etc/rc2.d/S20smartmontools
Running file /etc/rc2.d/S20sysfsutils
[ ok ] Setting sysfs variables....
Running file /etc/rc2.d/S23ntp
[....] Starting NTP server: ntpdRunning file /etc/rc2.d/S25bluetooth
[....] Starting bluetooth: bluetoothd rfcommBluetooth: L2CAP ver 2.13
Bluetooth: L2CAP socket layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
. ok
Starting netplugd...
eth0: link down
eth0: started
eth0: link up, full duplex, speed 1 Gbps
ln: failed to create symbolic link `/etc/samba/smb.conf': File exists
Generating RSA Key...
unknown key type rsa1
Starting sshd: OK
hostnamed begin to start...
Checking Netwrok interface link status...
Network Link is Available...
## Error: "hwdata" not defined
hostnamed finished
Starting executord - appmd
export proxy environmental variables
Done.
Running file /etc/rc2.d/S99rc.local
Running file /etc/rc2.d/S99rmnologin
Debian GNU/Linux 7 PNEUDISK ttyS0
PNEUDISK login: Admin
Password:
No directory, logging in with HOME=/
Admin@PNEUDISK:/$ pwd
/
Admin@PNEUDISK:/$ su
Password:
su: Authentication failure
Admin@PNEUDISK:/$
|
Re: HOWTO: Lenovo ix2-dl / Stock U-Boot, boot current kernel, access printenv from Debian, load kernel from GPT ide drive November 24, 2021 03:28PM |
Admin Registered: 14 years ago Posts: 20,031 |
Quote
Updated 26 Sept 2021:
Basic Debian bullseye Kirkwood rootfs for most Kirwood plugs:
|
Dave
Re: HOWTO: Lenovo ix2-dl / Stock U-Boot, boot current kernel, access printenv from Debian, load kernel from GPT ide drive November 24, 2021 08:28PM |
|
Dave
Re: HOWTO: Lenovo ix2-dl / Stock U-Boot, boot current kernel, access printenv from Debian, load kernel from GPT ide drive November 28, 2021 08:46PM |
|
Dave
Re: HOWTO: Lenovo ix2-dl / Stock U-Boot, boot current kernel, access printenv from Debian, load kernel from GPT ide drive November 28, 2021 09:23PM |
|
Re: HOWTO: Lenovo ix2-dl / Stock U-Boot, boot current kernel, access printenv from Debian, load kernel from GPT ide drive November 28, 2021 10:55PM |
Admin Registered: 14 years ago Posts: 20,031 |
Quote
1. Format a new USB drive with a single Ext3 partition, and label it rootfs. If you are running the latest U-Boot for Kirkwood then you can use Ext4. But be aware that Ext4 file system format needs to be "finalized" before it can be used for booting.
2. Mount the drive on a Linux box. cd to top level directory and extract it. It is assuming the USB drive is mounted at /media/sdb1
cd /media/sdb1
tar -xjf Debian-5.13.6-kirkwood-tld-1-rootfs-bodhi.tar.bz2
|
Re: HOWTO: Lenovo ix2-dl / Stock U-Boot, boot current kernel, access printenv from Debian, load kernel from GPT ide drive November 29, 2021 05:31PM |
Registered: 7 years ago Posts: 125 |
|
Dave
Re: HOWTO: Lenovo ix2-dl / Stock U-Boot, boot current kernel, access printenv from Debian, load kernel from GPT ide drive November 30, 2021 09:07AM |