Re: UART Booting HowTo for Selected Kirkwood Devices February 27, 2015 04:19AM |
Admin Registered: 13 years ago Posts: 18,896 |
Re: UART Booting HowTo for Selected Kirkwood Devices February 28, 2015 01:06PM |
Registered: 9 years ago Posts: 7 |
Re: UART Booting HowTo for Selected Kirkwood Devices February 28, 2015 02:47PM |
Admin Registered: 13 years ago Posts: 18,896 |
Re: UART Booting HowTo for Selected Kirkwood Devices February 28, 2015 10:16PM |
Registered: 9 years ago Posts: 454 |
Re: UART Booting HowTo for Selected Kirkwood Devices February 28, 2015 11:27PM |
Registered: 9 years ago Posts: 429 |
Robert
Re: UART Booting HowTo for Selected Kirkwood Devices March 31, 2015 09:50AM |
Re: UART Booting HowTo for Selected Kirkwood Devices July 20, 2016 01:43AM |
Registered: 9 years ago Posts: 454 |
Re: UART Booting HowTo for Selected Kirkwood Devices July 20, 2016 03:44AM |
Admin Registered: 13 years ago Posts: 18,896 |
Quote
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).
kwboot -t /dev/ttyUSB0 -b u-boot-db88f6282bp_400ddr3db_uart.binand see
xmodem: Protocol errorUse the up-arrow to recall the command and run it again. Do this as many time as you can until it connects (if the bootROM supports UART booting, it will).
Re: UART Booting HowTo for Selected Kirkwood Devices July 21, 2016 01:38AM |
Registered: 9 years ago Posts: 454 |
Re: UART Booting HowTo for Selected Kirkwood Devices July 21, 2016 02:00AM |
Registered: 9 years ago Posts: 454 |
__ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** MARVELL BOARD: DB-88F6282A-BP LE U-Boot 1.1.4 (Feb 22 2011 - 14:06:09) Marvell version: 3.5.9 - Cisco Plasma U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006D2340 Soc: 88F6282 A1CPU running @ 1600Mhz L2 running @ 533Mhz SysClock = 400Mhz , TClock = 200Mhz DRAM (DDR3) CAS Latency = 6 tRP = 6 tRAS = 15 tRCD=6 DRAM CS[0] base 0x00000000 size 256MB DRAM CS[1] base 0x10000000 size 256MB DRAM Total size 512MB 16bit width Addresses 8M - 0M are saved for the U-Boot usage. Mem malloc Initialization (8M - 7M): Done NAND:512 MB Flash: 0 kB CPU : Marvell Feroceon (Rev 1) Streaming disabled Write allocate disabled Module 0 is RGMII USB 0: host mode PEX 0: interface detected no Link. PEX 1: interface detected no Link. Net: egiga0 [PRIME], egiga1 Hit any key to stop autoboot: 0 Plasma>> help^M ? - alias for 'help' SatR - sample at reset sub-system, relevent for DB only autoscr - run script from memory base - print or set address offset boot - boot default, i.e., run 'bootcmd' bootd - boot default, i.e., run 'bootcmd' bootext2 dev:boot_part1,boot_part2 addr boot_image linux_dev_name bootm - boot application image from memory bootp - boot image via network using BootP/TFTP protocol bubt - Burn an image on the Boot Nand Flash. chpart - change active partition cmp - memory compare cmpm - Compare Memory cp - memory copy cpumap - Display CPU memory mapping settings. crc32 - checksum calculation date - get/set/reset date & time dcache - enable or disable data cache dclk - Display the MV device CLKs. dhcp - invoke DHCP client to obtain IP/boot params diskboot- boot from IDE device echo - echo args to console eeprom - EEPROM sub-system Engineering Test Commanderase - erase FLASH memory ext2load- load binary file from a Ext2 filesystem ext2ls - list files in a directory (default /) factory - install Cisco manufacturing variables into persistent storage fatinfo - print information about filesystem fatload - load binary file from a dos filesystem fatls - list files in a directory (default /) fi - Find value in the memory. flinfo - print FLASH memory information fsinfo - print information about filesystems fsload - load binary file from a filesystem image g - start application at cached address 'addr'(default addr 0x40000) go - start application at address 'addr' help - print online help icache - enable or disable instruction cache icrc32 - checksum calculation ide - IDE sub-system iloop - infinite loop on address range imd - i2c memory display iminfo - print header information for application image imm[.b, .s, .w, .l] - i2c memory modify (auto-incrementing) imw - memory write (fill) inm - memory modify (constant address) iprobe - probe to discover valid I2C chip addresses ir - reading and changing MV internal register values. loop - infinite loop on address range ls - list files in a directory (default /) map - Diasplay address decode windows md - memory display me - PCI master enable Manufacturing Test Commandmm - memory modify (auto-incrementing) mmcinit - init mmc card mp - map PCI BAR mtdparts- define flash/nand partitions mtest - simple RAM test mw - memory write (fill) nand - NAND sub-system nboot - boot from NAND device nbubt - Burn a boot loader image on the Boot Nand Flash. nm - memory modify (constant address) pci - list and access PCI Configuration Space phyRead - Read PCI-E Phy register pciePhyWrite - Write PCI-E Phy register phyRead - Read Phy register phyWrite - Write Phy register ping - send ICMP ECHO_REQUEST to network host printenv- print environment variables protect - enable or disable FLASH write protection rarpboot- boot image via network using RARP/TFTP protocol rcvr - Satrt recovery process (Distress Beacon with TFTP server) reset - Perform RESET of the CPU resetenv - Return all environment variable to default. run - run commands in an environment variable saveenv - save environment variables to persistent storage se - PCI Slave enable setenv - set environment variables sflash - read, write or erase the external SPI Flash. sg - scanning the PHYs status sp - Scan PCI bus. switchRegRead - Read switch register switchRegWrite - Write switch register Temp - read chip Tj temp tftpboot- boot image via network using TFTP protocol usb - USB sub-system usbboot - boot from USB device version - print monitor version Plasma>> Plasma>> printenv^M bootcmd=fsload 0x400000 boot.img;autoscr 0x400000 baudrate=115200 loads_echo=0 ipaddr=192.168.100.4 serverip=64.101.132.99 rootpath=/srv/ubuntu gatewayip=192.168.100.1 netmask=255.255.255.0 mtdparts=mtdparts=nand_mtd:2m(uBoot)ro,2m(dualboot),6m(kernel1),8m(rootfs1),6m(kernel2),8m(rootfs2),470m(datafs),-(misc) mtdids=nand0=nand_mtd partition=nand0,1 mtddevnum=1 mtddevname=dualboot console=console=ttyS0,115200 max_loop=64 bootargs_end=ip=::::DB88FXX81:eth0:none rootfstype=jffs2 nandEcc=1bit run_diag=yes MALLOC_len=1 ethprime=egiga0 bootargs_root=root=/dev/nfs rw 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 eth1mtu=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 ethaddr=64:00:F1:20:E0:DA eth1addr=64:00:F1:20:E0:DB serialNo=DNI15300AL0 hwVer=ON100-K9_V01 stdin=serial stdout=serial stderr=serial mainlineLinux=no enaMonExt=no enaCpuStream=no enaWrAllo=no pexMode=RC disL2Cache=yes 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: 1470/131068 bytes Plasma>> Plasma>> usb^M Usage: usb - USB sub-system Plasma>> usb start^M (Re)start USB... USB: scanning bus for devices... 1 USB Device(s) found Waiting for storage device(s) to settle before scanning... 0 Storage Device(s) found Plasma>>Plasma>> mmcinit^M SDHC found. Card desciption is: Manufacturer: 0x27, OEM "PH" Product name: "SD04G", revision 2.0 Serial number: 2084250414 Manufacturing date: 10/2010 Capacity : 3796 MB Total blocks: 7774208 ( 512 bytes per block) CRC: 0x00, b0 = 0 Plasma>>
ap_failSafeUpdate: .... Format Completed ap_failSafeUpdate: Attempt #1 to retrieve http://failsafe.imageboot.com/failsafe/failsafe.html?model=ON100&mac=64:00:F1:20:E0:DA&serial=DNI15300AL0&pid=ON100-K9&vid=01 ap_failSafeUpdate: Bundle download was successful - in terms of a successful transfer ... ap_failSafeUpdate: Downloaded the bundle fine, but the tar file is corrupt ap_failSafeUpdate: Failed attempt 1 to download the recovery file! ap_failSafeUpdate: Attempt #2 to retrieve http://failsafe.imageboot.com/failsafe/failsafe.html?model=ON100&mac=64:00:F1:20:E0:DA&serial=DNI15300AL0&pid=ON100-K9&vid=01 ap_failSafeUpdate: Bundle download was successful - in terms of a successful transfer ... ap_failSafeUpdate: Downloaded the bundle fine, but the tar file is corrupt ap_failSafeUpdate: Failed attempt 2 to download the recovery file!
Re: UART Booting HowTo for Selected Kirkwood Devices July 21, 2016 02:02AM |
Admin Registered: 13 years ago Posts: 18,896 |
Miko
Re: UART Booting HowTo for Selected Kirkwood Devices August 09, 2016 07:07PM |
Re: UART Booting HowTo for Selected Kirkwood Devices August 10, 2016 12:16AM |
Admin Registered: 13 years ago Posts: 18,896 |
miko
Re: UART Booting HowTo for Selected Kirkwood Devices August 10, 2016 03:18AM |
Re: UART Booting HowTo for Selected Kirkwood Devices August 10, 2016 03:27AM |
Admin Registered: 13 years ago Posts: 18,896 |
miko
Re: UART Booting HowTo for Selected Kirkwood Devices August 10, 2016 03:40AM |
picocom v1.7 port is : /dev/ttyUSB0 flowcontrol : none baudrate is : 115200 parity is : none databits are : 8 escape is : C-a local echo is : no noinit is : no noreset is : no nolock is : no send_cmd is : sz -vv receive_cmd is : rz -vv imap is : omap is : emap is : crcrlf,delbs, Terminal readyI think connection is ok. Should I put my pogoplug to the trash?:(
Re: UART Booting HowTo for Selected Kirkwood Devices August 10, 2016 03:52AM |
Admin Registered: 13 years ago Posts: 18,896 |
picocom v1.7 > > port is : /dev/ttyUSB0 > flowcontrol : none > baudrate is : 115200 > parity is : none > databits are : 8 > escape is : C-a > local echo is : no > noinit is : no > noreset is : no > nolock is : no > send_cmd is : sz -vv > receive_cmd is : rz -vv > imap is : > omap is : > emap is : crcrlf,delbs, > > Terminal ready >> I think connection is ok. Should I put my
miko
Re: UART Booting HowTo for Selected Kirkwood Devices August 10, 2016 04:03AM |
Re: UART Booting HowTo for Selected Kirkwood Devices August 10, 2016 04:06AM |
Admin Registered: 13 years ago Posts: 18,896 |
0 % [+++++++++++++++++xmodem: Bad > message
Re: UART Booting HowTo for Selected Kirkwood Devices August 10, 2016 04:09AM |
Admin Registered: 13 years ago Posts: 18,896 |
miko
Re: UART Booting HowTo for Selected Kirkwood Devices August 10, 2016 04:15AM |
U-Boot 2015.10-tld-1 (Nov 06 2015 - 16:02:55 -0800) Pogoplug V4 SoC: Kirkwood 88F6192_A1 DRAM: 128 MiB (ECC not enabled) WARNING: Caches not enabled NAND: 128 MiB MMC: kwsdio: 0 *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: egiga0 Hit any key to stop autoboot: 0 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 Reset IDE: ide_preinit failed no USB devices available no IDE devices available ** Bad device usb 0 ** ** Bad device usb 0 ** Wrong Image Format for bootm command ERROR: can't get kernel image! resetting ...
Re: UART Booting HowTo for Selected Kirkwood Devices August 10, 2016 04:40AM |
Admin Registered: 13 years ago Posts: 18,896 |
U-Boot 2015.10-tld-1 (Nov 06 2015 - 16:02:55 > -0800) > Pogoplug V4 > > SoC: Kirkwood 88F6192_A1 > DRAM: 128 MiB (ECC not enabled) > WARNING: Caches not enabled > NAND: 128 MiB > MMC: kwsdio: 0 > *** Warning - bad CRC, using default environment > > In: serial > Out: serial > Err: serial > Net: egiga0 > Hit any key to stop autoboot: 0 > 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 > > Reset IDE: ide_preinit failed > > no USB devices available > > no IDE devices available > ** Bad device usb 0 ** > ** Bad device usb 0 ** > Wrong Image Format for bootm command > ERROR: can't get kernel image! > resetting ... >
Quote
4. Create uImage with embedded DTB for booting with older u-boots (2012 or earlier). Skip this step if you have installed the latest U-Boot for Kirkwood (or are installing this u-boot at the same time).
Mike231
Re: UART Booting HowTo for Selected Kirkwood Devices August 31, 2016 07:29AM |
./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2016.05-tld-1.pogo_v4.mtd0.kwb -pI need to do this all the time when I want to use my pogoplug.
usb listI do not know why.
bootfrom sd card I always have output
Wrong Image Format for bootm command. Error: can't get kernel image!I have no idea what I should do to make my pogoplug back to work.
Re: UART Booting HowTo for Selected Kirkwood Devices August 31, 2016 03:48PM |
Admin Registered: 13 years ago Posts: 18,896 |
./kwboot -t -B 115200 > /dev/ttyUSB0 -b > uboot.2016.05-tld-1.pogo_v4.mtd0.kwb -p> I need to do this all the time when I want to use
> usb listI do not know why.
bootfrom sd card I always have
Wrong Image Format for bootm command. > Error: can't get kernel image!> I have no idea what I should do to make my
printenv
mike232
Re: UART Booting HowTo for Selected Kirkwood Devices September 02, 2016 04:26AM |
99 % [....................................] [Type Ctrl-\ + c to quit] U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:41:47 -0700) Pogoplug V4 SoC: Kirkwood 88F6192_A1 DRAM: 128 MiB WARNING: Caches not enabled NAND: 128 MiB MMC: kwsdio: 0 In: serial Out: serial Err: serial Net: egiga0 Hit any key to stop autoboot: 0 Pogov4> printenv arcNumber=3960 baudrate=115200 bootcmd=run bootcmd_uenv; run bootcmd_usb; reset bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi bootcmd_usb=run usb_init; run set_bootargs_usb; run usb_boot; bootdelay=10 console=ttyS0,115200 device=0:1 ethact=egiga0 ethaddr=b6:d0:5e:0f:a1:17 led_error=orange blinking led_exit=green off led_init=green blinking machid=f78 mainlineLinux=yes mtdids=nand0=orion_nand mtdparts=mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root) partition=nand0,2 rootdelay=10 rootfstype=ext2 set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts stderr=serial stdin=serial stdout=serial uenv_import=echo importing envs ...; env import -t 0x810000 uenv_load=usb start; mmc rescan; ide reset; setenv uenv_loaded 0; for devtype in usb mmc ide; do for disknum in 0; do run uenv_read_disk; done; done uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 0x810000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtype part $disknum; then run uenv_read; fi; fi usb_boot=mw 0x800000 0 1; run usb_load_uimage; if run usb_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi usb_init=usb start usb_load_uimage=ext2load usb $device 0x800000 /boot/uImage usb_load_uinitrd=ext2load usb $device 0x1100000 /boot/uInitrd usb_root=/dev/sda1 Environment size: 1574/131068 bytes Pogov4> boot 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 MMC rescan: current device # 0 initialized OK Reset IDE: ide_preinit failed no USB devices available Partition Map for MMC device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 8388608 81ad26b9-01 83 loading envs from mmc 0 ... 98 bytes read in 1089 ms (0 Bytes/s) no IDE devices available importing envs ... ## Info: input data size = 284 = 0x11C ** Bad device usb 0 ** ** Bad device usb 0 ** Wrong Image Format for bootm command ERROR: can't get kernel image! resetting ...
Re: UART Booting HowTo for Selected Kirkwood Devices September 02, 2016 02:46PM |
Admin Registered: 13 years ago Posts: 18,896 |
uboot.2016.05-tld-1.environment
cp -a uboot.2016.05-tld-1.environment /media/sdb1/boot/uEnv.txt sync
mike1234
Re: UART Booting HowTo for Selected Kirkwood Devices September 05, 2016 07:51AM |
sudo ./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2016.05-tld-1.pogo_v4.mtd0.kwb -p Sending boot message. Please reboot the target...\ Sending boot image... 0 % [......................................................................] 1 % [......................................................................] ... 99 % [....................................] [Type Ctrl-\ + c to quit] U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:41:47 -0700) Pogoplug V4 SoC: Kirkwood 88F6192_A1 DRAM: 128 MiB (ECC not enabled) WARNING: Caches not enabled NAND: 128 MiB MMC: kwsdio: 0 In: serial Out: serial Err: serial Net: egiga0 Hit any key to stop autoboot: 0 Pogov4> mmc list kwsdio: 0 (SD) Pogov4> boot 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 MMC rescan: current device # 0 initialized OK Reset IDE: ide_preinit failed no USB devices available Partition Map for MMC device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 8388608 9126a74f-01 83 loading envs from mmc 0 ... 2773 bytes read in 994 ms (2 KiB/s) no IDE devices available importing envs ... ## Info: input data size = 2774 = 0xAD6 ** Bad device usb 0 ** ** Bad device usb 0 ** Wrong Image Format for bootm command ERROR: can't get kernel image! resetting ...
Re: UART Booting HowTo for Selected Kirkwood Devices September 05, 2016 03:35PM |
Admin Registered: 13 years ago Posts: 18,896 |
run bootcmd_uenv printenv boot
mike
Re: UART Booting HowTo for Selected Kirkwood Devices September 06, 2016 08:17AM |
mike
Re: UART Booting HowTo for Selected Kirkwood Devices September 06, 2016 08:31AM |