From mboxrd@z Thu Jan 1 00:00:00 1970 From: miaofng Date: Mon, 26 Oct 2009 21:29:45 +0800 Subject: [U-Boot] Fw: Re: Re: [PATCH] add u-boot sja1000/can support In-Reply-To: <4AE596D6.806@grandegger.com> References: <200910241217470153391@gmail.com>, <200910261248270312273@gmail.com>, <200910261629132341038@gmail.com> <200910261647227347739@gmail.com> <4AE596D6.806@grandegger.com> Message-ID: <4AE5A449.7040300@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 :) >> i want to get a packet from usb/network, then redirect it to can bus. >> So blocked write/read of can is not allowed. >> > > You have that working? > > not yet. i have finished usb and can part.