Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: AT91RM9200-EK + U-boot + Linux : no login prompt ! [SOLVED]
PostPosted: Tue Apr 01, 2008 9:46 am 
Offline

Joined: Wed Feb 13, 2008 12:01 pm
Posts: 4
Hi all !

I want to use Linux on an AT91RM9200-EK board with U-boot 1.1.1 already installed.

The first problem is that U-boot seems to be too old to recognize my board and recognize it as DK instead of EK. I solved this problem thanks to this page : http://bbs.embedinfo.com/arm_forum_more ... 6&syID=953

My 2nd problem is that my kernel is launched but hang after :
Code:
(...)
VFS: Mounted root (nfs filesystem).
Freeing init memory: 120K


I mount my filesystem via NFS. The board does not seem to be frozen (tux is displayed on screen and I can ping the board) but I can't see anything via minicom after "Freeing init memory"...

I tried the following kernels : 2.6.24, 2.6.21 and 2.6.19 patched by the patches from maxim's site : http://maxim.org.za/at91_26.html

Any idea ?

Guillaume


Last edited by ggardet on Wed Apr 02, 2008 1:22 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: AT91RM9200-EK + U-boot + Linux : no login prompt !
PostPosted: Tue Apr 01, 2008 10:14 am 
Offline

Joined: Sun Sep 02, 2007 1:39 pm
Posts: 77
ggardet wrote:
VFS: Mounted root (nfs filesystem).
Freeing init memory: 120K[/code]

I mount my filesystem via NFS. The board does not seem to be frozen (tux is displayed on screen and I can ping the board) but I can't see anything via minicom after "Freeing init memory"...


I've seen this several times before, due to a missing console in the /dev/ directory.

Perhaps you could monitor the nfs traffic using wireshark or tcpdump to verify if the board is trying to access something in the /dev/ directory


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 01, 2008 10:21 am 
Offline

Joined: Wed Feb 13, 2008 12:01 pm
Posts: 4
I have the /dev/console on my filesystem... My filesystem is build thanks to buildroot and should be ok.

I will try wireshark or tcpdump to monitor the traffic and let you know if it try to access something in /dev/


Top
 Profile  
 
 Post subject: Wireshark results
PostPosted: Tue Apr 01, 2008 11:10 am 
Offline

Joined: Wed Feb 13, 2008 12:01 pm
Posts: 4
Here are some frame catched by wireshark :

Call in 5053 :
Code:
DDExEkr@oOoISO-8859-7ISO-8859-8ISO-8859-9KOI8-RKOI8-TKOI8-UTIS-620%s %s %s %s %d %d

lowerupperNo previous regular expression,Hex D_SuccessNo matchInvalid regular expressionInvalid collation characterInvalid character class nameTrailing backslashInvalid back referenceUnmatched [ or [^Unmatched ( or \(Unmatched \{Invalid content of \{\}Invalid range endMemory exhaustedInvalid preceding regular expressionPremature end of regular expressionRegular expression too bigUnmatched ) or \)/proc/mounts/etc/mtabronosuidnoexecnodevsyncmandnoatimenodiratime,syslog/dev/log<%d>%.15s <BUFFER OVERRUN ATTEMPT>[%d]/dev/console[truncated] SunMonTueWedThuFriSatJanFebMarAprMayJunJulAugSepOctNovDec??? ??? 0 0:0:0 ????
/etc/TZTZUTC<<..,M4.1.0,M10.5.0,M3.2.0,M11.1.0<<mUTCGMT""##$$$%%&&???JzO????xy<;"2BB&&
%m/%d/%y%Y-%m-%d%H:%M%H:%M:%S()*+HzJ&xy;#0;<IPcXc,1`5a5`c`

Call in 5055 :
Code:
DDExElr@oOon not permittedNo such file or directoryNo such processInterrupted system callInput/output errorNo such device or addressArgument list too longExec format errorBad file descriptorNo child processesResource temporarily unavailableCannot allocate memoryPermission deniedBad addressBlock device requiredDevice or resource busyFile existsInvalid cross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentToo many open files in systemToo many open filesInappropriate ioctl for deviceText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken pipeNumerical argument out of domainNumerical result out of rangeResource deadlock avoidedFile name too longNo locks availableFunction not implementedDirectory not emptyToo many levels of symbolic linksNo message of desired typeIdentifier removedChannel number out of rangeLevel 2 not synchronizedLevel 3 haltedLevel 3 resetLink number out of rangeProtocol driver not attachedNo CSI structure availableLevel 2 haltedInvalid exchangeInvalid request descriptorExchange fullNo anodeInvalid request codeInvalid slotBad font file formatDevice not a streamNo data availableTimer expiredO

Call in 5104 :
Code:
DDExEtr@oOot_rt_sa_restorer__default_sa_restorer__sigaddsetsigandset__sigismember__sigdelsetsiggetmasksigholdsigignoresiginterrupt_sigintrsigisemptyset__sigjmp_savebsd_signalsigorset__sigpausesigrelsesigset__sysv_signalsigwaitsigwaitinfo__fflush_unlocked_stdio_openlist_dec_use_stdio_openlist_del_lock_stdio_openlist_use_count_stdio_openlist_del_countfcloseall_stdio_openlist_add_lock_stdio_openlistfdopen_stdio_fopenfgetposfreopen__fseeko64fseekofsetpos__ftello64ftello__getdelim__getchar_unlockedgetw__fread_unlocked__fputs_unlockedputw__fwrite_unlockedremovermdirunlinksetbufsetvbufsetbuffersetlinebuf__stdio_trans2r_ovprintfvsprintfvdprintf__asprintfvasprintfopen_memstream__stdio_init_mutex_cs_writetmpfiletmpfile64tmpnamtmpnam_rpclosepopenpipevforkdup2execltempnamctermid__stdio_READ__stdio_WRITE__stdio_adjust_positionisatty_stdio_user_locking_cs_read_cs_seek_cs_close__stdio_fwritememrchr__stdio_wcommit__stdio_rfill_stdio_term__stdin__stdout__stdio_trans2w_o_load_inttype_store_inttype_fpmaxtostr__fbufsize__flbf__fpending__fpurge__freadable__freading__fwritable__fwriting_flushlbffopencookiefmemopenflockfileftrylockfilefunlockfileclearerr

Call in 5105 :
Code:
DDExEur@oOotimeclock_settime__libc_closecreat64create_moduledelete_moduleepoll_waitepoll_ctlepoll_createexecvefchmodfchownfdatasyncflock__libc_fork__xstat_conv__xstat64_conv__libc_fsyncftruncateftruncate64get_kernel_symsget_current_dir_namegetitimer__getpagesize__getpgid__libc_getpid__getpidgetppidgetprioritygetresgidgetresuid__ugetrlimitgetrlimit64getrusageinit_module__syscall_ioctlklogctllchown__libc_lseek64_llseek__libc_longjmp__libc_siglongjmp__libc_lseekmadvisemincoremkfifomknodmlockmlockallmprotect__libc_msyncmunlockmunlockall__libc_nanosleepnice__cyg_profile_func_enter__cyg_profile_func_exitntp_gettimecreat__libc_open64__libc_pausepersonalitypivot_rootposix_fadviseposix_fadvise64prctl__libc_pwrite64__libc_pread64__libc_pwrite__libc_preadptracequery_modulequotactl__libc_readreadaheadreadvrebootrenamesched_get_priority_maxsched_get_priority_minsched_getparamsched_getschedulersched_rr_get_intervalsched_setparamsched_setschedulersched_yield_newselectsendfilesendfile64setdomainnamesetegidsetresgidsetregidsetresuidsetreuidsetfsgidsetfsuidsetgidsethostnamesetitimersetpgidsetprioritysetrlimitsetrlimit64setsidsettimeofdaysetuidsigal


In the "Call in 5053" , we can read :
Quote:
<BUFFER OVERRUN ATTEMPT>[%d]/dev/console[truncated]
and other errors...

What is the problem and how solve it ?

Cheers,

Guillaume


Top
 Profile  
 
 Post subject: Solution
PostPosted: Wed Apr 02, 2008 1:21 pm 
Offline

Joined: Wed Feb 13, 2008 12:01 pm
Posts: 4
In fact, it was a problem of filesystem... Previously, I worked on an at91sam9261-EK, now I am working on a at91rm9200-EK. So, I modified the U-boot parameter accordigly to the new board.
But I MUST DELETE the rootfs.arm.ext2 and the build_arm and toolchain_build_arm directories and rebuild all !

Code:
rm -r build_arm toolchain_build_arm rootfs.arm.ext2
make


And then all will be OK !


Guillaume


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: