On Fri, 8 Mar 2019, 11:16 PM Leigh Brown, <le...@solinno.co.uk> wrote:
> Hi Chris, > > On 2019-03-07 08:27, Chris Packham wrote: > > This is my series to convert the kirkwood platforms to DM_USB. > > > > I've been testing on an old kirkwood eval board which patch 1 adds. I'd > > really appreciate some testing on other kirkwood platforms. > > > > Chris Packham (12): > > ARM: kirkwood: add db-88f6281-bp board > > ARM: kirkwood: rename KW_CPU_WIN_BASE to MVEBU_CPU_WIN_BASE > > ARM: kirkwood: remove KW_DEFADR_PCI_IO_REMAP > > ARM: kirkwood: switch to using mvebu mbus > > ARM: kirkwood: remove kw_config_adr_windows > > ARM: kirkwood: enable CONFIG_DM_USB on db-88f6281-bp > > ARM: kirkwood: enable CONFIG_DM_USB for {dream,guru,sheeva}plug > > ARM: kirkwood: enable CONFIG_DM_USB for dns325 > > ARM: kirkwood: enable CONFIG_DM_USB for ds109 > > ARM: kirkwood: enable CONFIG_DM_USB for goflexhome > > ARM: kirkwood: enable CONFIG_DM_USB for lschlv2 and lsxhl > > ARM: kirkwood: enable CONFIG_DM_USB for nas220 > > > > arch/arm/dts/kirkwood-db-88f6281-spi.dts | 48 +++++++++ > > arch/arm/dts/kirkwood-db-88f6281.dts | 26 +++++ > > arch/arm/dts/kirkwood-db.dtsi | 94 +++++++++++++++++ > > arch/arm/mach-kirkwood/Kconfig | 4 + > > arch/arm/mach-kirkwood/cpu.c | 73 ++++--------- > > arch/arm/mach-kirkwood/include/mach/cpu.h | 13 ++- > > arch/arm/mach-kirkwood/include/mach/soc.h | 2 +- > > arch/arm/mach-mvebu/Makefile | 1 + > > arch/arm/mach-mvebu/mbus.c | 6 ++ > > board/Marvell/db-88f6281-bp/Kconfig | 12 +++ > > board/Marvell/db-88f6281-bp/MAINTAINERS | 10 ++ > > board/Marvell/db-88f6281-bp/Makefile | 3 + > > board/Marvell/db-88f6281-bp/db-88f6281-bp.c | 103 ++++++++++++++++++ > > board/Marvell/db-88f6281-bp/kwbimage.cfg | 36 +++++++ > > configs/db-88f6281-bp-nand_defconfig | 54 ++++++++++ > > configs/db-88f6281-bp-spi_defconfig | 55 ++++++++++ > > configs/dns325_defconfig | 2 + > > configs/dreamplug_defconfig | 2 + > > configs/ds109_defconfig | 2 + > > configs/goflexhome_defconfig | 2 + > > configs/guruplug_defconfig | 2 + > > configs/lschlv2_defconfig | 2 + > > configs/lsxhl_defconfig | 2 + > > configs/nas220_defconfig | 2 + > > configs/sheevaplug_defconfig | 1 + > > include/configs/db-88f6281-bp.h | 109 ++++++++++++++++++++ > > 26 files changed, 608 insertions(+), 58 deletions(-) > > create mode 100644 arch/arm/dts/kirkwood-db-88f6281-spi.dts > > create mode 100644 arch/arm/dts/kirkwood-db-88f6281.dts > > create mode 100644 arch/arm/dts/kirkwood-db.dtsi > > create mode 100644 board/Marvell/db-88f6281-bp/Kconfig > > create mode 100644 board/Marvell/db-88f6281-bp/MAINTAINERS > > create mode 100644 board/Marvell/db-88f6281-bp/Makefile > > create mode 100644 board/Marvell/db-88f6281-bp/db-88f6281-bp.c > > create mode 100644 board/Marvell/db-88f6281-bp/kwbimage.cfg > > create mode 100644 configs/db-88f6281-bp-nand_defconfig > > create mode 100644 configs/db-88f6281-bp-spi_defconfig > > create mode 100644 include/configs/db-88f6281-bp.h > > I have tested your patches on my Dreamplug on top of the SPI patch and > my patch to fix the cache setup. It looks to be working fine. It boots > from the SD card which is connected via USB. Are there any additional > tests you recommend? > > Tested-by: Leigh Brown <le...@solinno.co.uk> > Awesome thanks. If you happen to have a usb Ethernet adapter it'd be good to try that out but the flash drive is probably enough for the "has this broken anything" test. > MKIMAGE u-boot.kwb > ===================== WARNING ====================== > This board does not use CONFIG_DM_SCSI. Please update > the storage controller to use CONFIG_DM_SCSI before the v2019.07 > release. > Failure to update by the deadline may result in board removal. > See doc/driver-model/MIGRATION.txt for more info. > ==================================================== > CFGCHK u-boot.cfg > leigh@dish:/devel/git-trees/dreamplug/u-boot$ tools/kwboot -b u-boot.kwb > -p -B 115200 -t /dev/ttyUSB0 > Sending boot message. Please reboot the target...\ > Sending boot image... > 0 % > [......................................................................] > 2 % > [......................................................................] > 4 % > [......................................................................] > 7 % > [......................................................................] > 9 % > [......................................................................] > 12 % > [......................................................................] > 14 % > [......................................................................] > 16 % > [......................................................................] > 19 % > [......................................................................] > 21 % > [......................................................................] > 24 % > [......................................................................] > 26 % > [......................................................................] > 28 % > [......................................................................] > 31 % > [......................................................................] > 33 % > [......................................................................] > 36 % > [......................................................................] > 38 % > [......................................................................] > 40 % > [......................................................................] > 43 % > [......................................................................] > 45 % > [......................................................................] > 48 % > [......................................................................] > 50 % > [......................................................................] > 52 % > [......................................................................] > 55 % > [......................................................................] > 57 % > [......................................................................] > 59 % > [......................................................................] > 62 % > [......................................................................] > 64 % > [......................................................................] > 67 % > [......................................................................] > 69 % > [......................................................................] > 71 % > [......................................................................] > 74 % > [......................................................................] > 76 % > [......................................................................] > 79 % > [......................................................................] > 81 % > [......................................................................] > 83 % > [......................................................................] > 86 % > [......................................................................] > 88 % > [......................................................................] > 91 % > [......................................................................] > 93 % > [......................................................................] > 95 % > [......................................................................] > 98 % [.................................................] > [Type Ctrl-\ + c to quit] > > > U-Boot 2019.04-rc3-00016-gf18b7b2798-dirty (Mar 08 2019 - 08:05:45 > +0000) > Marvell-DreamPlug > > SoC: Kirkwood 88F6281_A1 > DRAM: 512 MiB > Loading Environment from SPI Flash... SF: Detected mx25l1606e with page > size 256 Bytes, erase size 4 KiB, total 2 MiB > OK > In: serial > Out: serial > Err: serial > Net: egiga0, egiga1 > 88E1116 Initialized on egiga0 > 88E1116 Initialized on egiga1 > Hit any key to stop autoboot: 0 > => printenv > baudrate=115200 > bootargs=console=ttyS0,115200 root=LABEL=dproot rootdelay=2 ro quiet > bootcmd=usb start;run x_load_uimage x_load_dtb x_load_uinitrd > x_bootm;reset > bootdelay=1 > dtb=kirkwood-dreamplug.dtb > eth1addr=F0:AD:4E:00:7B:A8 > ethact=egiga0 > ethaddr=F0:AD:4E:00:7B:A7 > fdtcontroladdr=1fb907c8 > filesize=4DBFD3 > loaddev=usb 0 > stderr=serial > stdin=serial > stdout=serial > uimage=uImage-4.19.0-2-marvell > uinitrd=uInitrd-4.19.0-2-marvell > x_bootm=bootm 0x6000000 0x6600000 0x6400000 > x_load_dtb=fatload ${loaddev} 0x6400000 ${dtb} > x_load_uimage=fatload ${loaddev} 0x6000000 ${uimage} > x_load_uinitrd=fatload ${loaddev} 0x6600000 ${uinitrd} > > Environment size: 626/4092 bytes > => usb start > starting USB... > USB0: USB EHCI 1.00 > scanning bus 0 for devices... Device NOT ready > Request Sense returned 02 3A 00 > 4 USB Device(s) found > scanning usb for storage devices... 1 Storage Device(s) found > => fatls usb 0 > dodgy/ > 351132 u-boot.kwb > 9949 kirkwood-dreamplug.dtb > 2038528 uImage-4.19.0-2-marvell > 4015832 uInitrd-4.19.0-2-marvell > 1879928 uImage-4.19.7+ > 2746404 uInitrd-4.19.7+ > > 6 file(s), 1 dir(s) > > => boot > 2038528 bytes read in 106 ms (18.3 MiB/s) > 9949 bytes read in 19 ms (510.7 KiB/s) > 4015832 bytes read in 197 ms (19.4 MiB/s) > ## Booting kernel from Legacy Image at 06000000 ... > Image Name: uImage-4.19.0-2-marvell > Created: 2019-02-26 14:27:36 UTC > Image Type: ARM Linux Kernel Image (uncompressed) > Data Size: 2038464 Bytes = 1.9 MiB > Load Address: 00008000 > Entry Point: 00008000 > Verifying Checksum ... OK > ## Loading init Ramdisk from Legacy Image at 06600000 ... > Image Name: uInitrd-4.19.0-2-marvell > Created: 2019-02-26 14:28:44 UTC > Image Type: ARM Linux RAMDisk Image (uncompressed) > Data Size: 4015768 Bytes = 3.8 MiB > Load Address: 00000000 > Entry Point: 00000000 > Verifying Checksum ... OK > ## Flattened Device Tree blob at 06400000 > Booting using the fdt blob at 0x6400000 > Loading Kernel Image ... OK > Loading Ramdisk to 0fc2b000, end 0ffff698 ... OK > Loading Device Tree to 0fc25000, end 0fc2a6dc ... OK > > Starting kernel ... > > Regards, > > Leigh. > _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot