From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Grandegger Date: Mon, 26 Oct 2009 15:44:10 +0100 Subject: [U-Boot] Fw: Re: Re: [PATCH] add u-boot sja1000/can support In-Reply-To: <4AE5A449.7040300@gmail.com> References: <200910241217470153391@gmail.com>, <200910261248270312273@gmail.com>, <200910261629132341038@gmail.com> <200910261647227347739@gmail.com> <4AE596D6.806@grandegger.com> <4AE5A449.7040300@gmail.com> Message-ID: <4AE5B5BA.6010909@grandegger.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de miaofng wrote: > Wolfgang Grandegger wrote: >> miaofng wrote: >> >>> Hi mike, >>> It seems there's a big difference between my current project >>> and u-boot common usage. I can only enjoy the patch myself now >>> >> Yes, can you describe your use-case. CAN in U-BOOT, so far, was just >> used to send or receive one or a few messages, mainly for testing purposes. >> >> > what i want to do is something like a protocol gateway. It converts the > data from one type to another. > u-boot has support so many cpu/board/...., i thinks it can do much more > tasks than just for testing purposes. > It could be a non-OS based software plaform :) Well, U-Boot is a bootloader and I strongly suggest to use Linux for that purpose. Nevertheless, maybe a simple generic CAN framework could be useful for both, normal testing purposes and your special app. Some time ago I wrote a simple framework supporting the SJA100 and the i82527. I will try to find it now. Wolfgang.