Hi ynezz,
I load my kernel via TFTP. Did you replace your redboot as
well, i can't load the zImage produced by OE, i get an Unrecognized
image type: 0xe1a00000 error.
for my boot i was using this for the command
load -b 0x00218000 vmlinux
exec -c "console=ttyAM0,115200 ip=192.168.0.50
nfsroot=192.168.0.1:/rootfs"
i've attached the boot output
Thanks
Anish
RedBoot> load -b 0x00218000 vmlinux
Using default protocol (TFTP)
Address offset = 0x00218000
Entry point: 0x00218000, address range: 0x00218000-0x003e2078
RedBoot> exec -c "console=ttyAM0,115200 ip=192.168.0.50
root=/dev/nfs nfsroot=192.168.0.1:/rootfs/"
Using base address 0x00218000 and length 0x001ca078
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Linux version 2.6.36.1 (gcc version
4.3.3 (GCC) ) #1 PREEMPT Sun Dec 5 14:26:25 EST 2010
[ 0.000000] CPU: ARM920T [41129200] revision 0 (ARMv4T),
cr=40007177
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine: Technologic Systems TS-72xx SBC
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping
on. Total pages: 8016
[ 0.000000] Kernel command line: console=ttyAM0,115200
ip=192.168.0.50 root=/dev/nfs nfsroot=192.168.0.1:/rootfs/
[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2,
16384 bytes)
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192
bytes)
[ 0.000000] Memory: 8MB 8MB 8MB 8MB = 32MB total
[ 0.000000] Memory: 28608k/28608k available, 4160k reserved, 0K
highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
[ 0.000000] vmalloc : 0xc6000000 - 0xfe800000 ( 904 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc5800000 ( 88 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .init : 0xc0008000 - 0xc0024000 ( 112 kB)
[ 0.000000] .text : 0xc0024000 - 0xc035f000 (3308 kB)
[ 0.000000] .data : 0xc0376000 - 0xc038f820 ( 103 kB)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU-based detection of stalled CPUs is disabled.
[ 0.000000] Verbose stalled-CPUs detection is disabled.
[ 0.000000] NR_IRQS:120
[ 0.000000] VIC @fefb0000: id 0x00041190, vendor 0x41
[ 0.000000] VIC @fefc0000: id 0x00041190, vendor 0x41
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] Calibrating delay loop... 99.73 BogoMIPS (lpj=498688)
[ 34.700000] pid_max: default: 32768 minimum: 301
[ 34.700000] Security Framework initialized
[ 34.700000] Mount-cache hash table entries: 512
[ 34.700000] CPU: Testing write buffer coherency: ok
[ 34.700000] devtmpfs: initialized
[ 34.710000] NET: Registered protocol family 16
[ 34.710000] ep93xx clock: PLL1 running at 400 MHz, PLL2 at 192
MHz
[ 34.710000] ep93xx clock: FCLK 200 MHz, HCLK 100 MHz, PCLK 50 MHz
[ 34.710000] ep93xx dma_m2p: M2P DMA subsystem initialized
[ 34.710000] ep93xx dma_m2m: M2M DMA subsystem initialized
[ 34.720000] bio: create slab <bio-0> at 0
[ 34.780000] NET: Registered protocol family 2
[ 34.780000] IP route cache hash table entries: 1024 (order: 0,
4096 bytes)
[ 34.780000] TCP established hash table entries: 1024 (order: 1,
8192 bytes)
[ 34.780000] TCP bind hash table entries: 1024 (order: 0, 4096
bytes)
[ 34.780000] TCP: Hash tables configured (established 1024 bind
1024)
[ 34.780000] TCP reno registered
[ 34.780000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 34.780000] UDP-Lite hash table entries: 256 (order: 0, 4096
bytes)
[ 34.780000] NET: Registered protocol family 1
[ 34.790000] RPC: Registered udp transport module.
[ 34.790000] RPC: Registered tcp transport module.
[ 34.790000] RPC: Registered tcp NFSv4.1 backchannel transport
module.
[ 34.790000] JFFS2 version 2.2. (NAND) �� 2001-2006 Red Hat, Inc.
[ 34.790000] msgmni has been set to 55
[ 34.800000] Block layer SCSI generic (bsg) driver version 0.4
loaded (major 254)
[ 34.800000] io scheduler noop registered
[ 34.800000] io scheduler cfq registered (default)
[ 34.800000] Serial: AMBA driver
[ 34.800000] apb:uart1: ttyAM0 at MMIO 0x808c0000 (irq = 52) is a
AMBA
[ 35.130000] console [ttyAM0] enabled
[ 35.140000] apb:uart2: ttyAM1 at MMIO 0x808d0000 (irq = 54) is a
AMBA
[ 35.150000] apb:uart3: ttyAM2 at MMIO 0x808e0000 (irq = 55) is a
AMBA
[ 35.170000] loop: module loaded
On 12/05/10 15:05, Petr Štetiar wrote:
Anish Patel <>
[2010-12-05 11:48:24]:
> Hi All,
Hi,
> I've managed to figure my way around the OE env and
make my own build,
> just one more question. When i try to load the new
zImage via NFS i get
> an unknown image type error. Do i need to compile
just a image file, or
> do i need to recompile and replace the redboot?
how do you load your kernel via NFS? I think, that it's
not possible at all.
How I do it in redboot (for testing I load the kernel via
HTTP)
In redboot on ts72xx I've this
load -v -r -b 0x00218000 -m http -h 192.168.1.90
/~ynezz/zImage-2.6.36-r2-ts72xx.bin
exec -c "console=ttyAM0,115200 ip=192.168.1.10
root=/dev/nfs
nfsroot=192.168.1.90:/home/ynezz/data/devel/oe/ts72xx.git/tmp/deploy/glibc/images/ts72xx/rootfs"
192.168.1.90 is IP of my notebook/server. Hope it helps.
-- ynezz
__._,_.___
__,_._,___
|
|