Welcome! Log In Create A New Profile

Advanced

Help on getting u-boot replacement on stock Buffalo LS-WVL

Posted by protocold 
Help on getting u-boot replacement on stock Buffalo LS-WVL
September 05, 2016 12:58AM
Hi All,

I have managed to get serial working on my buffalo LS-WVL and here attached is the stock u-boot log. Is there a replacement u-boot that I can try with this device?
Attachments:
open | download - 08.jpg (120.4 KB)
Re: Help on getting u-boot replacement on stock Buffalo LS-WVL
September 05, 2016 01:23AM
protocold Wrote:
-------------------------------------------------------
> Hi All,
>
> I have managed to get serial working on my buffalo
> LS-WVL and here attached is the stock u-boot log.
> Is there a replacement u-boot that I can try with
> this device?

Try UART booting with the NSA325 u-boot:

Quote

Last Updated 19 June 2016

I've uploaded 2016.05-tld-1 U-Boot images for Pogo E02, GoFlexNet, GoFlex Home, Dockstar, Pogo V4/Mobile, iConnect, Netgear Stora, Sheevaplug, NSA320, NSA325, NSA310S/320S, NSA310, and HP-T5325.

Important Note: If possible, try to test this boot image with UART booting before flashing to NAND. See davygravy's UART booting using kwboot instruction here in this thread. The latest u-boot image released here should be used for UART booting, if your box is the type that supports it (these do not: Dockstar, Pogo E02, iConnect).

To download ARM kwboot binary for UART booting at Dropbox:
kwboot
md5:
0efd011bdb244436e432a8de33e639a1


Quote

uboot.2016.05-tld-1.nsa325.bodhi.tar
md5:
a1a72c8750a0e5c3993c4f1ef1e71d0e
sha256:
33259fd66a9ebfad9b13359002753844cebe9e976ecd5f719faf71a75fd82cdd

The box is close enough to get it boot with kwboot. However, to build new working u-boot, you will need to get the GPL source from Buffalo manufacturer. And other info such as network chip (proably you can find them at NAS central) ... And post an entire stock serial bootlog if you have one.

I might be able to roll a new u-boot or not, depending on how different the Buffallo LS-WVL from the Zyxel NSA325, and the availability of GPL source.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Help on getting u-boot replacement on stock Buffalo LS-WVL
September 05, 2016 03:13AM
The Buffallo LS-XL is in mainline u-boot. But it is a different SoC! so probably not close.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 2 time(s). Last edit at 09/05/2016 03:16AM by bodhi.
Re: Help on getting u-boot replacement on stock Buffalo LS-WVL
September 12, 2016 05:22AM
just tried kwboot with NSA325 uboot (without USB or hdd), it seems to boot with the attached log. If I want I can break into the NSA325 uboot to get the prompt.

What should I try next?



Edited 2 time(s). Last edit at 09/12/2016 07:41AM by protocold.
Attachments:
open | download - Screenshot_2016-09-12_10-21-13.png (15.1 KB)
Re: Help on getting u-boot replacement on stock Buffalo LS-WVL
September 12, 2016 07:47AM
GPL source for this device is available here:

http://opensource.buffalo.jp/ls-x-140.html
Re: Help on getting u-boot replacement on stock Buffalo LS-WVL
September 12, 2016 10:52AM
Here is the complete stock bootlog:

** LOADER **t
 ** BUFFALO BOARD: MVLSWV LE
 ** Board ID: 0x82

U-Boot 1.1.4 (Jul  6 2011 - 20:16:40) Marvell version: 3.5.3

U-Boot code: 00600000 -> 0066FFF0  BSS: -> 006BF4C0
BUFFALO_BOOTVER=0.26

Soc: 88F6282 A0CPU running @ 1600Mhz L2 running @ 533Mhz
SysClock = 533Mhz , TClock = 200Mhz

DRAM (DDR3) CAS Latency = 7 tRP = 8 tRAS = 20 tRCD=8
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:512 MB
[512kB@f8000000] Flash: 512 kB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


USB 0: host mode
MacicKey = 0x00
buffalo_IsStopAtUbootStatus > MagicKey = 0x00
bfSetMagicKey > Changed to 0x5c from 0x00
HDD0 Power ON
HDD1 Power ON

Marvell Serial ATA Adapter
Integrated Sata device found

HDD is not found
Resetting EthPhy
Net:   egiga0
hit any key to switch tftp boot.
Hit any key to stop autoboot:  0
Hit any key to stop autoboot:  0
** Bad partition 1 **
** Bad partition 1 **
## Booting image at 00100000 ...
Bad Magic Number
### JFFS2 loading '/uImage.buffalo' to 0x100000
Scanning JFFS2 FS: . done.
### JFFS2 load complete: 2726608 bytes loaded to 0x100000
### JFFS2 loading '/initrd.buffalo' to 0x800000
### JFFS2 load complete: 9614969 bytes loaded to 0x800000
## Booting image at 00100000 ...
   Image Name:   Linux-2.6.31.8-svn22059
   Created:      2010-09-13   0:43:03 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2726544 Bytes =  2.6 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 00800000 ...
   Image Name:   initrd
   Created:      2012-03-13   4:11:46 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9614905 Bytes =  9.2 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

Uncompressing Linux......................................................................................................................................................................... done, booting the kernel.
Linux version 2.6.31.8-svn22059 (root@build2.dd-hot24.nas.buffalo.local) (gcc version 4.2.0 20070413 (prerelease)) #67 Mon Sep 13 09:42:55 JST 2010
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: 65024
Kernel command line: console=ttyS0,115200 root=/dev/sda2 rw initrd=0x00800040,12M panic=5 BOOTVER=0.26 mtdparts=nand_mtd:0x1000000(boot),0x1e800000(rootfs),0x800000(reserve) nandboot=yes
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: 235776KB available (4964K code, 269K data, 152K init, 0K highmem)
Hierarchical RCU implementation.
NR_IRQS:128
Console: colour dummy device 80x30
Calibrating delay loop... 1599.07 BogoMIPS (lpj=7995392)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
xor: measuring software checksum speed
   arm4regs  :  1453.600 MB/sec
   8regs     :  1102.400 MB/sec
   32regs    :  1236.400 MB/sec
xor: using function: arm4regs (1453.600 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)-- MVLSWV  Soc: 88F6282 A0 LE

 Detected Tclk 200000000 and SysClk 533333333
MV Buttons Device Load
Marvell USB EHCI Host controller #0: c8040800
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
raid6: int32x1    149 MB/s
raid6: int32x2    175 MB/s
raid6: int32x4    171 MB/s
raid6: int32x8    156 MB/s
raid6: using algorithm int32x2 (175 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: 12288K
rtc mv_rtc: rtc core: registered kw-rtc as rtc0
RTC registered
MICON ctrl (C) BUFFALO INC. V.1.00 installed.
Buffalo Gpio Control Driver (C) BUFFALO INC. Ver.1.00 installed.
Buffalo CPU Inerupts Driver (C) BUFFALO INC. Ver.0.01 alpha1 installed.
Kernel event proc (C) BUFFALO INC. V.1.00 installed.
initial_polarity_val = 0x00030000
initial_polarity_val_high = 0x0001f100
Buffalo GPIO SATA Hotplug Event Driver (C) BUFFALO INC. Ver.1.00 installed.
XOR registered 4 channels
XOR 2nd invalidate WA enabled
cesadev_init(c000fd64)
MV Buttons Driver Load
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
fuse init (API version 7.12)
SGI XFS with ACLs, security attributes, large block/inode numbers, no debug enabled
SGI XFS Quota Management subsystem
msgmni has been set to 485
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 0xf1012000 (irq = 33) is a 16550A
console [ttyS0] enabled
serial8250.1: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
brd: module loaded
loop: module loaded
Integrated Sata device found
mvSataInitAdapter : regVal changed(0x00000010)
IRQ 21/mvSata: IRQF_DISABLED is not guaranteed on shared IRQs
scsi0 : Marvell SCSI to SATA adapter
scsi1 : Marvell SCSI to SATA adapter
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 suBad eraseblock 1287 at 0x00000a0e0000
Bad eraseblock 3718 at 0x00001d0c0000
3 cmdlinepart partitions found on MTD device nand_mtd
Using command line partition definition
Creating 3 MTD partitions on "nand_mtd":
0x000000000000-0x000001000000 : "boot"
0x000001000000-0x00001f800000 : "rootfs"
0x00001f800000-0x000020000000 : "reserve"
mice: PS/2 mouse device common for all mice
Linux telephony interface: v1.00
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
rtc mv_rtc: setting system clock to 2012-08-11 04:21:40 UTC (1344658900)
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: gzip image found at block 0
VFS: Mounted root (ext2 filesystem) on device 1:0.
---- in linuxrc ---
Version 1.00 2008/ 7/ 1
modprobe: FATAL: Could not load /lib/modules/2.6.31.8-svn22059/modules.dep: No such file or directory

hwclock: can't open '/dev/misc/rtc': No such file or directory
Sat Aug 11 13:21:41 JST 2012
WARNING: Couldn't open directory /lib/modules/2.6.31.8-svn22059: No such file or directory
FATAL: Could not open /lib/modules/2.6.31.8-svn22059/modules.dep.temp for writing: No such file or directory
ls: sd*: No such file or directory
ls: sd*: No such file or directory
linuxrc:choose operation (timeout 4[s])
 1:RamRoot other:HddRoot  ? -HddRoot-
/var/tmp/devlink: line 2: sd*=/dev/disk1: No such file or directory
-- rebuild mdadm.conf for BOOT, ROOTFS --
mdadm: cannot open /dev/disk?_1: No such file or directory
mdadm: cannot open /dev/disk?_2: No such file or directory
mdadm: cannot open /dev/disk?_5: No such file or directory
mdadm: No devices listed in conf file were found.
-- setup max error counts --
/sys/block/md0/md/maxerr_cnt is setted to -1
Starting :fscEXT3-fs: unable to read superblock
k_disks(boot) ..EXT2-fs: unable to read superblock
.         [Failed. ]
Starting :mount(boot) ...              EXT3-fs: unable to read superblock
EXT2-fs: unable to read superblock
[Failed. ]
/var/tmp/devlink: line 2: sd*=/dev/disk1: No such file or directory
-- rebuild mdadm.conf for BOOT, ROOTFS --
mdadm: cannot open /dev/disk?_1: No such file or directory
mdadm: cannot open /dev/disk?_2: No such file or directory
mdadm: cEXT3-fs: unable to read superblock
annot open /dev/EXT2-fs: unable to read superblock
disk?_5: No such file or directory
mdadm: No devices listed in EXT3-fs: unable to read superblock
conf file were fEXT2-fs: unable to read superblock
ound.
-- setup max error counts --
/sys/block/md0/md/maxerr_cnt is setted to -1
/sys/block/md1/md/maxerr_cnt is setted to -1
/usr/local/lib/libmd.sh: line 574: /sys/block/md1/md/maxerr_cnt: No such file or directory
/sys/block/md10/md/maxerr_cnt is setted to -1
/usr/local/lib/libmd.sh: line 574: /sys/block/md10/md/maxerr_cnt: No such file or directory
mount: mounting /dev/md1 on /mnt failed: Input/output error
mount: mounting /dev/md1 on /mnt failed: Input/output error
/var/tmp/devlink: line 2: sd*=/dev/disk1: No such file or directory
md: md0 stopped.
mdadm: stopped /md: md1 stopped.
dev/md0
mdadm: stopped /md: md10 stopped.
dev/md1
mdadm: stopped /dev/md10
umount: cannot open /proc/mounts
Freeing init memory: 152K
init started: BusyBox v1.7.0 (2009-04-29 19:12:57 JST)
starting pid 589, tty '': '/etc/init.d/rcS'
--- rcStart (initrd) ---
 * Starting :udev.sh ...
[Success.]
 * Starting :checkroot.sh ... [Success.]
 * Starting :create_devlink.sh ... [Success.]
 * Starting :startSysMd.sh ... [Success.]
 * Starting :errormon.sh ... [Success.]
 * Starting :fwupdate.sh ... [Success.]
 * Starting :check_nandboot.sh ... [Success.]
grep: /tmp/check_nandboot: No such file or directory
 * Starting :closeSysMd.sh ... [Failed. ]
 * Starting :sethostname.sh ... [Success.]
 * Starting :restore_config.sh ... [Success.]
 * Starting :EnablingAutoip.sh ... [Success.]
 * Starting :networking.sh ... eth0: started
** eth0 : networking.sh dhcp fin.
[Success.]
 * Starting :syslog.sh ... [Success.]
 * Starting :kernelmon.sh ... [Success.]
 * Starting :usb.sh ... [Failed. ]
 * Starting :clientUtil_servd.sh ... [Success.]
 * Starting :daemonwatch.sh ... [Success.]
 * Starting :bootcomplete.sh ... bfSetMagicKey > Changed to 0x71 from 0x5c
[Success.]
 * Starting :late_inspection_phase.sh ... [Success.]
starting pid 1474, tty '': '/sbin/getty'

BUFFALO INC. LinkStation series
LS-WVL-EMBA3 login: KERNELMOn (PSW_on)

BUFFALO INC. LinkStation series
LS-WVL-EMBA3 login:

----
Mod edit: use code tag.



Edited 1 time(s). Last edit at 09/12/2016 01:01PM by bodhi.
Re: Help on getting u-boot replacement on stock Buffalo LS-WVL
September 12, 2016 01:08PM
Looks very similar to the NSA325.

Try kwboot with the NSA325 u-boot image again, and with a USB drive and an HDD plugged in. Interrupt u-boot at count down and

usb start
ide reset
and
ping <your router IP address>

Please post serial console log for this.

Also find out which Ethernet chip this box has. It seems this chip it is different from one in the NSA325.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Help on getting u-boot replacement on stock Buffalo LS-WVL
September 12, 2016 02:21PM
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   egiga0
PHY reset timed out
MV88E1318 PHY initialized on egiga0
Hit any key to stop autoboot: 10  9  0 
NSA325> usb start
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
NSA325> ide reset

Reset IDE: ide_preinit failed
NSA325> setenv ipaddr 192.168.1.191
NSA325> ping 192.168.1.1
Using egiga0 device
host 192.168.1.1 is alive
NSA325>

The HDD doesnt spin up at all, USB doesnt seems to work. However ping works.
Re: Help on getting u-boot replacement on stock Buffalo LS-WVL
September 13, 2016 12:52AM
>
> The HDD doesnt spin up at all, USB doesnt seems to
> work. However ping works.

It's a good sign. Meaning the ethernet chip is probably the same one (you need to find out for sure). But, of course, GPIOs are different. So that info must be extracted either from the stock u-boot, or from the reference manual (none available).

Now you know that this NSA325 u-boot can be used for rescue purpose, and also serve as a baseline to build new u-boot.

When I'm done with other things (e.g. Cisco ON100 u-boot) in this forum, this u-boot could be the next one. But right now, I really don't have time to start this yet.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Help on getting u-boot replacement on stock Buffalo LS-WVL
September 13, 2016 10:22AM
The ethernet chip is 88e1318-nnb2. I saw the marking on the chip so this must be it. The only thing left is to work out the GPIO then?



Edited 1 time(s). Last edit at 09/13/2016 10:29AM by protocold.
Re: Help on getting u-boot replacement on stock Buffalo LS-WVL
September 13, 2016 10:53AM
The board printed "MVLSWV"

so I found this from the GPL u-boot source ~/u-boot-1.1.4/board/mv_feroceon/mv_kw/kw_family/boardEnv/mvBoardEnvSpec.c

/****************************** MVLSWV ******************************/
MV_BOARD_MAC_INFO mvlswvInfoBoardMacInfo[] = 
	/* {{MV_BOARD_MAC_SPEED	boardMacSpeed, MV_U8 boardEthSmiAddr}} */
	{
		{BOARD_MAC_SPEED_AUTO, 0x0}
	};

MV_BOARD_GPP_INFO mvlswvInfoBoardGppInfo[] = 
	/* {{MV_BOARD_GPP_CLASS	devClass, MV_U8	gppPinNum}} */
	{
		{BOARD_GPP_HDD_POWER, 8},
		{BOARD_GPP_HDD_POWER, 9},
		{BOARD_GPP_USB_VBUS_EN, 12},
		{BOARD_GPP_FAN_LOW, 16},
		{BOARD_GPP_FAN_HIGH, 17},
		{BOARD_GPP_FUNC_LED, 39},
		{BOARD_GPP_ALARM_LED, 36},
		{BOARD_GPP_INFO_LED, 38},
		{BOARD_GPP_PWR_LED, 40},
		{BOARD_GPP_FAN_LOCK, 43},
		{BOARD_GPP_FUNC_SW, 45},
		{BOARD_GPP_PWR_SW, 46},
		{BOARD_GPP_PWRAUTO_SW, 47},
		{BOARD_GPP_FUNC_RED_LED, 37},
		{BOARD_GPP_UART_EN, 48},
	};

MV_BOARD_MPP_TYPE_INFO mvlswvInfoBoardMppTypeInfo[] = 
	/* {{MV_BOARD_MPP_TYPE_CLASS	boardMppGroup1,
 		MV_BOARD_MPP_TYPE_CLASS	boardMppGroup2}} */
	{
		{MV_BOARD_OTHER, MV_BOARD_OTHER}
	//{MV_BOARD_OTHER,MV_BOARD_RGMII}
	}; 

MV_BOARD_MPP_INFO mvlswvInfoBoardMppConfigValue[] = 
	{{{
	MVLSWV_MPP0_7,
	MVLSWV_MPP8_15,
	MVLSWV_MPP16_23,
	MVLSWV_MPP24_31,
	MVLSWV_MPP32_39,
	MVLSWV_MPP40_47,
	MVLSWV_MPP48_55
	}}};

MV_DEV_CS_INFO mvlswvInfoBoardDeCsInfo[] = 
		/*{deviceCS, params, devType, devWidth}*/			   
		 {
			 {0, N_A, BOARD_DEV_NAND_FLASH, 8},	/* NAND DEV */
			 {1, N_A, BOARD_DEV_SPI_FLASH, 8}	/* SPI DEV */
		 };

#define MVLSWV_BOARD_PCI_IF_NUM			0x0
#define MVLSWV_BOARD_TWSI_DEF_NUM		0x0
#define MVLSWV_BOARD_MAC_INFO_NUM		0x1
#define MVLSWV_BOARD_GPP_INFO_NUM		(sizeof(mvlswvInfoBoardGppInfo)/sizeof(MV_BOARD_GPP_INFO))
#define MVLSWV_BOARD_MPP_GROUP_TYPE_NUM		0x0
#define MVLSWV_BOARD_MPP_CONFIG_NUM		0x1
#define MVLSWV_BOARD_DEVICE_CONFIG_NUM		0x2
#define MVLSWV_BOARD_NAND_READ_PARAMS		0x003E07CF
#define MVLSWV_BOARD_NAND_WRITE_PARAMS		0x000F0F0F
#define MVLSWV_BOARD_NAND_CONTROL		0x01c7D943

MV_BOARD_INFO mvlswvInfo = {
	"MVLSWV",				/* boardName[MAX_BOARD_NAME_LEN] */
	MVLSWV_BOARD_MPP_GROUP_TYPE_NUM,	/* numBoardMppTypeValue */
	mvlswvInfoBoardMppTypeInfo,		/* pBoardMppTypeValue */
	MVLSWV_BOARD_MPP_CONFIG_NUM,		/* numBoardMppConfigValue */
	mvlswvInfoBoardMppConfigValue,		/* pBoardMppConfigValue */
	0,					/* intsGppMaskLow */
	0,					/* intsGppMaskHigh */
	MVLSWV_BOARD_DEVICE_CONFIG_NUM,		/* numBoardDeviceIf */
	mvlsxhInfoBoardDeCsInfo,		/* pDevCsInfo */
	MVLSWV_BOARD_TWSI_DEF_NUM,		/* numBoardTwsiDev */
	NULL,					/* pBoardTwsiDev */
	MVLSWV_BOARD_MAC_INFO_NUM,		/* numBoardMacInfo */
	mvlswvInfoBoardMacInfo,			/* pBoardMacInfo */
	MVLSWV_BOARD_GPP_INFO_NUM,		/* numBoardGppInfo */
	mvlswvInfoBoardGppInfo,			/* pBoardGppInfo */
	0,					/* activeLedsNumber */              
	NULL,					/* pLedGppPin */
	0,					/* ledsPolarity */		
	MVLSWV_OE_LOW,				/* gppOutEnLow */
	MVLSWV_OE_HIGH,				/* gppOutEnHigh */
	MVLSWV_OE_VAL_LOW,			/* gppOutValLow */
	MVLSWV_OE_VAL_HIGH,			/* gppOutValHigh */
	MVLSWV_POLARITY_VAL_LOW,		/* gppPolarityValLow */
	MVLSWV_POLARITY_VAL_HIGH,		/* gppPolarityValHigh */
	NULL,					/* pSwitchInfo */
	MVLSWV_BOARD_NAND_READ_PARAMS,		/* nandFlashReadParams */
	MVLSWV_BOARD_NAND_WRITE_PARAMS,		/* nandFlashWriteParams */
	MVLSWV_BOARD_NAND_CONTROL,		/* nandFlashControl */
};

Is this part of the puzzle?!!
Re: Help on getting u-boot replacement on stock Buffalo LS-WVL
January 24, 2017 10:48AM
any love for this device?
Re: Help on getting u-boot replacement on stock Buffalo LS-WVL
October 15, 2019 02:26PM
Hi I know it has been a long time since you r post, but how did you get the serial to work on your ls-wvl. My LS-WVL doesnt boot anymore and I cannot see why.

regards,
Andreas
Re: Help on getting u-boot replacement on stock Buffalo LS-WVL
October 15, 2019 03:41PM
It's usually pretty difficult to get the serial console working on these devices. I'd also be interested in knowing how to do so on this particular device, a brief search didn't turn up anything for me either.

That said, you can usually recover these device without console output as long as you didn't try flashing the bootloader (or lose power when the firmware updater was flashing it).

Here's a link for recovering the stock firmware:
https://buffalonas.miraheze.org/wiki/Restoring_Stock_Firmware_without_TFTP

Here's a link for installing Debian:
https://buffalonas.miraheze.org/wiki/Installing_Debian_on_Supported_Devices
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: