|
uBoot does not count down in Serial Console (Pogo E02) [SOLVED] April 14, 2013 10:47PM |
Admin Registered: 13 years ago Posts: 18,575 |
U-Boot 2011.12 (Feb 20 2012 - 21:21:59) Pogoplug E02 arm-none-linux-gnueabi-gcc (Sourcery G++ Lite 2009q3-67) 4.4.1 GNU ld (Sourcery G++ Lite 2009q3-67) 2.19.51.20090709 Hit any key to stop autoboot: 10
U-Boot 2011.12 (Feb 20 2012 - 21:21:59) Pogoplug E02 SoC: Kirkwood 88F6281_A0 DRAM: 256 MiB WARNING: Caches not enabled NAND: 128 MiB In: serial Out: serial Err: serial Net: egiga0 88E1116 Initialized on egiga0 Using egiga0 device host 192.168.0.220 is alive
|
Re: uBoot does not count down in Serial Console (Pogo E02) April 15, 2013 04:55PM |
Registered: 13 years ago Posts: 264 |
|
Re: uBoot does not count down in Serial Console (Pogo E02) April 16, 2013 12:18AM |
Admin Registered: 13 years ago Posts: 18,575 |
|
Re: uBoot does not count down in Serial Console (Pogo E02) April 16, 2013 09:50AM |
Registered: 11 years ago Posts: 149 |
U-Boot 2011.12 (Jun 08 2012 - 11:41:39)
Pogoplug E02
SoC: Kirkwood 88F6281_A0
DRAM: 256 MiB
WARNING: Caches not enabled
NAND: 128 MiB
In: serial
Out: serial
Err: serial
Net: egiga0
88E1116 Initialized on egiga0
Using egiga0 device
host ... is alive
U-Boot 2011.12 (Jun 08 2012 - 11:41:39)
Pogoplug E02
arm-none-linux-gnueabi-gcc (Sourcery G++ Lite 2009q3-67) 4.4.1
GNU ld (Sourcery G++ Lite 2009q3-67) 2.19.51.20090709
Hit any key to stop autoboot: 0
(Re)start USB...
USB: Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 6 USB Device(s) found
scanning bus for storage devices... 2 Storage Device(s) found
Loading file "/rescueme" from usb device 0:1 (usbda1)
** File not found /rescueme
.
.
.
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-3.6.11-20130403-141642
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1740328 Bytes = 1.7 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
Image Name: initramfs-3.6.11-20130403-141642
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 6379187 Bytes = 6.1 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel. [ 0.000000] Booting Linux on physical CPU 0 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 3.6.11-20130403-141642 (root@pink) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 PREEMPT Wed Apr 3 15:30:47 CDT 2013 [ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977 [ 0.000000] CPU: VIVT data cache, VIVT instruction cache [ 0.000000] Machine: Pogoplug E02 . . . Debian GNU/Linux 7.0 punk ttyS0 punk login:
|
Re: uBoot does not count down in Serial Console (Pogo E02) April 16, 2013 02:32PM |
Admin Registered: 13 years ago Posts: 18,575 |
mw 0x600000 0 1 usb start ext2load usb 0:1 0x600000 /uboot.pogoplugE02-L2Coff-arcNumFixed.kwb go 0x600200or
mw 0x800000 0 1 usb start ext2load usb 0:1 0x800000 /uboot.pogoplugE02-L2Coff-arcNumFixed.kwb go 0x800200
|
Re: uBoot does not count down in Serial Console (Pogo E02) April 16, 2013 04:42PM |
Registered: 11 years ago Posts: 149 |
|
Re: uBoot does not count down in Serial Console (Pogo E02) April 16, 2013 10:06PM |
Registered: 11 years ago Posts: 149 |
|
Re: uBoot does not count down in Serial Console (Pogo E02) April 16, 2013 11:02PM |
Admin Registered: 13 years ago Posts: 18,575 |
|
Re: uBoot does not count down in Serial Console (Pogo E02) April 16, 2013 11:33PM |
Registered: 11 years ago Posts: 149 |
|
Re: uBoot does not count down in Serial Console (Pogo E02) April 17, 2013 02:13AM |
Admin Registered: 13 years ago Posts: 18,575 |
|
Re: uBoot does not count down in Serial Console (Pogo E02) April 17, 2013 09:37AM |
Registered: 11 years ago Posts: 149 |
|
Re: uBoot does not count down in Serial Console (Pogo E02) April 19, 2013 02:14AM |
Admin Registered: 13 years ago Posts: 18,575 |
#ifndef _KWBIMAGE_H_
#define _KWBIMAGE_H_
#include <stdint.h>
#define KWBIMAGE_MAX_CONFIG ((0x1dc - 0x20)/sizeof(struct reg_config))
#define MAX_TEMPBUF_LEN 32
/* NAND ECC Mode */
#define IBR_HDR_ECC_DEFAULT 0x00
#define IBR_HDR_ECC_FORCED_HAMMING 0x01
#define IBR_HDR_ECC_FORCED_RS 0x02
#define IBR_HDR_ECC_DISABLED 0x03
/* Boot Type - block ID */
#define IBR_HDR_I2C_ID 0x4D
#define IBR_HDR_SPI_ID 0x5A
#define IBR_HDR_NAND_ID 0x8B
#define IBR_HDR_SATA_ID 0x78
#define IBR_HDR_PEX_ID 0x9C
#define IBR_HDR_UART_ID 0x69
#define IBR_DEF_ATTRIB 0x00
enum kwbimage_cmd {
CMD_INVALID,
CMD_BOOT_FROM,
CMD_NAND_ECC_MODE,
CMD_NAND_PAGE_SIZE,
CMD_SATA_PIO_MODE,
CMD_DDR_INIT_DELAY,
CMD_DATA
};
enum kwbimage_cmd_types {
CFG_INVALID = -1,
CFG_COMMAND,
CFG_DATA0,
CFG_DATA1
};
/* typedefs */
typedef struct bhr_t {
uint8_t blockid; /*0 */
uint8_t nandeccmode; /*1 */
uint16_t nandpagesize; /*2-3 */
uint32_t blocksize; /*4-7 */
uint32_t rsvd1; /*8-11 */
uint32_t srcaddr; /*12-15 */
uint32_t destaddr; /*16-19 */
uint32_t execaddr; /*20-23 */
uint8_t satapiomode; /*24 */
uint8_t rsvd3; /*25 */
uint16_t ddrinitdelay; /*26-27 */
uint16_t rsvd2; /*28-29 */
uint8_t ext; /*30 */
uint8_t checkSum; /*31 */
} bhr_t, *pbhr_t;
struct reg_config {
uint32_t raddr;
uint32_t rdata;
};
typedef struct extbhr_t {
uint32_t dramregsoffs;
uint8_t rsrvd1[0x20 - sizeof(uint32_t)];
struct reg_config rcfg[KWBIMAGE_MAX_CONFIG];
uint8_t rsrvd2[7];
uint8_t checkSum;
} extbhr_t, *pextbhr_t;
struct kwb_header {
bhr_t kwb_hdr;
extbhr_t kwb_exthdr;
};
/*
* functions
*/
void init_kwb_image_type (void);
#endif /* _KWBIMAGE_H_ */
|
Re: uBoot does not count down in Serial Console (Pogo E02) April 19, 2013 03:28PM |
Registered: 11 years ago Posts: 149 |
+ /* Zero the first bit at 0x800000 to clear any old image still in RAM after a warm reboot */\ + "usb_load_uimage=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage\0"\
|
Re: uBoot does not count down in Serial Console (Pogo E02) May 04, 2013 06:00PM |
Admin Registered: 13 years ago Posts: 18,575 |
|
Re: uBoot does not count down in Serial Console (Pogo E02) May 04, 2013 11:49PM |
Registered: 11 years ago Posts: 149 |
|
Re: uBoot does not count down in Serial Console (Pogo E02) May 05, 2013 12:34AM |
Admin Registered: 13 years ago Posts: 18,575 |
|
Re: uBoot does not count down in Serial Console (Pogo E02) May 05, 2013 10:10AM |
Registered: 11 years ago Posts: 149 |
|
Re: uBoot does not count down in Serial Console (Pogo E02) May 05, 2013 03:37PM |
Admin Registered: 13 years ago Posts: 18,575 |