So, i actually have a bounty on that one since i need urgent help with it. I've got a RAC2V1K with Rev9.3 silkscreened on the PCB. it's 256MB only not the 512MB version.
so the thing is it doesn't boot, tried all the steps for the SAC2V1K yet still. the thing is it FREEZES all of a sudden when in U-boot. Even when flashing, that's what it does :
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
############################
done
Bytes transferred = 7077888 (6c0000 hex)
i never get the (IPQ) # after it, it just freezes.. also if i just leave uboot without typing anything it freezes.
tried removing the wifi card and still the same thing... so, i'll be buying another one and i need help in dumping the flash from the second one and reflashing at least the bootloader to the first one. since i suspect it's a uboot corruption ? any other ideas ??
UBI error: cannot initialize UBI, error -22
i have had about 4 of these rac2v1k / sac2v1k devices.
on one of them, i had to remove the serial port wires to continue booting.
i think this has to to do with u-boot boot commands but i'm not sure.
make sure you followed these directions exactly:
setenv serverip 10.42.0.1 (You can use whatever ip you set for the computer)
setenv ipaddr 10.42.0.10 (Can be any ip as long as it's in the same subnet)
setenv bootcmd "if bootipq; then echo a; else setenv mtdids nand0=nand0 && set mtdparts mtdparts=nand0:0xDC00000@0x2400000(firmware) && ubi part firmware && ubi read 0x44000000 kernel 0x6e0000 && bootm; fi"
saveenv
tftpboot initramfs.bin
bootm
did you enter the final 'bootm' command at the u-boot console?
maybe upload your u-boot environment and complete bootlog for more help
they are great devices so don't give up.
i knoww... it doesn't even give me a prompt to type bootm that's the point...
U-Boot 1.0.6 [spf.5.0.2_csu1.1] (Nov 15 2018 - 03:26:55)
smem ram ptable found: ver: 0 len: 5
DRAM: 1003 MiB
setting 0x177e as machine type from smem
NAND: SF: Unsupported manufacturer 00
ipq_spi: SPI Flash not found (bus/cs/speed/mode) = (0/0/48000000/0)
256 MiB
MMC:
*** Warning - bad CRC, using default environment
PCI0 Link Intialized
PCI1 Link Intialized
In: serial
Out: serial
Err: serial
MMC Device 0 not found
cdp: get part failed for 0:HLOS
Net: MAC0 addr:c8:b4:22:3b:7e:28
athrs17_reg_init: complete
athrs17_vlan_config ...done
S17c init done
MAC1 addr:c8:b4:22:3b:7e:29
eth0, eth1
Hit space key to stop autoboot: 0
(IPQ) #
(IPQ) # help
? - alias for 'help'
ar8xxx_dump- Dump ar8xxx registers
base - print or set address offset
bootipq - bootipq from flash device
bootm - boot application image from memory
bootp - boot image via network using BOOTP/TFTP protocol
bootz - boot Linux zImage image from memory
chpart - change active partition
cmp - memory compare
cp - memory copy
crc32 - checksum calculation
dhcp - boot image via network using DHCP/TFTP protocol
dumpipq_data- dumpipq_data crashdump collection from memory
dumpipq_flash_data- dumpipq_flash_data crashdump collection and storing in flash
echo - echo args to console
env - environment handling commands
ethspeed- Force ethernet speed to 10/100/autoneg
exit - exit script
false - do nothing, unsuccessfully
fdt - flattened device tree utility commands
fuseipq - fuse QFPROM registers from memory
go - start application at address 'addr'
help - print command description/usage
i2c - I2C sub-system
iminfo - print header information for application image
imxtract- extract a part of a multi-image
ipq_nand- Switch between SBL and Linux kernel page layout.
loop - infinite loop on address range
md - memory display
mii - MII utility commands
mm - memory modify (auto-incrementing address)
mmc - MMC sub system
mmcinfo - display MMC info
mphyrd - qca8511 packet processor PHY register display
mphyrw - qca8511 packet processor PHY register write (fill)
mprd - qca8511 packet processor register display
mprw - qca8511 packet processor register write (fill)
mtdparts- define flash/nand partitions
mtest - simple RAM read/write test
mtest_ask- askey simple RAM read/write test
mw - memory write (fill)
nand - NAND sub-system
nboot - boot from NAND device
nm - memory modify (constant address)
pci - list and access PCI Configuration Space
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv - set environment variables
sf - SPI flash sub-system
showvar - print local hushshell variables
smeminfo- print SMEM FLASH information
source - run script from memory
test - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
tftpput - TFTP put command, for uploading files to a server
true - do nothing, successfully
uartrd - uartrd from flash device
uartwr - uartwr from flash device
ubi - ubi commands
usb - USB sub-system
usbboot - boot from USB device
version - print monitor, compiler and linker version
wifi_detect- detect wifi device by pci bus
(IPQ) #
? - alias for 'help'
ar8xxx_dump- Dump ar8xxx registers
base - print or set address offset
bootipq - bootipq from flash device
bootm - boot application image from memory
bootp - boot image via network using BOOTP/TFTP protocol
bootz - boot Linux zImage image from memory
chpart - change active partition
cmp - memory compare
cp - memory copy
crc32 - checksum calculation
dhcp - boot image via network using DHCP/TFTP protocol
dumpipq_data- dumpipq_data crashdump collection from memory
dumpipq_flash_data- dumpipq_flash_data crashdump collection and storing in flash
echo - echo args to console
env - environment handling commands
ethspeed- Force ethernet speed to 10/100/autoneg
exit - exit script
false - do nothing, unsuccessfully
fdt - flattened device tree utility commands
fuseipq - fuse QFPROM registers from memory
go - start application at address 'addr'
help - print command description/usage
i2c - I2C sub-system
iminfo - print header information for application image
imxtract- extract a part of a multi-image
ipq_nand- Switch between SBL and Linux kernel page layout.
loop - infinite loop on address range
md - memory display
mii - MII utility commands
mm - memory modify (auto-incrementing address)
mmc - MMC sub system
mmcinfo - display MMC info
mphyrd - qca8511 packet processor PHY register display
mphyrw - qca8511 packet processor PHY register write (fill)
mprd - qca8511 packet processor register display
mprw - qca8511 packet processor register write (fill)
mtdparts- define flash/nand partitions
mtest - simple RAM read/write test
mtest_ask- askey simple RAM read/write test
mw - memory write (fill)
nand - NAND sub-system
nboot - boot from NAND device
nm - memory modify (constant address)
pci - list and access PCI Configuration Space
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv - set environment variables
sf - SPI flash sub-system
showvar - print local hushshell variables
smeminfo- print SMEM FLASH information
source - run script from memory
test - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
tftpput - TFTP put command, for uploading files to a server
true - do nothing, successfully
uartrd - uartrd from flash device
uartwr - uartwr from flash device
ubi - ubi commands
usb - USB sub-system
usbboot - boot from USB device
version - print monitor, compiler and linker version
wifi_detect- detect wifi device by pci bus
(IPQ) #
Unknown command '' - try 'help'
(IPQ) #
Unknown command '' - try 'help'
(IPQ) # help
? - alias for 'help'
ar8xxx_dump- Dump ar8xxx registers
base - print or set address offset
bootipq - bootipq from flash device
bootm - boot application image from memory
bootp - boot image via network using BOOTP/TFTP protocol
bootz - boot Linux zImage image from memory
chpart - change active partition
cmp - memory compare
cp - memory copy
crc32 - checksum calculation
dhcp - boot image via network using DHCP/TFTP protocol
dumpipq_data- dumpipq_data crashdump collection from memory
dumpipq_flash_data- dumpipq_flash_data crashdump collection and storing in flash
echo - echo args to console
env - environment handling commands
ethspeed- Force ethernet speed to 10/100/autoneg
exit - exit script
false - do nothing, unsuccessfully
fdt - flattened device tree utility commands
fuseipq - fuse QFPROM registers from memory
go - start application at address 'addr'
help - print command description/usage
i2c - I2C sub-system
iminfo - print header information for application image
imxtract- extract a part of a multi-image
ipq_nand- Switch between SBL and Linux kernel page layout.
loop - infinite loop on address range
md - memory display
mii - MII utility commands
mm - memory modify (auto-incrementing address)
mmc - MMC sub system
mmcinfo - display MMC info
mphyrd - qca8511 packet processor PHY register display
mphyrw - qca8511 packet processor PHY register write (fill)
mprd - qca8511 packet processor register display
mprw - qca8511 packet processor register write (fill)
mtdparts- define flash/nand partitions
mtest - simple RAM read/write test
mtest_ask- askey simple RAM read/write test
mw - memory write (fill)
nand - NAND sub-system
nboot - boot from NAND device
nm - memory modify (constant address)
pci - list and access PCI Configuration Space
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv - set environment variables
sf - SPI flash sub-system
showvar - print local hushshell variables
smeminfo- print SMEM FLASH information
source - run script from memory
test - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
tftpput - TFTP put command, for uploading files to a server
true - do nothing, successfully
uartrd - uartrd from flash device
uartwr - uartwr from flash device
ubi - ubi commands
usb - USB sub-system
usbboot - boot from USB device
version - print monitor, compiler and linker version
wifi_detect- detect wifi device by pci bus
(IPQ) # mtest
Unknown command 'mtest' - try 'help'
(IPQ) # mtest
Pattern 00000504 Writing... Reading...
(IPQ) #
(IPQ) # iminfo
## Checking Image at 44000000 ...
Unknown image format!
(IPQ) # iminfo
## Checking Image at 44000000 ...
Unknown image format!
(IPQ) # printenv
baudrate=115200
bootargs=console=ttyMSM0,115200n8
bootcmd=bootipq
bootdelay=2
eth1addr=c8:b4:22:3b:7e:29
ethact=eth0
ethaddr=c8:b4:22:3b:7e:28
machid=177e
stderr=serial
stdin=serial
stdout=serial
Environment size: 219/262140 bytes
(IPQ) # reset
resetting ...
Resetting with watch dog!
U-Boot 1.0.6 [spf.5.0.2_csu1.1] (Nov 15 2018 - 03:26:55)
smem ram ptable found: ver: 0 len: 5
DRAM: 1003 MiB
U-Boot 1.0.6 [spf.5.0.2_csu1.1] (Nov 15 2018 - 03:26:55)
smem ram ptable found: ver: 0 len: 5
DRAM: 1003 MiB
setting 0x177e as machine type from smem
NAND: SF: Unsupported manufacturer 00
ipq_spi: SPI Flash not found (bus/cs/speed/mode) = (0/0/48000000/0)
256 MiB
MMC:
*** Warning - bad CRC, using default environment
PCI0 Link Intialized
PCI1 Link Intialized
In: serial
Out: serial
Err: serial
MMC Device 0 not found
cdp: get part failed for 0:HLOS
Net: MAC0 addr:c8:b4:22:3b:7e:28
athrs17_reg_init: complete
athrs17_vlan_config ...done
S17c init done
MAC1 addr:c8:b4:22:3b:7e:29
eth0, eth1
Hit space key to stop autoboot: 0
(IPQ) # help
? - alias for 'help'
ar8xxx_dump- Dump ar8xxx registers
base - print or set address offset
bootipq - bootipq from flash device
bootm - boot application image from memory
bootp - boot image via network using BOOTP/TFTP protocol
bootz - boot Linux zImage image from memory
chpart - change active partition
cmp - memory compare
cp - memory copy
crc32 - checksum calculation
dhcp - boot image via network using DHCP/TFTP protocol
dumpipq_data- dumpipq_data crashdump collection from memory
dumpipq_flash_data- dumpipq_flash_data crashdump collection and storing in flash
echo - echo args to console
env - environment handling commands
ethspeed- Force ethernet speed to 10/100/autoneg
exit - exit script
false - do nothing, unsuccessfully
fdt - flattened device tree utility commands
fuseipq - fuse QFPROM registers from memory
go - start application at address 'addr'
help - print command description/usage
i2c - I2C sub-system
iminfo - print header information for application image
imxtract- extract a part of a multi-image
ipq_nand- Switch between SBL and Linux kernel page layout.
loop - infinite loop on address range
md - memory display
mii - MII utility commands
mm - memory modify (auto-incrementing address)
mmc - MMC sub system
mmcinfo - display MMC info
mphyrd - qca8511 packet processor PHY register display
mphyrw - qca8511 packet processor PHY register write (fill)
mprd - qca8511 packet processor register display
mprw - qca8511 packet processor register write (fill)
mtdparts- define flash/nand partitions
mtest - simple RAM read/write test
mtest_ask- askey simple RAM read/write test
mw - memory write (fill)
nand - NAND sub-system
nboot - boot from NAND device
nm - memory modify (constant address)
pci - list and access PCI Configuration Space
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv - set environment variables
sf - SPI flash sub-system
showvar - print local hushshell variables
smeminfo- print SMEM FLASH information
source - run script from memory
test - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
tftpput - TFTP put command, for uploading files to a server
true - do nothing, successfully
uartrd - uartrd from flash device
uartwr - uartwr from flash device
ubi - ubi commands
usb - USB sub-system
usbboot - boot from USB device
version - print monitor, compiler and linker version
wifi_detect- detect wifi device by pci bus
(IPQ) #
? - alias for 'help'
ar8xxx_dump- Dump ar8xxx registers
base - print or set address offset
bootipq - bootipq from flash device
bootm - boot application image from memory
bootp - boot image via network using BOOTP/TFTP protocol
bootz - boot Linux zImage image from memory
chpart - change active partition
cmp - memory compare
cp - memory copy
crc32 - checksum calculation
dhcp - boot image via network using DHCP/TFTP protocol
dumpipq_data- dumpipq_data crashdump collection from memory
dumpipq_flash_data- dumpipq_flash_data crashdump collection and storing in flash
echo - echo args to console
env - environment handling commands
ethspeed- Force ethernet speed to 10/100/autoneg
exit - exit script
false - do nothing, unsuccessfully
fdt - flattened device tree utility commands
fuseipq - fuse QFPROM registers from memory
go - start application at address 'addr'
help - print command description/usage
i2c - I2C sub-system
iminfo - print header information for application image
imxtract- extract a part of a multi-image
ipq_nand- Switch between SBL and Linux kernel page layout.
loop - infinite loop on address range
md - memory display
mii - MII utility commands
mm - memory modify (auto-incrementing address)
mmc - MMC sub system
mmcinfo - display MMC info
mphyrd - qca8511 packet processor PHY register display
mphyrw - qca8511 packet processor PHY register write (fill)
mprd - qca8511 packet processor register display
mprw - qca8511 packet processor register write (fill)
mtdparts- define flash/nand partitions
mtest - simple RAM read/write test
mtest_ask- askey simple RAM read/write test
mw - memory write (fill)
nand - NAND sub-system
nboot - boot from NAND device
nm - memory modify (constant address)
pci - list and access PCI Configuration Space
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv - set environment variables
sf - SPI flash sub-system
showvar - print local hushshell variables
smeminfo- print SMEM FLASH information
source - run script from memory
test - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
tftpput - TFTP put command, for uploading files to a server
true - do nothing, successfully
uartrd - uartrd from flash device
uartwr - uartwr from flash device
ubi - ubi commands
usb - USB sub-system
usbboot - boot from USB device
version - print monitor, compiler and linker version
wifi_detect- detect wifi device by pci bus
(IPQ) #
flash_type: 0x2
flash_index: 0x0
flash_chip_select: 0x0
flash_block_size: 0x20000
partition table offset 0x0
No.: Name Attributes Start Size
0: 0:SBL1 0x0000ffff 0x0 0x40000
1: 0:MIBIB 0x0000ffff 0x40000 0x140000
2: 0:SBL2 0x0000ffff 0x180000 0x140000
3: 0:SBL3 0x0000ffff 0x2c0000 0x280000
4: 0:DDRCONFIG 0x0000ffff 0x540000 0x120000
5: 0:SSD 0x0000ffff 0x660000 0x120000
6: 0:TZ 0x0000ffff 0x780000 0x280000
7: 0:RPM 0x0000ffff 0xa00000 0x280000
8: 0:APPSBL 0x0000ffff 0xc80000 0x500000
9: 0:APPSBLENV 0x0000ffff 0x1180000 0x80000
10: 0:ART 0x0000ffff 0x1200000 0x140000
11: 0:BOOTCONFIG 0x0000ffff 0x1340000 0x60000
12: 0:SBL2_1 0x0000ffff 0x13a0000 0x140000
13: 0:SBL3_1 0x0000ffff 0x14e0000 0x280000
14: 0:DDRCONFIG_1 0x0000ffff 0x1760000 0x120000
15: 0:SSD_1 0x0000ffff 0x1880000 0x120000
16: 0:TZ_1 0x0000ffff 0x19a0000 0x280000
17: 0:RPM_1 0x0000ffff 0x1c20000 0x280000
18: 0:BOOTCONFIG1 0x0000ffff 0x1ea0000 0x60000
19: 0:APPSBL_1 0x0000ffff 0x1f00000 0x500000
20: rootfs 0x0000ffff 0x2400000 0x6300000
21: rootfs_1 0x0000ffff 0x8700000 0x6300000
22: ubifs 0x0000ffff 0xea00000 0x1600000
(IPQ) # nand read
nand - NAND sub-system
(IPQ) #
(IPQ) #
(IPQ) #
U-Boot 1.0.6 [spf.5.0.2_csu1.1] (Nov 15 2018 - 03:26:55)
smem ram ptable found: ver: 0 len: 5
DRAM: 1003 MiB
setting 0x177e as machine type from smem
NAND: SF: Unsupported manufacturer 00
ipq_spi: SPI Flash not found (bus/cs/speed/mode) = (0/0/48000000/0)
256 MiB
MMC:
*** Warning - bad CRC, using default environment
PCI0 Link Intialized
PCI1 Link Intialized
In: serial
Out: serial
Err: serial
MMC Device 0 not found
cdp: get part failed for 0:HLOS
Net: MAC0 addr:c8:b4:22:3b:7e:28
athrs17_reg_init: complete
athrs17_vlan_config ...done
S17c init done
MAC1 addr:c8:b4:22:3b:7e:29
eth0, eth1
Hit space key to stop autoboot: 0
(IPQ) # setenv serverip 10.42.0.1
(IPQ) # setenv ipaddr 10.42.0.10
(IPQ) # setenv bootcmd "setenv mtdids nand0=nand0 && set mtdparts mtdparts=nand0:0x1A000000@0x2400000(firmware) && ubi part firmware && ubi read 0x44000000 kernel 0x6e0000 && bootm"
(IPQ) # saveenv
Saving Environment to NAND...
Erasing Nand...
Erasing at 0x11e0000 -- 100% complete.
Writing to Nand... done
(IPQ) #
(IPQ) # tftpboot initramfs.bin
Mac0 unit failed
Using eth1 device
TFTP from server 10.42.0.1; our IP address is 10.42.0.10
Filename 'initramfs.bin'.
Load address: 0x44000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
###
done
Bytes transferred = 6716963 (667e23 hex)
U-Boot 1.0.6 [spf.5.0.2_csu1.1] (Nov 15 2018 - 03:26:55)
smem ram ptable found: ver: 0 len: 5
DRAM: 1003 MiB
setting 0x177e as machine type from smem
NAND: SF: Unsupported manufacturer 00
ipq_spi: SPI Flash not found (bus/cs/speed/mode) = (0/0/48000000/0)
256 MiB
MMC:
PCI0 Link Intialized
PCI1 Link Intialized
In: serial
Out: serial
Err: serial
MMC Device 0 not found
cdp: get part failed for 0:HLOS
Net: MAC0 addr:c8:b4:22:3b:7e:28
athrs17_reg_init: complete
athrs17_vlan_config ...done
S17c init done
MAC1 addr:c8:b4:22:3b:7e:29
eth0, eth1
Hit space key to stop autoboot: 0
(IPQ) # 6716963
Unknown command '6716963' - try 'help'
(IPQ) # tftpboot initramfs.bin
Mac0 unit failed
Using eth1 device
TFTP from server 10.42.0.1; our IP address is 10.42.0.10
Filename 'initramfs.bin'.
Load address: 0x44000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
###
done
Bytes transferred = 6716963 (667e23 hex)
U-Boot 1.0.6 [spf.5.0.2_csu1.1] (Nov 15 2018 - 03:26:55)
smem ram ptable found: ver: 0 len: 5
DRAM: 1003 MiB
setting 0x177e as machine type from smem
NAND: SF: Unsupported manufacturer 00
ipq_spi: SPI Flash not found (bus/cs/speed/mode) = (0/0/48000000/0)
256 MiB
MMC:
PCI0 Link Intialized
PCI1 Link Intialized
In: serial
Out: serial
Err: serial
MMC Device 0 not found
cdp: get part failed for 0:HLOS
Net: MAC0 addr:c8:b4:22:3b:7e:28
athrs17_reg_init: complete
athrs17_vlan_config ...done
S17c init done
MAC1 addr:c8:b4:22:3b:7e:29
eth0, eth1
Hit space key to stop autoboot: 0
nand0: partitioning exceeds flash size
Error initializing mtdparts!
(IPQ) # tftpboot initramfs.bin && bootm
Mac0 unit failed
Using eth1 device
TFTP from server 10.42.0.1; our IP address is 10.42.0.10
Filename 'initramfs.bin'.
Load address: 0x44000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
###
done
Bytes transferred = 6716963 (667e23 hex)
U-Boot 1.0.6 [spf.5.0.2_csu1.1] (Nov 15 2018 - 03:26:55)
smem ram ptable found: ver: 0 len: 5
DRAM: 1003 MiB
setting 0x177e as machine type from smem
NAND: SF: Unsupported manufacturer 00
ipq_spi: SPI Flash not found (bus/cs/speed/mode) = (0/0/48000000/0)
256 MiB
MMC:
PCI0 Link Intialized
PCI1 Link Intialized
In: serial
Out: serial
Err: serial
MMC Device 0 not found
cdp: get part failed for 0:HLOS
Net: MAC0 addr:c8:b4:22:3b:7e:28
athrs17_reg_init: complete
athrs17_vlan_config ...done
S17c init done
MAC1 addr:c8:b4:22:3b:7e:29
eth0, eth1
Hit space key to stop autoboot: 0
(IPQ) # setenv bootcmd "setenv mtdids nand0=nand0 && set mtdparts mtdparts=nand0:0xDC00000@0x2400000(firmware) && ubi part firmware && ubi read 0x44000000 kernel 0x6e0000 && bootm"
(IPQ) # saveenv
Saving Environment to NAND...
Erasing Nand...
Erasing at 0x11e0000 -- 100% complete.
Writing to Nand... done
(IPQ) # tftpboot initramfs.bin && bootm
Mac0 unit failed
Using eth1 device
TFTP from server 10.42.0.1; our IP address is 10.42.0.10
Filename 'initramfs.bin'.
Load address: 0x44000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
###
done
Bytes transferred = 6716963 (667e23 hex)
U-Boot 1.0.6 [spf.5.0.2_csu1.1] (Nov 15 2018 - 03:26:55)
smem ram ptable found: ver: 0 len: 5
DRAM: 1003 MiB
setting 0x177e as machine type from smem
NAND: SF: Unsupported manufacturer 00
ipq_spi: SPI Flash not found (bus/cs/speed/mode) = (0/0/48000000/0)
256 MiB
MMC:
PCI0 Link Intialized
PCI1 Link Intialized
In: serial
Out: serial
Err: serial
MMC Device 0 not found
cdp: get part failed for 0:HLOS
Net: MAC0 addr:c8:b4:22:3b:7e:28
athrs17_reg_init: complete
athrs17_vlan_config ...done
S17c init done
MAC1 addr:c8:b4:22:3b:7e:29
eth0, eth1
Hit space key to stop autoboot: 0
Creating 1 MTD partitions on "nand0":
0x000002400000-0x000010000000 : "mtd=0"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 126976 bytes
UBI: smallest flash I/O unit: 2048
UBI: VID header offset: 2048 (aligned 2048)
UBI: data offset: 4096
UBI error: compare_lebs: PEB 2 and PEB 794 have the same version 0
UBI error: ubi_init: cannot attach mtd1
UBI error: ubi_init: UBI error: cannot initialize UBI, error -22
UBI init error 22
U-Boot 1.0.6 [spf.5.0.2_csu1.1] (Nov 15 2018 - 03:26:55)
smem ram ptable found: ver: 0 len: 5
DRAM: 1003 MiB
setting 0x177e as machine type from smem
NAND: SF: Unsupported manufacturer 00
ipq_spi: SPI Flash not found (bus/cs/speed/mode) = (0/0/48000000/0)
256 MiB
MMC:
PCI0 Link Intialized
PCI1 Link Intialized
In: serial
Out: serial
Err: serial
MMC Device 0 not found
cdp: get part failed for 0:HLOS
Net: MAC0 addr:c8:b4:22:3b:7e:28
athrs17_reg_init: complete
athrs17_vlan_config ...done
S17c init done
MAC1 addr:c8:b4:22:3b:7e:29
eth0, eth1
Hit space key to stop autoboot: 0
Creating 1 MTD partitions on "nand0":
0x000002400000-0x000010000000 : "mtd=0"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 126976 bytes
UBI: smallest flash I/O unit: 2048
UBI: VID header offset: 2048 (aligned 2048)
UBI: data offset: 4096
UBI error: compare_lebs: PEB 2 and PEB 794 have the same version 0
UBI error: ubi_init: cannot attach mtd1
UBI error: ubi_init: UBI error: cannot initialize UBI, error -22
UBI init error 22
U-Boot 1.0.6 [spf.5.0.2_csu1.1] (Nov 15 2018 - 03:26:55)
smem ram ptable found: ver: 0 len: 5
DRAM: 1003 MiB
setting 0x177e as machine type from smem
NAND: SF: Unsupported manufacturer 00
ipq_spi: SPI Flash not found (bus/cs/speed/mode) = (0/0/48000000/0)
256 MiB
MMC:
In: serial
Out: serial
Err: serial
MMC Device 0 not found
cdp: get part failed for 0:HLOS
Net: MAC0 addr:c8:b4:22:3b:7e:28
athrs17_reg_init: complete
athrs17_vlan_config ...done
S17c init done
MAC1 addr:c8:b4:22:3b:7e:29
eth0, eth1
Hit space key to stop autoboot: 0
Creating 1 MTD partitions on "nand0":
0x000002400000-0x000010000000 : "mtd=0"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 126976 bytes
UBI: smallest flash I/O unit: 2048
UBI: VID header offset: 2048 (aligned 2048)
UBI: data offset: 4096
UBI error: compare_lebs: PEB 2 and PEB 794 have the same version 0
UBI error: ubi_init: cannot attach mtd1
UBI error: ubi_init: UBI error: cannot initialize UBI, error -22
UBI init error 22
(IPQ) # tftpboot wtf
Mac0 unit failed
Using eth1 device
TFTP from server 10.42.0.1; our IP address is 10.42.0.10
Filename 'wtf'.
Load address: 0x44000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
######################################
done
Bytes transferred = 6270355 (5fad93 hex)
U-Boot 1.0.6 [spf.5.0.2_csu1.1] (Nov 15 2018 - 03:26:55)
smem ram ptable found: ver: 0 len: 5
DRAM: 1003 MiB
setting 0x177e as machine type from smem
NAND: SF: Unsupported manufacturer 00
ipq_spi: SPI Flash not found (bus/cs/speed/mode) = (0/0/48000000/0)
256 MiB
MMC:
In: serial
Out: serial
Err: serial
MMC Device 0 not found
cdp: get part failed for 0:HLOS
Net: MAC0 addr:c8:b4:22:3b:7e:28
athrs17_reg_init: complete
athrs17_vlan_config ...done
S17c init done
MAC1 addr:c8:b4:22:3b:7e:29
eth0, eth1
Hit space key to stop autoboot: 0
Creating 1 MTD partitions on "nand0":
0x000002400000-0x000010000000 : "mtd=0"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 126976 bytes
UBI: smallest flash I/O unit: 2048
UBI: VID header offset: 2048 (aligned 2048)
UBI: data offset: 4096
UBI error: compare_lebs: PEB 2 and PEB 794 have the same version 0
UBI error: ubi_init: cannot attach mtd1
UBI error: ubi_init: UBI error: cannot initialize UBI, error -22
UBI init error 22
(IPQ) # nand erase 0x2400000 0x8000000
NAND erase: device 0 offset 0x2400000, size 0x8000000
Skipping bad block at 0x06560000
Erasing at 0xa3e0000 -- 100% complete.
OK
(IPQ) # tftpboot wtf
Mac0 unit failed
Using eth1 device
TFTP from server 10.42.0.1; our IP address is 10.42.0.10
Filename 'wtf'.
Load address: 0x44000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
######################################
done
Bytes transferred = 6270355 (5fad93 hex)
U-Boot 1.0.6 [spf.5.0.2_csu1.1] (Nov 15 2018 - 03:26:55)
smem ram ptable found: ver: 0 len: 5
DRAM: 1003 MiB
U-Boot 1.0.6 [spf.5.0.2_csu1.1] (Nov 15 2018 - 03:26:55)
smem ram ptable found: ver: 0 len: 5
DRAM: 1003 MiB
setting 0x177e as machine type from smem
NAND: SF: Unsupported manufacturer 00
ipq_spi: SPI Flash not found (bus/cs/speed/mode) = (0/0/48000000/0)
256 MiB
MMC:
In: serial
Out: serial
Err: serial
MMC Device 0 not found
cdp: get part failed for 0:HLOS
Net: MAC0 addr:c8:b4:22:3b:7e:28
athrs17_reg_init: complete
athrs17_vlan_config ...done
S17c init done
MAC1 addr:c8:b4:22:3b:7e:29
eth0, eth1
Hit space key to stop autoboot: 0
Creating 1 MTD partitions on "nand0":
0x000002400000-0x000010000000 : "mtd=0"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 126976 bytes
UBI: smallest flash I/O unit: 2048
UBI: VID header offset: 2048 (aligned 2048)
UBI: data offset: 4096
U{I
is it a RAM problem ? check this out, it freezes when i do the mtest_ask
it looks to me that you have 256MB flash , device type 0x177e.
see this link and thread:
This is a very good format for capturing details of the rac/sac that they have.
Can others on this forum who own these or similar devices, also post information of their devices in the above format, so that it is of collective use for everybody? Thanks.
you will need to flash the sac2v1k firmware I think. you may have erroneous values in your u-boot environment. the linked thread is very long. the gist of it is that there are mnay different subdevices out there and the external labeling does not always correctly identify the device.
1 Like