PPC uImage build not reporting correctly

2005-05-11 Thread Sam Ravnborg
 
  Looks ok - but I do not see why use of $(shell ...) did not work out.
 
 As I understand it, the $(shell ...) construct doesn't work in the case 
 cited above because make evaluates/expands the $(shell ...) stuff while it 
 is parsing the makefile and building the command list--i.e. before it has 
 issued any commands to build anything.  What seems to be desired in this 
 case is a file-existence test which runs inline with respect to the 
 preceding commands.  The use of $(shell ...) inside a command 
 subverts/preempts that natural sequence.  I think. :-)

That explains it - thanks!

Sam



2.6.12-rc2 : i2c-mpc - failed to attach interrupt

2005-05-11 Thread Sam Song
Hi all,

Sth unexpected happened when I enabled MPC107 I2C bus
support on a MPC8241 board. The slave device DS1337 
couldn't work at all. Any hints? 

..
i2c /dev entries driver
i2c-mpc - failed to attach interrupt
iic: probe of 00 failed with error -38
---ds1337 driver registering---
..
bash-2.05b# cat /proc/driver/rtc
rtc_time: 00:00:-19
rtc_date: 1970-01-01
rtc_epoch   : 1900
alarm   : 00:00:00
DST_enable  : no
BCD : yes
24hr: yes
square_wave : no
alarm_IRQ   : no
update_IRQ  : no
periodic_IRQ: no
periodic_freq   : 0
batt_status : okay
bash-2.05b# date
Wed Dec 31 19:05:23 EST 1969
bash-2.05b#

Thanks in advance,

Sam

_
Do You Yahoo!?
150??MP3
http://music.yisou.com/
???
http://image.yisou.com
1G??1000???
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/



Status of isp116x driver... (on mpc8xx)?

2005-05-11 Thread Wolfgang Denk
Dear David,

in message 200505111240.35425.david.jander at protonic.nl you wrote:
 
 I connected a Philips ISP1160 usb host controller to a MPC852T-based custom 
 board. I am using CVS kernel from DENX. 
 I added some stuff to hcd-1161.h and hcd-1161.c to support our hardware, and 
 it seems to work at first.
...
 Is the isp1160 chip really supported by the driver? tested?

We only use (and tested) this driver with a ISP1361 ...

 Is someone using a isp116x on a mpc8xx and can tell his experience on getting 
 it working?

Sorry, we don't have any experience with a 1160. The  driver  in  our
tree  works fine with the 1362, both as host driver and as device (as
a gadget driver).

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
No man knows what true happiness is until he gets married.  By  then,
of course, its too late.



[PATCH] ppc32: Fix uImage make target to report success correctly

2005-05-11 Thread Kumar Gala
The existing make rule when building a uImage would check to see
if the image file existed to report 'is ready' or 'not made'.
However make appeared to compute the file list before the rule
was executed.

Signed-off-by: Chris Clark cpclark at xmission.com
Signed-off-by: Kumar Gala kumar.gala at freescale.com
Signed-off-by: Sam Ravnborg sam at ravnborg.org 

---
commit f772a90e948f019c3111a94394b3a649874417c7
tree c9d59c269792db4933039da49b3b3836ac5b01f5
parent c140244727aa88fcaefe34af4abc56e85b471da2
author Kumar K. Gala kumar.gala at freescale.com Tue, 10 May 2005 10:27:46 
-0500
committer Kumar K. Gala kumar.gala at freescale.com Tue, 10 May 2005 10:27:46 
-0500

 ppc/boot/images/Makefile |3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

Index: arch/ppc/boot/images/Makefile
===
--- dd5d97e6f88b8fbfcc09878d837c8e90590484b8/arch/ppc/boot/images/Makefile  
(mode:100644)
+++ c9d59c269792db4933039da49b3b3836ac5b01f5/arch/ppc/boot/images/Makefile  
(mode:100644)
@@ -22,7 +22,8 @@
 $(obj)/uImage: $(obj)/vmlinux.gz
$(Q)rm -f $@
$(call if_changed,uimage)
-   @echo '  Image: $@' $(if $(wildcard $@),'is ready','not made')
+   @echo -n '  Image: $@ '
+   @if [ -f $@ ]; then echo 'is ready' ; else echo 'not made'; fi
 
 # Files generated that shall be removed upon make clean
 clean-files:= sImage vmapus vmlinux* miboot* zImage* uImage



libssl in ELDK3.0

2005-05-11 Thread David Ho
Hi Wolfgang,

I noticed that the libssl.so and libcrypto.so in the ELDK3.0 development
rootfs are built with the linux-elf option on the ppc when it should have
been built with linux-ppc.  When I was trying to build ssh with these libs,
it would not work with an i386 Linux box.  I had to build libssl from
scratch.

David




memec v2p7

2005-05-11 Thread [EMAIL PROTECTED]
I am trying to build a kernel to run on a memec virtex II pro board.  I 
got a crosscompiler to build succesfully but when I run make menuconfig 
and then run make dep make zImage  make modules I get an error 
stating:
can't stat source zvmlinux

Any ideas on how to get rid of this?

Also has anyone gotten the 2.4 kernel running on this board?
Thanks
Brett
-- next part --
An HTML attachment was scrubbed...
URL: 
http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20050511/53a1b979/attachment.htm