Date   

[PATCH 1/2] meta-intel: fix symlink typo and QA checks in emgd-driver-bin

tom.zanussi@...
 

From: Tom Zanussi <tom.zanussi@...>

There was a typo in the libEGL.so symlink creation - this fixes it.

It also adds a missing symlink for scope services, and fixes the QA
warnings for 'non-dev package contains symlink .so...'.

Signed-off-by: Tom Zanussi <tom.zanussi@...>
---
.../xorg-xserver/emgd-driver-bin_1.8.bb | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/common/recipes-graphics/xorg-xserver/emgd-driver-bin_1.8.bb b/common/recipes-graphics/xorg-xserver/emgd-driver-bin_1.8.bb
index 8f309c9..88e8a55 100644
--- a/common/recipes-graphics/xorg-xserver/emgd-driver-bin_1.8.bb
+++ b/common/recipes-graphics/xorg-xserver/emgd-driver-bin_1.8.bb
@@ -6,7 +6,7 @@ see the README in meta-crownbay/ for instructions on the (simple) manual \
steps necessary to make the necessary binaries available to this recipe. \
Please do that before building an image."
LICENSE = "Intel-binary-only"
-PR = "r0"
+PR = "r1"

LIC_FILES_CHKSUM = "file://${WORKDIR}/License.txt;md5=b54f01caaf8483b3cb60c0c40f2bf22d"

@@ -15,7 +15,8 @@ FILESPATH = "${FILE_DIRNAME}/emgd-driver-bin-1.8"
SRC_URI = "file://lib \
file://License.txt"

-FILES_${PN} += "${libdir}/dri ${libdir}/xorg/modules/drivers ${libdir}/*.so"
+FILES_${PN} += "${libdir}/dri ${libdir}/xorg/modules/drivers"
+FILES_${PN}-dev += "${libdir}/*.so"
FILES_${PN}-dbg += "${libdir}/xorg/modules/drivers/.debug ${libdir}/dri/.debug"

S = "${WORKDIR}"
@@ -27,9 +28,10 @@ do_install () {
install -m 0755 ${S}/lib/dri/* ${D}${libdir}/dri/
install -m 0755 ${S}/lib/xorg/modules/drivers/* ${D}${libdir}/xorg/modules/drivers/

- ln -sf libEGl.so.1 ${D}${libdir}/libEGl.so
+ ln -sf libEGL.so.1 ${D}${libdir}/libEGL.so
ln -sf libGLES_CM.so.1 ${D}${libdir}/libGLES_CM.so
ln -sf libGLESv2.so.2 ${D}${libdir}/libGLESv2.so
+ ln -sf libEMGDScopeServices.so.1.5.15.3226 ${D}${libdir}/libPVRScopeServices.so
}

LEAD_SONAME = "libEGL.so"
--
1.7.0.4


[PATCH 0/2] meta-intel: emgd updates

tom.zanussi@...
 

From: Tom Zanussi <tom.zanussi@...>

This small patchset fixes a typo and some QA warnings in
emgd-driver-bin_1.8.

It also removes obsolete emgd-1.6 support.

The following changes since commit d286d43b6552dc2abffe7888d726d8b08f77b96c:
Tom Zanussi (1):
meta-intel: update SRCREVs

are available in the git repository at:

git://git.yoctoproject.org/meta-intel.git tzanussi/emgd-1.8-fixes
http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/log/?h=tzanussi/emgd-1.8-fixes

Tom Zanussi (2):
meta-intel: fix symlink typo and QA checks in emgd-driver-bin
meta-crownbay: remove emgd-1.6

.../xorg-xserver/emgd-driver-bin_1.8.bb | 8 ++++--
.../xorg-xserver/emgd-driver-bin_1.6.bb | 25 --------------------
2 files changed, 5 insertions(+), 28 deletions(-)
delete mode 100644 meta-crownbay/recipes-graphics/xorg-xserver/emgd-driver-bin-1.6/.gitignore
delete mode 100644 meta-crownbay/recipes-graphics/xorg-xserver/emgd-driver-bin_1.6.bb


Re: ntpclient compile fail

niqingliang
 

I have added "override" in the head of every CFLAGS/LDFLAGS line, but
error still there.

the link order is a common problem.
-Wl,-lrt ntpclient.o phaselock.o -o ntpclient
should be
ntpclient.o phaselock.o -Wl,-lrt ntpclient

Does poky have some option or some solution for that?
(I build it success on host.)

On Tue, 2011-09-27 at 11:18 +0800, Ni Qingliang wrote:
Hello:
I'm adding ntpclient into my distro.

but build fail, reason is the CFLAGS/LDFLAGS in it's Makefile didn't
take effect.

What can I do?

the original makefile is:
CFLAGS += -fno-strict-aliasing
CFLAGS += -std=c89
CFLAGS += -W -Wall
CFLAGS += -O2
CFLAGS += -DENABLE_DEBUG
CFLAGS += -DENABLE_REPLAY

LDFLAGS += -lrt

all: ntpclient

test: ntpclient
./ntpclient -d -r <test.dat

ntpclient: ntpclient.o phaselock.o

ntpclient.o phaselock.o: ntpclient.h

adjtimex: adjtimex.o

clean:
rm -f ntpclient adjtimex *.o

--
Yi Qingliang
niqingliang@...
http://niqingliang2003.wordpress.com


_______________________________________________
yocto mailing list
yocto@...
https://lists.yoctoproject.org/listinfo/yocto
--
Yi Qingliang
niqingliang@...
http://niqingliang2003.wordpress.com


ntpclient compile fail

niqingliang
 

Hello:
I'm adding ntpclient into my distro.

but build fail, reason is the CFLAGS/LDFLAGS in it's Makefile didn't
take effect.

What can I do?

the original makefile is:
CFLAGS += -fno-strict-aliasing
CFLAGS += -std=c89
CFLAGS += -W -Wall
CFLAGS += -O2
CFLAGS += -DENABLE_DEBUG
CFLAGS += -DENABLE_REPLAY

LDFLAGS += -lrt

all: ntpclient

test: ntpclient
./ntpclient -d -r <test.dat

ntpclient: ntpclient.o phaselock.o

ntpclient.o phaselock.o: ntpclient.h

adjtimex: adjtimex.o

clean:
rm -f ntpclient adjtimex *.o

--
Yi Qingliang
niqingliang@...
http://niqingliang2003.wordpress.com


Re: rootfs-ramdisk error

niqingliang
 

maybe not only similar, but same:)

curious, the issue disappeared, what I can remeber is reconfigured the
busybox.
maybe another thing is rebuilded all.

before that, I have added debug code in udhcpc's script, and found that:
mkdir /etc/AAAAA will fail
but
cd /etc
mkdir ./AAAAA will success.
maybe that is a clue, but I can't reproduce the problem.:(

the IMAGE_ROOTFS_SIZE is 16M, only used about 11M.
I have looked the source code of the poky, it will use the bigger one in
(ROOTFS_SIZE and 1.3 * real_size) by default.

On Tue, 2011-09-27 at 06:22 +0800, McClintock Matthew-B29882 wrote:
2011/9/26 Matthew McClintock <msm@...>:
Have you checked your rootfs itself to see how much free space is
left? You could mount it in loopback on your build machine to check.

There are some vars within poky that determine the rootfs size, grep
for IMAGE_ROOTFS_SIZE.
I'm actually seeing a similiar issue at the moment:

Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such
file or directory
bootlogd.
tar: can't open '/etc/dev.tar': No space left on device
/etc/rcS.d/S37populate-volatile.sh: line 40: /etc/volatile.cache: No
space left on device
/etc/rcS.d/S37populate-volatile.sh: line 40: /etc/volatile.cache: No
space left on device
/etc/rcS.d/S37populate-volatile.sh: line 40: /etc/volatile.cache: No
space left on device
/etc/rcS.d/S37populate-volatile.sh: line 40: /etc/volatile.cache: No
space left on device
/etc/rcS.d/S37populate-volatile.sh: line 40: /etc/volatile.cache: No
space left on device
/etc/rcS.d/S37populate-volatile.sh: line 40: /etc/volatile.cache: No
space left on device
/etc/rcS.d/S37populate-volatile.sh: line 25: /etc/volatile.cache: No
space left on device
/etc/rcS.d/S37populate-volatile.sh: line 25: /etc/volatile.cache: No
space left on device
/etc/rcS.d/S37populate-volatile.sh: line 52: /etc/volatile.cache: No
space left on device
/etc/rcS.d/S37populate-volatile.sh: line 25: /etc/volatile.cache: No
space left on device
/etc/rcS.d/S37populate-volatile.sh: line 25: /etc/volatile.cache: No
space left on device
Configuring network interfaces... ADDRCONF(NETDEV_UP): eth0: link is not ready
udhcpc (v1.18.5) started
Sending discover...
Sending discover...
Sending discover...
No lease, failing
done.
INIT: Entering runlevel: 5postin


-M
--
Yi Qingliang
niqingliang@...
http://niqingliang2003.wordpress.com


Re: rootfs-ramdisk error

McClintock Matthew-B29882 <B29882@...>
 

2011/9/26 Matthew McClintock <msm@...>:
Have you checked your rootfs itself to see how much free space is
left? You could mount it in loopback on your build machine to check.

There are some vars within poky that determine the rootfs size, grep
for IMAGE_ROOTFS_SIZE.
I'm actually seeing a similiar issue at the moment:

Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such
file or directory
bootlogd.
tar: can't open '/etc/dev.tar': No space left on device
/etc/rcS.d/S37populate-volatile.sh: line 40: /etc/volatile.cache: No
space left on device
/etc/rcS.d/S37populate-volatile.sh: line 40: /etc/volatile.cache: No
space left on device
/etc/rcS.d/S37populate-volatile.sh: line 40: /etc/volatile.cache: No
space left on device
/etc/rcS.d/S37populate-volatile.sh: line 40: /etc/volatile.cache: No
space left on device
/etc/rcS.d/S37populate-volatile.sh: line 40: /etc/volatile.cache: No
space left on device
/etc/rcS.d/S37populate-volatile.sh: line 40: /etc/volatile.cache: No
space left on device
/etc/rcS.d/S37populate-volatile.sh: line 25: /etc/volatile.cache: No
space left on device
/etc/rcS.d/S37populate-volatile.sh: line 25: /etc/volatile.cache: No
space left on device
/etc/rcS.d/S37populate-volatile.sh: line 52: /etc/volatile.cache: No
space left on device
/etc/rcS.d/S37populate-volatile.sh: line 25: /etc/volatile.cache: No
space left on device
/etc/rcS.d/S37populate-volatile.sh: line 25: /etc/volatile.cache: No
space left on device
Configuring network interfaces... ADDRCONF(NETDEV_UP): eth0: link is not ready
udhcpc (v1.18.5) started
Sending discover...
Sending discover...
Sending discover...
No lease, failing
done.
INIT: Entering runlevel: 5postin


-M


Re: Minutes: Yocto Technical Team Meeting - (Tuesday, September 20, 2011 8:00 AM-9:00 AM (UTC-08:00) Pacific Time (US & Canada))

Liu, Song <song.liu@...>
 

Hi Saul/Mark, would you guys please help clarifying this? We also need to document this in the release note.

Song

-----Original Message-----
From: McClintock Matthew-B29882 [mailto:B29882@...]
Sent: Monday, September 26, 2011 11:42 AM
To: Liu, Song
Cc: McClintock Matthew-B29882; Hatle, Mark; yocto@...
Subject: Re: [yocto] Minutes: Yocto Technical Team Meeting - (Tuesday, September 20, 2011 8:00 AM-9:00 AM (UTC-08:00) Pacific Time (US & Canada))

On Wed, Sep 21, 2011 at 11:08 AM, Liu, Song <song.liu@...> wrote:
Matthew, I believe Mark fixed this problem.

Mark, would you please confirm that?
prelinking is not working on powerpc64 currently. Is it known to be
working well on other 64bit machines?

-M


Re: Minutes: Yocto Technical Team Meeting - (Tuesday, September 20, 2011 8:00 AM-9:00 AM (UTC-08:00) Pacific Time (US & Canada))

McClintock Matthew-B29882 <B29882@...>
 

On Wed, Sep 21, 2011 at 11:08 AM, Liu, Song <song.liu@...> wrote:
Matthew, I believe Mark fixed this problem.

Mark, would you please confirm that?
prelinking is not working on powerpc64 currently. Is it known to be
working well on other 64bit machines?

-M


Release Status

Richard Purdie
 

[Cross posted as I think there are two interested parties in this
information]

Things have been a little chaotic recently and I wish they could have
been different. We've just had to make the best of them however and I do
think things are coming together. Things were not helped by the fact I
was travelling last week and distracted by the commitments that
involved.

We have branched both OE-Core and Yocto and master is now open for
normal business again. I'm trying to catch up on the patch backlog,
anyone creating pull requests of sets of outstanding changes would help
me a lot there but failing that I'll continue to work through things as
quickly as I can. I've tried to pick up the simpler and more obvious
patches to keep the queue under control.

We're at -rc3 with the rc3 builds having just completed. The builds
themselves were mostly successful (greenest build yet certainly) and I
think the failed tasks are autobuilder issues rather than metadata/build
system ones but we'll be working to confirm that. The QA team will be
testing the result of that build this week.

Feature wise, testing is showing there are issues in some of the
stranger multilib combinations but that standard ones do work. Hob is
showing some issues but many of the bugs we originally found have been
fixed. There are also still a strong stream of general bug fixes coming
in.

We are likely going to run a -rc4 build in two weeks, the week delay
being due to the holiday in China where the Yocto QA team is based. This
means we do slip from the release date we had in mind but this gives us
a little more runway to fix any remaining key issues.

At this point given the problems we've had getting all the combinations
we build to work, I'm reluctant to take more than the bare essential
fixes for -rc4 but we'll see how things look on the rc3 QA report.

I'd urge people to continue fixing bugs. We're seeing the "quality" of
master improving a lot with removal of a ton of QA warnings, unpackaged
files and so forth with bugs being dug into, debugged and resolved and
many good things happening. If there are a load of changes which don't
make the release, its possible we may end up taking those into a point
release. At present the Yocto bug trends are not looking very positive
but I'm optimistic that even if issues are reported, if we do debug them
and have known fixes that is a better position to be in than not having
them available.

I was feeling quite nervous about things but I'm feeling things are more
under control now. Lets hope this is true as we await the -rc3 test
reports! :)

Cheers,

Richard


Re: rootfs-ramdisk error

McClintock Matthew-B29882 <B29882@...>
 

Have you checked your rootfs itself to see how much free space is
left? You could mount it in loopback on your build machine to check.

There are some vars within poky that determine the rootfs size, grep
for IMAGE_ROOTFS_SIZE.

-M

On Mon, Sep 26, 2011 at 12:03 AM, Ni Qingliang
<niqingliang@...> wrote:
If changed to jffs2, the resolv.conf error disappear.

On Mon, 2011-09-26 at 10:57 +0800, 倪庆亮 wrote:
no luck, maybe it is not the order, problem still there.
and I can't find the /etc/resolv.conf after login.

the console log section:

Checking for -/etc/resolv.conf-.
Creating link -/etc/resolv.conf- pointing to -/var/run/resolv.conf-.
Checking for -/etc/resolv.conf-.
Creating link -/etc/resolv.conf- pointing to -/var/run/resolv.conf-.
Configuring network interfaces... udhcpc (v1.18.5) started
Sending discover...
PHY: mdio@e0024520:02 - Link is Up - 100/Full
Sending discover...
Sending select for 192.168.0.108...
Lease of 192.168.0.108 obtained, lease time 604800
/etc/udhcpc.d/50default: line 63: /etc/resolv.conf: No space left on
device
adding dns 192.168.0.1
/etc/udhcpc.d/50default: line 67: /etc/resolv.conf: No space left on
device
done.



On Mon, 2011-09-26 at 09:45 +0800, 倪庆亮 wrote:
for resolv.conf, maybe /etc/resolv.conf and /var/run/resolv.conf are
misordered.

in 00_core:
l root root 0644 /etc/resolv.conf /var/run/resolv.conf
f root root 0644 /var/run/resolv.conf none

if no /var/run/resolv.conf, does the first line can be success??

maybe we should change the order to:

f root root 0644 /var/run/resolv.conf none
l root root 0644 /etc/resolv.conf /var/run/resolv.conf



On Mon, 2011-09-26 at 09:41 +0800, 倪庆亮 wrote:
I'm using ramdisk, and get some error when booting, the udhcpc can't
write resolv.conf (No space left on device) and the rpm-postinsts fail.

my analysis:
for the former, I only find some info in ./default/volatiles/00_core,
the /etc/resolv.conf is a link to /var/run/resolv.conf, but I have no
idea about udhcpd's error.

for the latter, rpm-postinsts, the reason is: in rpm-postinsts, all sh
files have been executed, and moved to *.done,
(through /etc/rcS.d/S98configure), but /etc/rcS.d/S98configure have not
been deleted, so it is executed again when booting, but there is no any
*.sh file, so fail. ( as expected, if the /etc/rpm-postinsts/*.sh is
moved to *.sh.done, the /etc/rcS.d/S98configure should be deleted, but
it does exist in the rootfs)

the content of /etc/rcS.d/S98configure is:
for i in /etc/rpm-postinsts/*.sh; do
echo "Running postinst $i..."
if [ -f $i ] && sh $i; then
# rm $i
mv $i $i.done
else
echo "ERROR: postinst $i failed."
fi
done
rm -f /etc/rcS.d/S98configure
I think the for sentence is not so robust as expected when no any *.sh
files.



1. the bootargs in uboot is
root=/dev/ram rw ramdisk_size=65535 console=ttyS1,115200
2. the image type is
ext2.gz.u-boot
3. the `df` after login:
root@xx~#df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 16275 11121 4335 72% /
devtmpfs 127664 112 127552 0% /dev
none 127664 112 127552 0% /dev
tmpfs 127664 20 127644 0% /var/volatile
tmpfs 127664 0 127664 0% /media/ram

the rootfs size is 16M, and the ext2.gz.u-boot is 4.1M.

4. indeed, I have encountered one similar problem when using LTIB, that
is:
after login, I can't find the /dev/mtdX, I don't know detail of the
udev, so I checked the auto mount devfs in kernel config, and so get the
expected.

5. the bootlog is:
## Booting kernel from Legacy Image at fc100000 ...
Image Name: Linux-3.0.4
Created: 2011-09-21 8:45:32 UTC
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 2262322 Bytes = 2.2 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at fc500000 ...
Image Name: core-image-sa735-sa735-201109230
Created: 2011-09-23 3:35:58 UTC
Image Type: PowerPC Linux RAMDisk Image (gzip compressed)
Data Size: 4311933 Bytes = 4.1 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at fc0e0000
Booting using the fdt blob at 0xfc0e0000
Uncompressing Kernel Image ... OK
Loading Ramdisk to 0faf5000, end 0ff11b7d ... OK
Loading Device Tree to 007fa000, end 007ff4ed ... OK
Using MPC831x RDB machine description
Linux version 3.0.4 (ll@myhost) (gcc version 4.6.1 20110627 (prerelease)
(GCC) ) #1 Wed Sep 21 16:45:26 CST 2011
Found initrd at 0xcfaf5000:0xcff11b7d
bootconsole [udbg0] enabled
setup_arch: bootmem
mpc831x_rdb_setup_arch()
Found FSL PCI host bridge at 0x00000000e0008500. Firmware bus number:
0->0
PCI host bridge /pci@e0008500 (primary) ranges:
MEM 0x0000000090000000..0x000000009fffffff -> 0x0000000090000000
MEM 0x0000000080000000..0x000000008fffffff -> 0x0000000080000000
Prefetch
IO 0x00000000e0300000..0x00000000e03fffff -> 0x0000000000000000
arch: exit
Zone PFN ranges:
DMA 0x00000000 -> 0x00010000
Normal empty
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0x00000000 -> 0x00010000
Built 1 zonelists in Zone order, mobility grouping on. Total pages:
65024
Kernel command line: root=/dev/ram rw ramdisk_size=65535
console=ttyS1,115200
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 249928k/262144k available (4392k kernel code, 12216k reserved,
156k data, 1111k bss, 172k init)
Kernel virtual memory layout:
* 0xfffdf000..0xfffff000 : fixmap
* 0xfdefd000..0xfe000000 : early ioremap
* 0xd1000000..0xfdefd000 : vmalloc & ioremap
NR_IRQS:512 nr_irqs:512 16
IPIC (128 IRQ sources) at d1000700
clocksource: timebase mult[7800001] shift[22] registered
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
devtmpfs: initialized
NET: Registered protocol family 16

PCI: Probing PCI hardware
bio: create slab <bio-0> at 0
Freescale Elo / Elo Plus DMA driver
vgaarb: loaded
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource timebase
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
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (no cpio magic); looks like an initrd
Freeing initrd memory: 4212k freed
WDT driver for MPC8xxx initialized. mode:reset timeout=65535 (32
seconds)
fsl-elo-dma e00082a8.dma: #0 (fsl,elo-dma-channel), irq 71
fsl-elo-dma e00082a8.dma: #1 (fsl,elo-dma-channel), irq 71
fsl-elo-dma e00082a8.dma: #2 (fsl,elo-dma-channel), irq 71
fsl-elo-dma e00082a8.dma: #3 (fsl,elo-dma-channel), irq 71
JFFS2 version 2.2. (NAND) (c) 2001-2006 Red Hat, Inc.
msgmni has been set to 498
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xe0004500 (irq = 16) is a 16550A
serial8250.0: ttyS1 at MMIO 0xe0004600 (irq = 17) is a 16550A
console [ttyS1] enabled, bootconsole disabled
console [ttyS1] enabled, bootconsole disabled
Freescale QUICC Engine UART device driver
brd: module loaded
loop: module loaded
fc000000.flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer
ID 0x000089 Chip ID 0x00227e
Amd/Fujitsu Extended Query Table at 0x0040
Amd/Fujitsu Extended Query version 1.3.
number of CFI chips: 1
Creating 7 MTD partitions on "fc000000.flash":
0x0000000c0000-0x0000000e0000 : "NOR (RO) Platform Version Info"
0x0000000e0000-0x000000100000 : "NOR (RO) Device Tree Blob"
0x000000100000-0x000000500000 : "NOR (RO) Linux Kernel Image"
0x000000500000-0x000002000000 : "NOR (RO) Ramdisk Root File System"
0x000002000000-0x000004000000 : "NOR (RW) JFFS2 User File System"
0x000000000000-0x000000080000 : "NOR (RO) U-Boot Image"
0x000000080000-0x0000000a0000 : "NOR (RO) U-Boot Environment"
Fixed MDIO Bus: probed
eth0: Gianfar Ethernet Controller Version 1.2, 04:00:00:00:00:0a
eth0: Running with NAPI enabled
eth0: RX BD ring size for Q[0]: 256
eth0: TX BD ring size for Q[0]: 256
eth1: Gianfar Ethernet Controller Version 1.2, 04:00:00:00:00:0b
eth1: Running with NAPI enabled
eth1: RX BD ring size for Q[0]: 256
eth1: TX BD ring size for Q[0]: 256
ucc_geth: QE UCC Gigabit Ethernet Controller
Freescale PowerQUICC MII Bus: probed
Freescale PowerQUICC MII Bus: probed
usbmon: debugfs is not available
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
i2c /dev entries driver
mpc-i2c e0003000.i2c: timeout 1000000 us
at24 0-0050: 256 byte 24c02 EEPROM, writable, 1 bytes/write
rtc-ds1374 0-0068: rtc core: registered ds1374 as rtc0
at24 0-0051: 256 byte 24c02 EEPROM, writable, 1 bytes/write
pcf857x: probe of 0-0021 failed with error -5
lm75 0-0048: hwmon0: sensor 'tcn75'
lm75: probe of 0-0049 failed with error -5
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
oprofile: using timer interrupt.
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 17
NET: Registered protocol family 15
Registering the dns_resolver key type
rtc-ds1374 0-0068: setting system clock to 2011-09-22 12:17:13 UTC
(1316693833)
RAMDISK: gzip image found at block 0
VFS: Mounted root (ext2 filesystem) on device 1:0.
devtmpfs: mounted
Freeing unused kernel memory: 172k init
INIT: version 2.88 booting
Starting udev
Starting Bootlog daemon: bootlogd.
Configuring network interfaces... udhcpc (v1.18.5) started
Sending discover...
PHY: mdio@e0024520:02 - Link is Up - 100/Full
Sending discover...
Sending select for 192.168.0.108...
Lease of 192.168.0.108 obtained, lease time 604800
/etc/udhcpc.d/50default: line 63: /etc/resolv.conf: No space left on
device
adding dns 192.168.0.1
/etc/udhcpc.d/50default: line 67: /etc/resolv.conf: No space left on
device
done.
Fri Sep 23 03:35:00 UTC 2011
Running postinst /etc/rpm-postinsts/*.sh...
ERROR: postinst /etc/rpm-postinsts/*.sh failed.
INIT: Entering runlevel: 5
Starting internet superserver: inetd.
Starting syslogd/klogd: done
Stopping Bootlog daemon: bootlogd.


Re: Eclipse Plugin 1.1-M4

Jack Mitchell <ml@...>
 

On 24/09/2011 03:22, Lu, Lianhao wrote:
Hi Jack,

-----Original Message-----
From: yocto-bounces@...
[mailto:yocto-bounces@...] On Behalf Of Jack Mitchell
Sent: Friday, September 23, 2011 10:13 PM
To: yocto@...
Subject: Re: [yocto] Eclipse Plugin 1.1-M4

On 23/09/2011 15:02, Jack Mitchell wrote:
I am trying to get the latest plugin working with Eclipse Indigo and
have followed the instructions listed here:

http://permalink.gmane.org/gmane.linux.embedded.yocto.general/2596

The instructions all work fine until I point Eclipse to a local git
clone of the EclipsePlugin directory. When I try to install the plugin
I recieve this error message:

Cannot complete the install because one or more required items could
not be found.
Software being installed: Yocto Plugin for Eclipse 1.1.0.qualifier
(org.yocto.sdk.feature.group 1.1.0.qualifier)
Missing requirement: Yocto Plugin for Eclipse 1.1.0.qualifier
(org.yocto.sdk.feature.group 1.1.0.qualifier) requires
'org.yocto.sdk.source.feature.group 0.0.0' but it could not be found

Could anyone shed any light on the situation?
How did you build out the plugin? You many try out using the scripts/build.sh to build the 1.1M4 plugin upon your own Indigo.
ECLIPSE_HOME=<dir where you installed your Indigo> scripts/build.sh 1.1M4<your release name>
You should find the file org.yocto.sdk-<your release name>-<date>-archive.zip after a successful build. Please try install that archive zip file and see if it works.

Regards,
Jack.
Ok, I managed to get it installed by adding the 1.0 repository so that it could
find the'group' it was looking for. When installed I then tried to alter the
preferences and promtly recieved this message:
Do you mean you installed the 1.0 plugin? I don't think 1.0 plugin would work with Indigo.

Unable to create the selected preference page.
org.yocto.sdk.ide.preferences.YoctoSDKPreferencePage

Screenshot: http://i.imgur.com/Ieibg.png

If I try to create a project using the yocto plugin it throws a nullPointer error -
am I missing something here or are there still issues to be ironed out on the
new 1.1 git?
_______________________________________________
yocto mailing list
yocto@...
https://lists.yoctoproject.org/listinfo/yocto
Hi Lu,

Thank you for your input, I managed to get it going to some extent with help from zhang in IRC, the method I am using at the moment is adding the projects to my workspace and launching the project as a plugin. I am now however fighting with tun/tap qemu issues, it's never easy is it!

Again, thank you for your help!

Jack.


Re: rootfs-ramdisk error

niqingliang
 

If changed to jffs2, the resolv.conf error disappear.

On Mon, 2011-09-26 at 10:57 +0800, 倪庆亮 wrote:
no luck, maybe it is not the order, problem still there.
and I can't find the /etc/resolv.conf after login.

the console log section:

Checking for -/etc/resolv.conf-.
Creating link -/etc/resolv.conf- pointing to -/var/run/resolv.conf-.
Checking for -/etc/resolv.conf-.
Creating link -/etc/resolv.conf- pointing to -/var/run/resolv.conf-.
Configuring network interfaces... udhcpc (v1.18.5) started
Sending discover...
PHY: mdio@e0024520:02 - Link is Up - 100/Full
Sending discover...
Sending select for 192.168.0.108...
Lease of 192.168.0.108 obtained, lease time 604800
/etc/udhcpc.d/50default: line 63: /etc/resolv.conf: No space left on
device
adding dns 192.168.0.1
/etc/udhcpc.d/50default: line 67: /etc/resolv.conf: No space left on
device
done.



On Mon, 2011-09-26 at 09:45 +0800, 倪庆亮 wrote:
for resolv.conf, maybe /etc/resolv.conf and /var/run/resolv.conf are
misordered.

in 00_core:
l root root 0644 /etc/resolv.conf /var/run/resolv.conf
f root root 0644 /var/run/resolv.conf none

if no /var/run/resolv.conf, does the first line can be success??

maybe we should change the order to:

f root root 0644 /var/run/resolv.conf none
l root root 0644 /etc/resolv.conf /var/run/resolv.conf



On Mon, 2011-09-26 at 09:41 +0800, 倪庆亮 wrote:
I'm using ramdisk, and get some error when booting, the udhcpc can't
write resolv.conf (No space left on device) and the rpm-postinsts fail.

my analysis:
for the former, I only find some info in ./default/volatiles/00_core,
the /etc/resolv.conf is a link to /var/run/resolv.conf, but I have no
idea about udhcpd's error.

for the latter, rpm-postinsts, the reason is: in rpm-postinsts, all sh
files have been executed, and moved to *.done,
(through /etc/rcS.d/S98configure), but /etc/rcS.d/S98configure have not
been deleted, so it is executed again when booting, but there is no any
*.sh file, so fail. ( as expected, if the /etc/rpm-postinsts/*.sh is
moved to *.sh.done, the /etc/rcS.d/S98configure should be deleted, but
it does exist in the rootfs)

the content of /etc/rcS.d/S98configure is:
for i in /etc/rpm-postinsts/*.sh; do
echo "Running postinst $i..."
if [ -f $i ] && sh $i; then
# rm $i
mv $i $i.done
else
echo "ERROR: postinst $i failed."
fi
done
rm -f /etc/rcS.d/S98configure
I think the for sentence is not so robust as expected when no any *.sh
files.



1. the bootargs in uboot is
root=/dev/ram rw ramdisk_size=65535 console=ttyS1,115200
2. the image type is
ext2.gz.u-boot
3. the `df` after login:
root@xx~#df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 16275 11121 4335 72% /
devtmpfs 127664 112 127552 0% /dev
none 127664 112 127552 0% /dev
tmpfs 127664 20 127644 0% /var/volatile
tmpfs 127664 0 127664 0% /media/ram

the rootfs size is 16M, and the ext2.gz.u-boot is 4.1M.

4. indeed, I have encountered one similar problem when using LTIB, that
is:
after login, I can't find the /dev/mtdX, I don't know detail of the
udev, so I checked the auto mount devfs in kernel config, and so get the
expected.

5. the bootlog is:
## Booting kernel from Legacy Image at fc100000 ...
Image Name: Linux-3.0.4
Created: 2011-09-21 8:45:32 UTC
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 2262322 Bytes = 2.2 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at fc500000 ...
Image Name: core-image-sa735-sa735-201109230
Created: 2011-09-23 3:35:58 UTC
Image Type: PowerPC Linux RAMDisk Image (gzip compressed)
Data Size: 4311933 Bytes = 4.1 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at fc0e0000
Booting using the fdt blob at 0xfc0e0000
Uncompressing Kernel Image ... OK
Loading Ramdisk to 0faf5000, end 0ff11b7d ... OK
Loading Device Tree to 007fa000, end 007ff4ed ... OK
Using MPC831x RDB machine description
Linux version 3.0.4 (ll@myhost) (gcc version 4.6.1 20110627 (prerelease)
(GCC) ) #1 Wed Sep 21 16:45:26 CST 2011
Found initrd at 0xcfaf5000:0xcff11b7d
bootconsole [udbg0] enabled
setup_arch: bootmem
mpc831x_rdb_setup_arch()
Found FSL PCI host bridge at 0x00000000e0008500. Firmware bus number:
0->0
PCI host bridge /pci@e0008500 (primary) ranges:
MEM 0x0000000090000000..0x000000009fffffff -> 0x0000000090000000
MEM 0x0000000080000000..0x000000008fffffff -> 0x0000000080000000
Prefetch
IO 0x00000000e0300000..0x00000000e03fffff -> 0x0000000000000000
arch: exit
Zone PFN ranges:
DMA 0x00000000 -> 0x00010000
Normal empty
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0x00000000 -> 0x00010000
Built 1 zonelists in Zone order, mobility grouping on. Total pages:
65024
Kernel command line: root=/dev/ram rw ramdisk_size=65535
console=ttyS1,115200
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 249928k/262144k available (4392k kernel code, 12216k reserved,
156k data, 1111k bss, 172k init)
Kernel virtual memory layout:
* 0xfffdf000..0xfffff000 : fixmap
* 0xfdefd000..0xfe000000 : early ioremap
* 0xd1000000..0xfdefd000 : vmalloc & ioremap
NR_IRQS:512 nr_irqs:512 16
IPIC (128 IRQ sources) at d1000700
clocksource: timebase mult[7800001] shift[22] registered
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
devtmpfs: initialized
NET: Registered protocol family 16

PCI: Probing PCI hardware
bio: create slab <bio-0> at 0
Freescale Elo / Elo Plus DMA driver
vgaarb: loaded
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource timebase
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
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (no cpio magic); looks like an initrd
Freeing initrd memory: 4212k freed
WDT driver for MPC8xxx initialized. mode:reset timeout=65535 (32
seconds)
fsl-elo-dma e00082a8.dma: #0 (fsl,elo-dma-channel), irq 71
fsl-elo-dma e00082a8.dma: #1 (fsl,elo-dma-channel), irq 71
fsl-elo-dma e00082a8.dma: #2 (fsl,elo-dma-channel), irq 71
fsl-elo-dma e00082a8.dma: #3 (fsl,elo-dma-channel), irq 71
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 498
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xe0004500 (irq = 16) is a 16550A
serial8250.0: ttyS1 at MMIO 0xe0004600 (irq = 17) is a 16550A
console [ttyS1] enabled, bootconsole disabled
console [ttyS1] enabled, bootconsole disabled
Freescale QUICC Engine UART device driver
brd: module loaded
loop: module loaded
fc000000.flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer
ID 0x000089 Chip ID 0x00227e
Amd/Fujitsu Extended Query Table at 0x0040
Amd/Fujitsu Extended Query version 1.3.
number of CFI chips: 1
Creating 7 MTD partitions on "fc000000.flash":
0x0000000c0000-0x0000000e0000 : "NOR (RO) Platform Version Info"
0x0000000e0000-0x000000100000 : "NOR (RO) Device Tree Blob"
0x000000100000-0x000000500000 : "NOR (RO) Linux Kernel Image"
0x000000500000-0x000002000000 : "NOR (RO) Ramdisk Root File System"
0x000002000000-0x000004000000 : "NOR (RW) JFFS2 User File System"
0x000000000000-0x000000080000 : "NOR (RO) U-Boot Image"
0x000000080000-0x0000000a0000 : "NOR (RO) U-Boot Environment"
Fixed MDIO Bus: probed
eth0: Gianfar Ethernet Controller Version 1.2, 04:00:00:00:00:0a
eth0: Running with NAPI enabled
eth0: RX BD ring size for Q[0]: 256
eth0: TX BD ring size for Q[0]: 256
eth1: Gianfar Ethernet Controller Version 1.2, 04:00:00:00:00:0b
eth1: Running with NAPI enabled
eth1: RX BD ring size for Q[0]: 256
eth1: TX BD ring size for Q[0]: 256
ucc_geth: QE UCC Gigabit Ethernet Controller
Freescale PowerQUICC MII Bus: probed
Freescale PowerQUICC MII Bus: probed
usbmon: debugfs is not available
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
i2c /dev entries driver
mpc-i2c e0003000.i2c: timeout 1000000 us
at24 0-0050: 256 byte 24c02 EEPROM, writable, 1 bytes/write
rtc-ds1374 0-0068: rtc core: registered ds1374 as rtc0
at24 0-0051: 256 byte 24c02 EEPROM, writable, 1 bytes/write
pcf857x: probe of 0-0021 failed with error -5
lm75 0-0048: hwmon0: sensor 'tcn75'
lm75: probe of 0-0049 failed with error -5
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
oprofile: using timer interrupt.
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 17
NET: Registered protocol family 15
Registering the dns_resolver key type
rtc-ds1374 0-0068: setting system clock to 2011-09-22 12:17:13 UTC
(1316693833)
RAMDISK: gzip image found at block 0
VFS: Mounted root (ext2 filesystem) on device 1:0.
devtmpfs: mounted
Freeing unused kernel memory: 172k init
INIT: version 2.88 booting
Starting udev
Starting Bootlog daemon: bootlogd.
Configuring network interfaces... udhcpc (v1.18.5) started
Sending discover...
PHY: mdio@e0024520:02 - Link is Up - 100/Full
Sending discover...
Sending select for 192.168.0.108...
Lease of 192.168.0.108 obtained, lease time 604800
/etc/udhcpc.d/50default: line 63: /etc/resolv.conf: No space left on
device
adding dns 192.168.0.1
/etc/udhcpc.d/50default: line 67: /etc/resolv.conf: No space left on
device
done.
Fri Sep 23 03:35:00 UTC 2011
Running postinst /etc/rpm-postinsts/*.sh...
ERROR: postinst /etc/rpm-postinsts/*.sh failed.
INIT: Entering runlevel: 5
Starting internet superserver: inetd.
Starting syslogd/klogd: done
Stopping Bootlog daemon: bootlogd.


--
Yi Qingliang
niqingliang@...
http://niqingliang2003.wordpress.com

--
Yi Qingliang
niqingliang@...
http://niqingliang2003.wordpress.com

--
Yi Qingliang
niqingliang@...
http://niqingliang2003.wordpress.com

--
Yi Qingliang
niqingliang@...
http://niqingliang2003.wordpress.com


[PATCH][KERNEL] eg20t: update config options

tom.zanussi@...
 

From: Tom Zanussi <tom.zanussi@...>

Some of the eg20t options have been renamed or are obsolete, change
accordingly.

Signed-off-by: Tom Zanussi <tom.zanussi@...>
---
meta/cfg/kernel-cache/features/eg20t/eg20t.cfg | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)

diff --git a/meta/cfg/kernel-cache/features/eg20t/eg20t.cfg b/meta/cfg/kernel-cache/features/eg20t/eg20t.cfg
index 225581c..d579e00 100644
--- a/meta/cfg/kernel-cache/features/eg20t/eg20t.cfg
+++ b/meta/cfg/kernel-cache/features/eg20t/eg20t.cfg
@@ -1,10 +1,6 @@
# Hardware support for the Platform Controller Hub EG20T

CONFIG_PCH_DMA=y
-CONFIG_PCH_UART_DMA=y
-CONFIG_SERIAL_8250_PCI=y
-CONFIG_SERIAL_8250_PCH=y
-CONFIG_SERIAL_8250_PCH_DMA=y

CONFIG_SERIAL_PCH_UART=y
CONFIG_SERIAL_CORE=y
@@ -21,19 +17,16 @@ CONFIG_NETDEVICES=y
CONFIG_NETDEV_1000=y
CONFIG_PCH_GBE=y

-CONFIG_PCH_USBDEV=y
+CONFIG_USB_EG20T=y
CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_EG20T=y
CONFIG_USB_GADGET_DUALSPEED=y
-CONFIG_USB_GADGET_SELECTED=y

CONFIG_I2C_EG20T=y

CONFIG_GPIOLIB=y
CONFIG_GPIO_PCH=y

-CONFIG_PCH_IEEE1588=y
-
CONFIG_CAN=y
CONFIG_CAN_DEV=y
CONFIG_PCH_CAN=y
--
1.7.0.4


[PATCH][KERNEL] update eg20t options

tom.zanussi@...
 

From: Tom Zanussi <tom.zanussi@...>

Some fixes for config_check warnings.

Please pull into linux-yocto-3.0/meta.

Pull URL: git://git.pokylinux.org/linux-yocto-2.6.37-contrib
Branch: tzanussi/eg20-cfg-cleanup
Browse: http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-2.6.37-contrib/log/?h=tzanussi/eg20-cfg-cleanup

Tom Zanussi (1):
eg20t: update config options

meta/cfg/kernel-cache/features/eg20t/eg20t.cfg | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)


Re: rootfs-ramdisk error

niqingliang
 

no luck, maybe it is not the order, problem still there.
and I can't find the /etc/resolv.conf after login.

the console log section:

Checking for -/etc/resolv.conf-.
Creating link -/etc/resolv.conf- pointing to -/var/run/resolv.conf-.
Checking for -/etc/resolv.conf-.
Creating link -/etc/resolv.conf- pointing to -/var/run/resolv.conf-.
Configuring network interfaces... udhcpc (v1.18.5) started
Sending discover...
PHY: mdio@e0024520:02 - Link is Up - 100/Full
Sending discover...
Sending select for 192.168.0.108...
Lease of 192.168.0.108 obtained, lease time 604800
/etc/udhcpc.d/50default: line 63: /etc/resolv.conf: No space left on
device
adding dns 192.168.0.1
/etc/udhcpc.d/50default: line 67: /etc/resolv.conf: No space left on
device
done.

On Mon, 2011-09-26 at 09:45 +0800, 倪庆亮 wrote:
for resolv.conf, maybe /etc/resolv.conf and /var/run/resolv.conf are
misordered.

in 00_core:
l root root 0644 /etc/resolv.conf /var/run/resolv.conf
f root root 0644 /var/run/resolv.conf none

if no /var/run/resolv.conf, does the first line can be success??

maybe we should change the order to:

f root root 0644 /var/run/resolv.conf none
l root root 0644 /etc/resolv.conf /var/run/resolv.conf



On Mon, 2011-09-26 at 09:41 +0800, 倪庆亮 wrote:
I'm using ramdisk, and get some error when booting, the udhcpc can't
write resolv.conf (No space left on device) and the rpm-postinsts fail.

my analysis:
for the former, I only find some info in ./default/volatiles/00_core,
the /etc/resolv.conf is a link to /var/run/resolv.conf, but I have no
idea about udhcpd's error.

for the latter, rpm-postinsts, the reason is: in rpm-postinsts, all sh
files have been executed, and moved to *.done,
(through /etc/rcS.d/S98configure), but /etc/rcS.d/S98configure have not
been deleted, so it is executed again when booting, but there is no any
*.sh file, so fail. ( as expected, if the /etc/rpm-postinsts/*.sh is
moved to *.sh.done, the /etc/rcS.d/S98configure should be deleted, but
it does exist in the rootfs)

the content of /etc/rcS.d/S98configure is:
for i in /etc/rpm-postinsts/*.sh; do
echo "Running postinst $i..."
if [ -f $i ] && sh $i; then
# rm $i
mv $i $i.done
else
echo "ERROR: postinst $i failed."
fi
done
rm -f /etc/rcS.d/S98configure
I think the for sentence is not so robust as expected when no any *.sh
files.



1. the bootargs in uboot is
root=/dev/ram rw ramdisk_size=65535 console=ttyS1,115200
2. the image type is
ext2.gz.u-boot
3. the `df` after login:
root@xx~#df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 16275 11121 4335 72% /
devtmpfs 127664 112 127552 0% /dev
none 127664 112 127552 0% /dev
tmpfs 127664 20 127644 0% /var/volatile
tmpfs 127664 0 127664 0% /media/ram

the rootfs size is 16M, and the ext2.gz.u-boot is 4.1M.

4. indeed, I have encountered one similar problem when using LTIB, that
is:
after login, I can't find the /dev/mtdX, I don't know detail of the
udev, so I checked the auto mount devfs in kernel config, and so get the
expected.

5. the bootlog is:
## Booting kernel from Legacy Image at fc100000 ...
Image Name: Linux-3.0.4
Created: 2011-09-21 8:45:32 UTC
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 2262322 Bytes = 2.2 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at fc500000 ...
Image Name: core-image-sa735-sa735-201109230
Created: 2011-09-23 3:35:58 UTC
Image Type: PowerPC Linux RAMDisk Image (gzip compressed)
Data Size: 4311933 Bytes = 4.1 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at fc0e0000
Booting using the fdt blob at 0xfc0e0000
Uncompressing Kernel Image ... OK
Loading Ramdisk to 0faf5000, end 0ff11b7d ... OK
Loading Device Tree to 007fa000, end 007ff4ed ... OK
Using MPC831x RDB machine description
Linux version 3.0.4 (ll@myhost) (gcc version 4.6.1 20110627 (prerelease)
(GCC) ) #1 Wed Sep 21 16:45:26 CST 2011
Found initrd at 0xcfaf5000:0xcff11b7d
bootconsole [udbg0] enabled
setup_arch: bootmem
mpc831x_rdb_setup_arch()
Found FSL PCI host bridge at 0x00000000e0008500. Firmware bus number:
0->0
PCI host bridge /pci@e0008500 (primary) ranges:
MEM 0x0000000090000000..0x000000009fffffff -> 0x0000000090000000
MEM 0x0000000080000000..0x000000008fffffff -> 0x0000000080000000
Prefetch
IO 0x00000000e0300000..0x00000000e03fffff -> 0x0000000000000000
arch: exit
Zone PFN ranges:
DMA 0x00000000 -> 0x00010000
Normal empty
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0x00000000 -> 0x00010000
Built 1 zonelists in Zone order, mobility grouping on. Total pages:
65024
Kernel command line: root=/dev/ram rw ramdisk_size=65535
console=ttyS1,115200
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 249928k/262144k available (4392k kernel code, 12216k reserved,
156k data, 1111k bss, 172k init)
Kernel virtual memory layout:
* 0xfffdf000..0xfffff000 : fixmap
* 0xfdefd000..0xfe000000 : early ioremap
* 0xd1000000..0xfdefd000 : vmalloc & ioremap
NR_IRQS:512 nr_irqs:512 16
IPIC (128 IRQ sources) at d1000700
clocksource: timebase mult[7800001] shift[22] registered
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
devtmpfs: initialized
NET: Registered protocol family 16

PCI: Probing PCI hardware
bio: create slab <bio-0> at 0
Freescale Elo / Elo Plus DMA driver
vgaarb: loaded
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource timebase
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
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (no cpio magic); looks like an initrd
Freeing initrd memory: 4212k freed
WDT driver for MPC8xxx initialized. mode:reset timeout=65535 (32
seconds)
fsl-elo-dma e00082a8.dma: #0 (fsl,elo-dma-channel), irq 71
fsl-elo-dma e00082a8.dma: #1 (fsl,elo-dma-channel), irq 71
fsl-elo-dma e00082a8.dma: #2 (fsl,elo-dma-channel), irq 71
fsl-elo-dma e00082a8.dma: #3 (fsl,elo-dma-channel), irq 71
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 498
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xe0004500 (irq = 16) is a 16550A
serial8250.0: ttyS1 at MMIO 0xe0004600 (irq = 17) is a 16550A
console [ttyS1] enabled, bootconsole disabled
console [ttyS1] enabled, bootconsole disabled
Freescale QUICC Engine UART device driver
brd: module loaded
loop: module loaded
fc000000.flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer
ID 0x000089 Chip ID 0x00227e
Amd/Fujitsu Extended Query Table at 0x0040
Amd/Fujitsu Extended Query version 1.3.
number of CFI chips: 1
Creating 7 MTD partitions on "fc000000.flash":
0x0000000c0000-0x0000000e0000 : "NOR (RO) Platform Version Info"
0x0000000e0000-0x000000100000 : "NOR (RO) Device Tree Blob"
0x000000100000-0x000000500000 : "NOR (RO) Linux Kernel Image"
0x000000500000-0x000002000000 : "NOR (RO) Ramdisk Root File System"
0x000002000000-0x000004000000 : "NOR (RW) JFFS2 User File System"
0x000000000000-0x000000080000 : "NOR (RO) U-Boot Image"
0x000000080000-0x0000000a0000 : "NOR (RO) U-Boot Environment"
Fixed MDIO Bus: probed
eth0: Gianfar Ethernet Controller Version 1.2, 04:00:00:00:00:0a
eth0: Running with NAPI enabled
eth0: RX BD ring size for Q[0]: 256
eth0: TX BD ring size for Q[0]: 256
eth1: Gianfar Ethernet Controller Version 1.2, 04:00:00:00:00:0b
eth1: Running with NAPI enabled
eth1: RX BD ring size for Q[0]: 256
eth1: TX BD ring size for Q[0]: 256
ucc_geth: QE UCC Gigabit Ethernet Controller
Freescale PowerQUICC MII Bus: probed
Freescale PowerQUICC MII Bus: probed
usbmon: debugfs is not available
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
i2c /dev entries driver
mpc-i2c e0003000.i2c: timeout 1000000 us
at24 0-0050: 256 byte 24c02 EEPROM, writable, 1 bytes/write
rtc-ds1374 0-0068: rtc core: registered ds1374 as rtc0
at24 0-0051: 256 byte 24c02 EEPROM, writable, 1 bytes/write
pcf857x: probe of 0-0021 failed with error -5
lm75 0-0048: hwmon0: sensor 'tcn75'
lm75: probe of 0-0049 failed with error -5
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
oprofile: using timer interrupt.
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 17
NET: Registered protocol family 15
Registering the dns_resolver key type
rtc-ds1374 0-0068: setting system clock to 2011-09-22 12:17:13 UTC
(1316693833)
RAMDISK: gzip image found at block 0
VFS: Mounted root (ext2 filesystem) on device 1:0.
devtmpfs: mounted
Freeing unused kernel memory: 172k init
INIT: version 2.88 booting
Starting udev
Starting Bootlog daemon: bootlogd.
Configuring network interfaces... udhcpc (v1.18.5) started
Sending discover...
PHY: mdio@e0024520:02 - Link is Up - 100/Full
Sending discover...
Sending select for 192.168.0.108...
Lease of 192.168.0.108 obtained, lease time 604800
/etc/udhcpc.d/50default: line 63: /etc/resolv.conf: No space left on
device
adding dns 192.168.0.1
/etc/udhcpc.d/50default: line 67: /etc/resolv.conf: No space left on
device
done.
Fri Sep 23 03:35:00 UTC 2011
Running postinst /etc/rpm-postinsts/*.sh...
ERROR: postinst /etc/rpm-postinsts/*.sh failed.
INIT: Entering runlevel: 5
Starting internet superserver: inetd.
Starting syslogd/klogd: done
Stopping Bootlog daemon: bootlogd.


--
Yi Qingliang
niqingliang@...
http://niqingliang2003.wordpress.com

--
Yi Qingliang
niqingliang@...
http://niqingliang2003.wordpress.com

--
Yi Qingliang
niqingliang@...
http://niqingliang2003.wordpress.com


Re: rootfs-ramdisk error

niqingliang
 

for resolv.conf, maybe /etc/resolv.conf and /var/run/resolv.conf are
misordered.

in 00_core:
l root root 0644 /etc/resolv.conf /var/run/resolv.conf
f root root 0644 /var/run/resolv.conf none

if no /var/run/resolv.conf, does the first line can be success??

maybe we should change the order to:

f root root 0644 /var/run/resolv.conf none
l root root 0644 /etc/resolv.conf /var/run/resolv.conf

On Mon, 2011-09-26 at 09:41 +0800, 倪庆亮 wrote:
I'm using ramdisk, and get some error when booting, the udhcpc can't
write resolv.conf (No space left on device) and the rpm-postinsts fail.

my analysis:
for the former, I only find some info in ./default/volatiles/00_core,
the /etc/resolv.conf is a link to /var/run/resolv.conf, but I have no
idea about udhcpd's error.

for the latter, rpm-postinsts, the reason is: in rpm-postinsts, all sh
files have been executed, and moved to *.done,
(through /etc/rcS.d/S98configure), but /etc/rcS.d/S98configure have not
been deleted, so it is executed again when booting, but there is no any
*.sh file, so fail. ( as expected, if the /etc/rpm-postinsts/*.sh is
moved to *.sh.done, the /etc/rcS.d/S98configure should be deleted, but
it does exist in the rootfs)

the content of /etc/rcS.d/S98configure is:
for i in /etc/rpm-postinsts/*.sh; do
echo "Running postinst $i..."
if [ -f $i ] && sh $i; then
# rm $i
mv $i $i.done
else
echo "ERROR: postinst $i failed."
fi
done
rm -f /etc/rcS.d/S98configure
I think the for sentence is not so robust as expected when no any *.sh
files.



1. the bootargs in uboot is
root=/dev/ram rw ramdisk_size=65535 console=ttyS1,115200
2. the image type is
ext2.gz.u-boot
3. the `df` after login:
root@xx~#df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 16275 11121 4335 72% /
devtmpfs 127664 112 127552 0% /dev
none 127664 112 127552 0% /dev
tmpfs 127664 20 127644 0% /var/volatile
tmpfs 127664 0 127664 0% /media/ram

the rootfs size is 16M, and the ext2.gz.u-boot is 4.1M.

4. indeed, I have encountered one similar problem when using LTIB, that
is:
after login, I can't find the /dev/mtdX, I don't know detail of the
udev, so I checked the auto mount devfs in kernel config, and so get the
expected.

5. the bootlog is:
## Booting kernel from Legacy Image at fc100000 ...
Image Name: Linux-3.0.4
Created: 2011-09-21 8:45:32 UTC
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 2262322 Bytes = 2.2 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at fc500000 ...
Image Name: core-image-sa735-sa735-201109230
Created: 2011-09-23 3:35:58 UTC
Image Type: PowerPC Linux RAMDisk Image (gzip compressed)
Data Size: 4311933 Bytes = 4.1 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at fc0e0000
Booting using the fdt blob at 0xfc0e0000
Uncompressing Kernel Image ... OK
Loading Ramdisk to 0faf5000, end 0ff11b7d ... OK
Loading Device Tree to 007fa000, end 007ff4ed ... OK
Using MPC831x RDB machine description
Linux version 3.0.4 (ll@myhost) (gcc version 4.6.1 20110627 (prerelease)
(GCC) ) #1 Wed Sep 21 16:45:26 CST 2011
Found initrd at 0xcfaf5000:0xcff11b7d
bootconsole [udbg0] enabled
setup_arch: bootmem
mpc831x_rdb_setup_arch()
Found FSL PCI host bridge at 0x00000000e0008500. Firmware bus number:
0->0
PCI host bridge /pci@e0008500 (primary) ranges:
MEM 0x0000000090000000..0x000000009fffffff -> 0x0000000090000000
MEM 0x0000000080000000..0x000000008fffffff -> 0x0000000080000000
Prefetch
IO 0x00000000e0300000..0x00000000e03fffff -> 0x0000000000000000
arch: exit
Zone PFN ranges:
DMA 0x00000000 -> 0x00010000
Normal empty
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0x00000000 -> 0x00010000
Built 1 zonelists in Zone order, mobility grouping on. Total pages:
65024
Kernel command line: root=/dev/ram rw ramdisk_size=65535
console=ttyS1,115200
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 249928k/262144k available (4392k kernel code, 12216k reserved,
156k data, 1111k bss, 172k init)
Kernel virtual memory layout:
* 0xfffdf000..0xfffff000 : fixmap
* 0xfdefd000..0xfe000000 : early ioremap
* 0xd1000000..0xfdefd000 : vmalloc & ioremap
NR_IRQS:512 nr_irqs:512 16
IPIC (128 IRQ sources) at d1000700
clocksource: timebase mult[7800001] shift[22] registered
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
devtmpfs: initialized
NET: Registered protocol family 16

PCI: Probing PCI hardware
bio: create slab <bio-0> at 0
Freescale Elo / Elo Plus DMA driver
vgaarb: loaded
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource timebase
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
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (no cpio magic); looks like an initrd
Freeing initrd memory: 4212k freed
WDT driver for MPC8xxx initialized. mode:reset timeout=65535 (32
seconds)
fsl-elo-dma e00082a8.dma: #0 (fsl,elo-dma-channel), irq 71
fsl-elo-dma e00082a8.dma: #1 (fsl,elo-dma-channel), irq 71
fsl-elo-dma e00082a8.dma: #2 (fsl,elo-dma-channel), irq 71
fsl-elo-dma e00082a8.dma: #3 (fsl,elo-dma-channel), irq 71
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 498
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xe0004500 (irq = 16) is a 16550A
serial8250.0: ttyS1 at MMIO 0xe0004600 (irq = 17) is a 16550A
console [ttyS1] enabled, bootconsole disabled
console [ttyS1] enabled, bootconsole disabled
Freescale QUICC Engine UART device driver
brd: module loaded
loop: module loaded
fc000000.flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer
ID 0x000089 Chip ID 0x00227e
Amd/Fujitsu Extended Query Table at 0x0040
Amd/Fujitsu Extended Query version 1.3.
number of CFI chips: 1
Creating 7 MTD partitions on "fc000000.flash":
0x0000000c0000-0x0000000e0000 : "NOR (RO) Platform Version Info"
0x0000000e0000-0x000000100000 : "NOR (RO) Device Tree Blob"
0x000000100000-0x000000500000 : "NOR (RO) Linux Kernel Image"
0x000000500000-0x000002000000 : "NOR (RO) Ramdisk Root File System"
0x000002000000-0x000004000000 : "NOR (RW) JFFS2 User File System"
0x000000000000-0x000000080000 : "NOR (RO) U-Boot Image"
0x000000080000-0x0000000a0000 : "NOR (RO) U-Boot Environment"
Fixed MDIO Bus: probed
eth0: Gianfar Ethernet Controller Version 1.2, 04:00:00:00:00:0a
eth0: Running with NAPI enabled
eth0: RX BD ring size for Q[0]: 256
eth0: TX BD ring size for Q[0]: 256
eth1: Gianfar Ethernet Controller Version 1.2, 04:00:00:00:00:0b
eth1: Running with NAPI enabled
eth1: RX BD ring size for Q[0]: 256
eth1: TX BD ring size for Q[0]: 256
ucc_geth: QE UCC Gigabit Ethernet Controller
Freescale PowerQUICC MII Bus: probed
Freescale PowerQUICC MII Bus: probed
usbmon: debugfs is not available
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
i2c /dev entries driver
mpc-i2c e0003000.i2c: timeout 1000000 us
at24 0-0050: 256 byte 24c02 EEPROM, writable, 1 bytes/write
rtc-ds1374 0-0068: rtc core: registered ds1374 as rtc0
at24 0-0051: 256 byte 24c02 EEPROM, writable, 1 bytes/write
pcf857x: probe of 0-0021 failed with error -5
lm75 0-0048: hwmon0: sensor 'tcn75'
lm75: probe of 0-0049 failed with error -5
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
oprofile: using timer interrupt.
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 17
NET: Registered protocol family 15
Registering the dns_resolver key type
rtc-ds1374 0-0068: setting system clock to 2011-09-22 12:17:13 UTC
(1316693833)
RAMDISK: gzip image found at block 0
VFS: Mounted root (ext2 filesystem) on device 1:0.
devtmpfs: mounted
Freeing unused kernel memory: 172k init
INIT: version 2.88 booting
Starting udev
Starting Bootlog daemon: bootlogd.
Configuring network interfaces... udhcpc (v1.18.5) started
Sending discover...
PHY: mdio@e0024520:02 - Link is Up - 100/Full
Sending discover...
Sending select for 192.168.0.108...
Lease of 192.168.0.108 obtained, lease time 604800
/etc/udhcpc.d/50default: line 63: /etc/resolv.conf: No space left on
device
adding dns 192.168.0.1
/etc/udhcpc.d/50default: line 67: /etc/resolv.conf: No space left on
device
done.
Fri Sep 23 03:35:00 UTC 2011
Running postinst /etc/rpm-postinsts/*.sh...
ERROR: postinst /etc/rpm-postinsts/*.sh failed.
INIT: Entering runlevel: 5
Starting internet superserver: inetd.
Starting syslogd/klogd: done
Stopping Bootlog daemon: bootlogd.


--
Yi Qingliang
niqingliang@...
http://niqingliang2003.wordpress.com

--
Yi Qingliang
niqingliang@...
http://niqingliang2003.wordpress.com


rootfs-ramdisk error

niqingliang
 

I'm using ramdisk, and get some error when booting, the udhcpc can't
write resolv.conf (No space left on device) and the rpm-postinsts fail.

my analysis:
for the former, I only find some info in ./default/volatiles/00_core,
the /etc/resolv.conf is a link to /var/run/resolv.conf, but I have no
idea about udhcpd's error.

for the latter, rpm-postinsts, the reason is: in rpm-postinsts, all sh
files have been executed, and moved to *.done,
(through /etc/rcS.d/S98configure), but /etc/rcS.d/S98configure have not
been deleted, so it is executed again when booting, but there is no any
*.sh file, so fail. ( as expected, if the /etc/rpm-postinsts/*.sh is
moved to *.sh.done, the /etc/rcS.d/S98configure should be deleted, but
it does exist in the rootfs)

the content of /etc/rcS.d/S98configure is:
for i in /etc/rpm-postinsts/*.sh; do
echo "Running postinst $i..."
if [ -f $i ] && sh $i; then
# rm $i
mv $i $i.done
else
echo "ERROR: postinst $i failed."
fi
done
rm -f /etc/rcS.d/S98configure
I think the for sentence is not so robust as expected when no any *.sh
files.



1. the bootargs in uboot is
root=/dev/ram rw ramdisk_size=65535 console=ttyS1,115200
2. the image type is
ext2.gz.u-boot
3. the `df` after login:
root@xx~#df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 16275 11121 4335 72% /
devtmpfs 127664 112 127552 0% /dev
none 127664 112 127552 0% /dev
tmpfs 127664 20 127644 0% /var/volatile
tmpfs 127664 0 127664 0% /media/ram

the rootfs size is 16M, and the ext2.gz.u-boot is 4.1M.

4. indeed, I have encountered one similar problem when using LTIB, that
is:
after login, I can't find the /dev/mtdX, I don't know detail of the
udev, so I checked the auto mount devfs in kernel config, and so get the
expected.

5. the bootlog is:
## Booting kernel from Legacy Image at fc100000 ...
Image Name: Linux-3.0.4
Created: 2011-09-21 8:45:32 UTC
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 2262322 Bytes = 2.2 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at fc500000 ...
Image Name: core-image-sa735-sa735-201109230
Created: 2011-09-23 3:35:58 UTC
Image Type: PowerPC Linux RAMDisk Image (gzip compressed)
Data Size: 4311933 Bytes = 4.1 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at fc0e0000
Booting using the fdt blob at 0xfc0e0000
Uncompressing Kernel Image ... OK
Loading Ramdisk to 0faf5000, end 0ff11b7d ... OK
Loading Device Tree to 007fa000, end 007ff4ed ... OK
Using MPC831x RDB machine description
Linux version 3.0.4 (ll@myhost) (gcc version 4.6.1 20110627 (prerelease)
(GCC) ) #1 Wed Sep 21 16:45:26 CST 2011
Found initrd at 0xcfaf5000:0xcff11b7d
bootconsole [udbg0] enabled
setup_arch: bootmem
mpc831x_rdb_setup_arch()
Found FSL PCI host bridge at 0x00000000e0008500. Firmware bus number:
0->0
PCI host bridge /pci@e0008500 (primary) ranges:
MEM 0x0000000090000000..0x000000009fffffff -> 0x0000000090000000
MEM 0x0000000080000000..0x000000008fffffff -> 0x0000000080000000
Prefetch
IO 0x00000000e0300000..0x00000000e03fffff -> 0x0000000000000000
arch: exit
Zone PFN ranges:
DMA 0x00000000 -> 0x00010000
Normal empty
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0x00000000 -> 0x00010000
Built 1 zonelists in Zone order, mobility grouping on. Total pages:
65024
Kernel command line: root=/dev/ram rw ramdisk_size=65535
console=ttyS1,115200
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 249928k/262144k available (4392k kernel code, 12216k reserved,
156k data, 1111k bss, 172k init)
Kernel virtual memory layout:
* 0xfffdf000..0xfffff000 : fixmap
* 0xfdefd000..0xfe000000 : early ioremap
* 0xd1000000..0xfdefd000 : vmalloc & ioremap
NR_IRQS:512 nr_irqs:512 16
IPIC (128 IRQ sources) at d1000700
clocksource: timebase mult[7800001] shift[22] registered
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
devtmpfs: initialized
NET: Registered protocol family 16

PCI: Probing PCI hardware
bio: create slab <bio-0> at 0
Freescale Elo / Elo Plus DMA driver
vgaarb: loaded
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource timebase
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
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (no cpio magic); looks like an initrd
Freeing initrd memory: 4212k freed
WDT driver for MPC8xxx initialized. mode:reset timeout=65535 (32
seconds)
fsl-elo-dma e00082a8.dma: #0 (fsl,elo-dma-channel), irq 71
fsl-elo-dma e00082a8.dma: #1 (fsl,elo-dma-channel), irq 71
fsl-elo-dma e00082a8.dma: #2 (fsl,elo-dma-channel), irq 71
fsl-elo-dma e00082a8.dma: #3 (fsl,elo-dma-channel), irq 71
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 498
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xe0004500 (irq = 16) is a 16550A
serial8250.0: ttyS1 at MMIO 0xe0004600 (irq = 17) is a 16550A
console [ttyS1] enabled, bootconsole disabled
console [ttyS1] enabled, bootconsole disabled
Freescale QUICC Engine UART device driver
brd: module loaded
loop: module loaded
fc000000.flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer
ID 0x000089 Chip ID 0x00227e
Amd/Fujitsu Extended Query Table at 0x0040
Amd/Fujitsu Extended Query version 1.3.
number of CFI chips: 1
Creating 7 MTD partitions on "fc000000.flash":
0x0000000c0000-0x0000000e0000 : "NOR (RO) Platform Version Info"
0x0000000e0000-0x000000100000 : "NOR (RO) Device Tree Blob"
0x000000100000-0x000000500000 : "NOR (RO) Linux Kernel Image"
0x000000500000-0x000002000000 : "NOR (RO) Ramdisk Root File System"
0x000002000000-0x000004000000 : "NOR (RW) JFFS2 User File System"
0x000000000000-0x000000080000 : "NOR (RO) U-Boot Image"
0x000000080000-0x0000000a0000 : "NOR (RO) U-Boot Environment"
Fixed MDIO Bus: probed
eth0: Gianfar Ethernet Controller Version 1.2, 04:00:00:00:00:0a
eth0: Running with NAPI enabled
eth0: RX BD ring size for Q[0]: 256
eth0: TX BD ring size for Q[0]: 256
eth1: Gianfar Ethernet Controller Version 1.2, 04:00:00:00:00:0b
eth1: Running with NAPI enabled
eth1: RX BD ring size for Q[0]: 256
eth1: TX BD ring size for Q[0]: 256
ucc_geth: QE UCC Gigabit Ethernet Controller
Freescale PowerQUICC MII Bus: probed
Freescale PowerQUICC MII Bus: probed
usbmon: debugfs is not available
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
i2c /dev entries driver
mpc-i2c e0003000.i2c: timeout 1000000 us
at24 0-0050: 256 byte 24c02 EEPROM, writable, 1 bytes/write
rtc-ds1374 0-0068: rtc core: registered ds1374 as rtc0
at24 0-0051: 256 byte 24c02 EEPROM, writable, 1 bytes/write
pcf857x: probe of 0-0021 failed with error -5
lm75 0-0048: hwmon0: sensor 'tcn75'
lm75: probe of 0-0049 failed with error -5
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
oprofile: using timer interrupt.
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 17
NET: Registered protocol family 15
Registering the dns_resolver key type
rtc-ds1374 0-0068: setting system clock to 2011-09-22 12:17:13 UTC
(1316693833)
RAMDISK: gzip image found at block 0
VFS: Mounted root (ext2 filesystem) on device 1:0.
devtmpfs: mounted
Freeing unused kernel memory: 172k init
INIT: version 2.88 booting
Starting udev
Starting Bootlog daemon: bootlogd.
Configuring network interfaces... udhcpc (v1.18.5) started
Sending discover...
PHY: mdio@e0024520:02 - Link is Up - 100/Full
Sending discover...
Sending select for 192.168.0.108...
Lease of 192.168.0.108 obtained, lease time 604800
/etc/udhcpc.d/50default: line 63: /etc/resolv.conf: No space left on
device
adding dns 192.168.0.1
/etc/udhcpc.d/50default: line 67: /etc/resolv.conf: No space left on
device
done.
Fri Sep 23 03:35:00 UTC 2011
Running postinst /etc/rpm-postinsts/*.sh...
ERROR: postinst /etc/rpm-postinsts/*.sh failed.
INIT: Entering runlevel: 5
Starting internet superserver: inetd.
Starting syslogd/klogd: done
Stopping Bootlog daemon: bootlogd.


--
Yi Qingliang
niqingliang@...
http://niqingliang2003.wordpress.com


Yocto weekly bug trend charts -- WW39

Xu, Jiajun <jiajun.xu@...>
 

Hi all,
The overall open bug trend continued increasing last week. The new-submit vs. fixed bug is 30 vs. 21. Open bug number increased to 136. WDD number increased to 683. QA finished RC2 testing and there are still some open issues for hob and multi-lib. Bug status of WW39 could be found on https://wiki.yoctoproject.org/wiki/Yocto_Bug_Trend.

Best Regards,
Jiajun


Re: Eclipse Plugin 1.1-M4

Lu, Lianhao <lianhao.lu@...>
 

Hi Jack,

-----Original Message-----
From: yocto-bounces@...
[mailto:yocto-bounces@...] On Behalf Of Jack Mitchell
Sent: Friday, September 23, 2011 10:13 PM
To: yocto@...
Subject: Re: [yocto] Eclipse Plugin 1.1-M4

On 23/09/2011 15:02, Jack Mitchell wrote:
I am trying to get the latest plugin working with Eclipse Indigo and
have followed the instructions listed here:

http://permalink.gmane.org/gmane.linux.embedded.yocto.general/2596

The instructions all work fine until I point Eclipse to a local git
clone of the EclipsePlugin directory. When I try to install the plugin
I recieve this error message:

Cannot complete the install because one or more required items could
not be found.
Software being installed: Yocto Plugin for Eclipse 1.1.0.qualifier
(org.yocto.sdk.feature.group 1.1.0.qualifier)
Missing requirement: Yocto Plugin for Eclipse 1.1.0.qualifier
(org.yocto.sdk.feature.group 1.1.0.qualifier) requires
'org.yocto.sdk.source.feature.group 0.0.0' but it could not be found

Could anyone shed any light on the situation?
How did you build out the plugin? You many try out using the scripts/build.sh to build the 1.1M4 plugin upon your own Indigo.
ECLIPSE_HOME=<dir where you installed your Indigo> scripts/build.sh 1.1M4 <your release name>
You should find the file org.yocto.sdk-<your release name>-<date>-archive.zip after a successful build. Please try install that archive zip file and see if it works.

Regards,
Jack.
Ok, I managed to get it installed by adding the 1.0 repository so that it could
find the'group' it was looking for. When installed I then tried to alter the
preferences and promtly recieved this message:
Do you mean you installed the 1.0 plugin? I don't think 1.0 plugin would work with Indigo.

Unable to create the selected preference page.
org.yocto.sdk.ide.preferences.YoctoSDKPreferencePage

Screenshot: http://i.imgur.com/Ieibg.png

If I try to create a project using the yocto plugin it throws a nullPointer error -
am I missing something here or are there still issues to be ironed out on the
new 1.1 git?


Agenda: Yocto Technical Team Meeting - (Tuesday, September 27, 2011 8:00 AM-9:00 AM (UTC-08:00) Pacific Time (US & Canada))

Liu, Song <song.liu@...>
 

Agenda
 
* Opens collection - 5 min (Song)
* Yocto 1.1 M4 status review and issues - 15 min (team) https://wiki.yoctoproject.org/wiki/Yocto_Project_v1.1_Release_Criteria#Milestone_
- Bug fixing summary and issues (Song):
- Build status and QA (Beth/Song)
- Release schedule (Song)
* Opens - 10 min
* Weekly team sharing (30 min)


----------------------------------------------------

Conference details
Conference name:
Yocto Technical Team
Conference date/start time:
Tue Jun 28, 2011 at 10:00 AM Central Daylight Time
Participants:
30
Duration:
60 minutes
Participant passcode:
49611427
Dial-in number:
1.972.995.7777
US Toll Free number:
1.877.561.6828
BlackBerry users, click this link to join your conference as a chairperson:
1.972.995.7777x67184230#
BlackBerry users, click this link to join your conference as a participant:
1.972.995.7777x49611427#
 
Depending on where you are dialing from, either your BlackBerry will pause and enter the passcode automatically or you will be prompted to click again to dial the passcode.

Local and Global Access Numbers


Country
Dial-in number
Australia:
1800 636 843
Czech Republic:
242 430 350
China (Beijing):
From office dial 8-9957777 or 8784277
Beijing Out of Office dial 5878 4277
China (Shanghai):
From office dial 8-9957777 or 3073322
Shanghai Out of Office dial 2307 3322
China (Shenzen):
From office dial 8-9957777 or 6007877
Shenzen Out of Office dial 2600 7877
China (Other Cities):
From IP phone dial 8-9957777
Other cities - Non IP phone dial 021-23073322
Denmark:
8060 1400
Finland:
09 41333477
France:
0497 275888
Germany:
08161 803232
Holland:
030 2417490
India:
BSNL subscribers use 1800 425 9996 (Toll Free)
Airtel subscribers use 0008 009 861 212 (Toll Free)
From TI Campus use 89957777
Others use 2509 9555 (Landline within Bangalore) or
80 2509 9555 (Outside Bangalore)
Israel:
09 790 6715
Italy:
039 69061234 (039 is local city code not country code)
Japan:
From TI Campus use 8 995 7777
Outside TI use 03 4331 3777
Malaysia:
From IP phone dial 2643799
From Kuala Lumpur dial 4264 3799
Outside Kuala Lumpur dial (03)4264 3799
Norway:
2 295 8744
Philippines:
From Baguio City use 4471177
From Metro Manila area use 8702477
Singapore:
From IP phone dial 3894777
Outside TI use 6389 4777
South Korea:
From IP phone dial 5606998
From Seoul dial 5606998
Outside Seoul dial (02)5606998
Sweden:
08 58755577
Taiwan:
From IP phone dial 1363
From Taipei dial 2241 1363
Outside Taipei dial (02)2241 1363
Turkey:
Landline Only dial 0811 288 0001
then enter 877 633 1123
UK:
01604 663003
US:
972 995 7777 or 1877 561 6828

Recurring conferences
First scheduled conference:
Tue Jun 28, 2011
Recurrence frequency:
Weekly - Every 1 week(s) on Tuesday
Recurrence ends:
End on Fri Jun 22, 2012, 10:40 AM CDT