From: Rohit Date: Thu, 30 Mar 2006 18:10:22 +0530 Subject: [U-Boot-Users] Re: U-Boot on simulated at91rm9200/ep7312 boards (skyeye) In-Reply-To: <586f5d00603300230m6aaef0d5g6f150eb0155cb004@mail.gmail.com> References: <586f5d00603300230m6aaef0d5g6f150eb0155cb004@mail.gmail.com> Message-ID: <586f5d00603300440v4d37211al96627c2f36bc150f@mail.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 Guys regarding the second i.e. network issue i digged that /* if MAC address was not discovered yet, save the packet and do an ARP request */ if (memcmp(ether, NetEtherNullAddr, 6) == 0) { is returning true and actually its sending ARP packets for address discovery. I suppose i have some misconfiguration. I shall investigate this and update tomorrow. Sorry if this is off-topic for either of the lists. cheers, rohit On 3/30/06, Rohit wrote: > > Hi, > > Skyeye wiki shows howto load u-boot on the pc emulator. I have been trying > to do the same for the at91rm9200 board on my pc but am getting no success. > I am therefore sending this mail to both the skyeye-developers and > u-boot-users list. I would appreciate if you could suggest some inputs as > this is my very first hands on with both the (should i say?) applications. > > Input/output is ignored at the boot prompt for the at91rm9200 board > (1) I have had success loading u-boot for ep7312 board via skyeeye > emulator while the u-boot for at91rm9200 simply doesn't takes any key > strokes whatsoever at the boot prompt. > > The only difference between the two u-boot config files is that the > following three lines are not present in ep7312 board config. As am on > emulation mode i have set USART0 instead of DBGU for the at91rm9200 board > > #undef CONFIG_DBGU > #define CONFIG_USART0 > #undef CONFIG_USART1 > > When i run the skyeye with this config i get the following > In: serial > Out: serial > Err: serial > U-Boot> > (I get the same message for ep7312 board but the input is actually > /dev/stdin and output/err is /dev/stdout) > > The keystrokes are simply ignored at the boot prompt. I tried the > followoing skyeye configuration > uart: fd_in=/dev/stdin, fd_out=/dev/stdout so atleast i could redirect the > serial input output via stdin/stdout. But this didn't help me either. > > This is really annoying as i can see the skyeye emulator working but am > unable to how to redirect the input/output. Any guesses? > > > Networking issue with ep7312 u-boot.bin and skyeye > (2) the u-boot for ep7312 board which loads fine has the following > configuration > #define CONFIG_ETHADDR 0:4:3:2:1:f > #define CONFIG_NETMASK 255.0.0.0 > #define CONFIG_IPADDR 10.0.0.2 > #define CONFIG_GATEWAYIP 10.0.0.1 > #define CONFIG_SERVERIP 10.203.234.11 > > and skyeye.conf defines > net: state=on, type=vnet,base=0xfffa0000, size=0x20,int=16, > mac=0:4:3:2:2:f, ethmod=tuntap, hostip=10.0.0.1 > > When i run the skyeye emulator, u-boot boots fine and shows me the prompt. > I could see a new virtual network interface present and can ping the new > virtual host as well. But, when i do a tftpboot the boot prompt simply > hangs. The tftp logs doesn't shows any file request either > > > SKYEYE: If you have ELF kernel file, please use -e option to indicate your > ELF format kernel filename > SKYEYE: If you only have kernel binary image, you should put the filename > of kernel binary image in skyeye.conf file > arch: arm > cpu info: armv4, arm720t, 41807200, ffffff00, 1 > mach info: name ep7312, mach_init addr 0x8068030 > uart info: input device is /dev/stdin, fd is 4. > uart info: output device is /dev/stdout, fd is 5. > ethmod num=1, mac addr=0:4:3:2:2:f, hostip=10.0.0.1 > SKYEYE: use arm7100 mmu ops > Loaded RAM ./u-boot.bin > > U-Boot 1.1.4 (Mar 30 2006 - 15:19:26) > U-Boot code: C0F80000 -> C0F952F0 BSS: -> C0F99820 > RAM Configuration: > Bank #0: c0000000 16 MB > Flash: 16 MB > *** Warning - bad CRC, using default environment > > In: serial > Out: serial > Err: serial > EP7312 # > EP7312 # > EP7312 # tftpboot > CS8900 Ethernet chip not found?! > *** Warning: no boot file name; using '0A000002.img' > TFTP from server 10.203.234.11; our IP address is 10.0.0.2 > Filename '0A000002.img'. > Load address: 0xc0500000 > Loading: * > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.denx.de/pipermail/u-boot/attachments/20060330/df6310d7/attachment.htm