[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] watchdog
Hi,
>
> Hello,
>
> Sure here is my log :
>
>
> make[2]: Leaving directory
> `/home/utilinux/work/petalinux_test2/trunk/software/petalinux-dist/u-boot/common'
>
> UNDEF_SYM=`microblaze-uclinux-objdump -x lib_generic/libgeneric.a
> board/petalogix/microblaze-auto/libmicroblaze-auto.a
> cpu/microblaze/libmicroblaze.a lib_microblaze/libmicroblaze.a
> fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a
> fs/jffs2/libjffs2.a fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a
> net/libnet.a disk/libdisk.a rtc/librtc.a dtt/libdtt.a
> drivers/libdrivers.a drivers/nand/libnand.a
> drivers/nand_legacy/libnand_legacy.a drivers/sk98lin/libsk98lin.a
> post/libpost.a post/cpu/libcpu.a common/libcommon.a |sed -n -e
> 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
> microblaze-uclinux-ld -Bstatic -T
> /home/utilinux/work/petalinux_test2/trunk/software/petalinux-dist/u-boot/board/petalogix/microblaze-auto/u-boot.lds
> -Ttext 0x9ffc0000 $UNDEF_SYM cpu/microblaze/start.o \
> --start-group lib_generic/libgeneric.a
> board/petalogix/microblaze-auto/libmicroblaze-auto.a
> cpu/microblaze/libmicroblaze.a lib_microblaze/libmicroblaze.a
> fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a
> fs/jffs2/libjffs2.afs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a
> net/libnet.a disk/libdisk.a rtc/librtc.a dtt/libdtt.a
> drivers/libdrivers.a drivers/nand/libnand.a
> drivers/nand_legacy/libnand_legacy.a drivers/sk98lin/libsk98lin.a
> post/libpost.a post/cpu/libcpu.a common/libcommon.a --end-group -L
> /home/utilinux/work/petalinux_test2/trunk/tools/linux-i386/microblaze-uclinux-tools/bin/../lib/gcc/microblaze-uclinux/3.4.1/bs/m
> -lgcc \
> -Map u-boot.map -o u-boot
> lib_microblaze/libmicroblaze.a(board.o): In function `board_init':
> /home/utilinux/work/petalinux_test2/trunk/software/petalinux-dist/u-boot/lib_microblaze/board.c(.text+0xbc):
> undefined reference to `watchdog_reset'
> /home/utilinux/work/petalinux_test2/trunk/software/petalinux-dist/u-boot/lib_microblaze/board.c:241:
> undefined reference to `watchdog_reset'
> /home/utilinux/work/petalinux_test2/trunk/software/petalinux-dist/u-boot/lib_microblaze/board.c:254:
> undefined reference to `watchdog_reset'
> net/libnet.a(net.o): In function `NetLoop':
> /home/utilinux/work/petalinux_test2/trunk/software/petalinux-dist/u-boot/net/net.c(.text+0x14fc):
> undefined reference to `watchdog_reset'
> common/libcommon.a(main.o): In function `readline':
> /home/utilinux/work/petalinux_test2/trunk/software/petalinux-dist/u-boot/common/main.c(.text+0x190):
> undefined reference to `watchdog_reset'
> common/libcommon.a(cmd_bootm.o)(.text+0x6c4):/home/utilinux/work/petalinux_test2/trunk/software/petalinux-dist/u-boot/common/cmd_bootm.c:
> more undefined references to `watchdog_reset' follow
> make[1]: *** [u-boot] Error 1
> make[1]: Leaving directory
> `/home/utilinux/work/petalinux_test2/trunk/software/petalinux-dist/u-boot'
> make: *** [u-boot] Error 2
>
you can see that you miss reference to watchdog_reset function. I haven't play
with any watchdog but I am afraid that there is missing watchdog code in u-boot
because none haven't needed it and programmed it. You can look if someone from
powerpc guys did any work around but I haven't seen it.
If you want to use it for real project you need to implemented it yourself or
you can look at petalogix.com site.
Thanks,
Michal
> Regards
>
> *_ZODIAC DATA SYSTEMS SAS_*
> AEROSAFETY & TECHNOLOGY logo
> *Guillaume Gastebois*
> Hardware/Firmware Engineer
> 2 rue de Caen - 14740 Bretteville l'orgueilleuse - France
> Tel: +33 2 31 29 4888 - Fax: +33 2 31 80 6549
> guillaume.gastebois@xxxxxxxxxxxxxxxxxxx
> <mailto:guillaume.gastebois@xxxxxxxxxxxxxxxxxxx>
> http://www.zodiacaerospace.com <http://www.zodiacaerospace.com/>
>
>
>
>
>
>
>
> *Michal Simek <michal.simek@xxxxxxxxxxxxx>*
> Envoyé par : owner-microblaze-uclinux@xxxxxxxxxxxxxx
>
> 20/03/2009 10:31
> Veuillez répondre à
> microblaze-uclinux@xxxxxxxxxxxxxx
>
>
>
> A
> microblaze-uclinux@xxxxxxxxxxxxxx
> cc
>
> Objet
> Re: [microblaze-uclinux] watchdog
>
>
>
>
>
>
>
> Hi,
>
>
>>
>> Hello,
>>
>> I try to use a watchdog on ML505. I run from ref design ll_temac an add
>> a watchdog. The bitstream generation process is ok, but adding watchdog
>> capabilities to kernel gives me WATCHDOG_RESET() unknow function during
>> u-boot compilation !!
>>
>> What did I wrong ?
>
> Can you post your log with that fault?
>
> Thanks,
> Michal
>
>
>>
>> *_ZODIAC DATA SYSTEMS SAS_*
>> AEROSAFETY & TECHNOLOGY logo
>> *Guillaume Gastebois*
>> Hardware/Firmware Engineer
>> 2 rue de Caen - 14740 Bretteville l'orgueilleuse - France
>> Tel: +33 2 31 29 4888 - Fax: +33 2 31 80 6549
>> guillaume.gastebois@xxxxxxxxxxxxxxxxxxx
>> <mailto:guillaume.gastebois@xxxxxxxxxxxxxxxxxxx>
>> http://www.zodiacaerospace.com <http://www.zodiacaerospace.com/>
>>
>>
>>
>>
>
> --
> Michal Simek, Ing. (M.Eng)
> PetaLogix - Linux Solutions for a Reconfigurable World
> w: www.petalogix.com p: +61-7-30090663,+42-0-721842854 f: +61-7-30090663
> ___________________________
> microblaze-uclinux mailing list
> microblaze-uclinux@xxxxxxxxxxxxxx
> Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
> Mailing List Archive :
> http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
>
>
--
Michal Simek, Ing. (M.Eng)
PetaLogix - Linux Solutions for a Reconfigurable World
w: www.petalogix.com p: +61-7-30090663,+42-0-721842854 f: +61-7-30090663
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/