Re: Linux-arm Digest, Vol 24, Issue 24 | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
hi Sai Saravana <sai.sy@xxxxxxxxxxx> wrote: > I am using ARM Versatile Platform (PB926EJS) board for development. > I have downloaded the U-boot and linux images for versatile platform from > Arm's website. > > The details are: > Site: http://www.arm.com/linux/linux_download.html > Files: zImage-2.6.12-arm1-versatile-pb for linux and u-boot_versatileab.axf > for u-boot, base.cramfs for filesystem Catalin wrote >You should prepend the U-Boot header to the zImage file: >mkimage -A arm -T kernel -C none -a 0x7fc0 -e 0x8000 -n uzImage -d zImage uzImage >and write the newly generated uzImage file in flash instead of the >zImage one. yes I agree to it u need U-Boot header to the zImage easy way to do is if you have u-boot source with you go to toots directory in top directory of u-boot source copy the mkimage to /usr/bin and compile your kernel by giving "make uImage" insted of "make bzImage" you get uImage in /arch/arm/boot/ now flash this image on to the board Sunil On 7/22/05, linux-arm-request@xxxxxxxxxxxxxxxxxxxxxx <linux-arm-request@xxxxxxxxxxxxxxxxxxxxxx> wrote: > Send Linux-arm mailing list submissions to > linux-arm@xxxxxxxxxxxxxxxxxxxxxx > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm > or, via email, send a message with subject or body 'help' to > linux-arm-request@xxxxxxxxxxxxxxxxxxxxxx > > You can reach the person managing the list at > linux-arm-owner@xxxxxxxxxxxxxxxxxxxxxx > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Linux-arm digest..." and cut out any > inappropriate message content. > > > Today's Topics: > > 1. Problem with booting linux using u-boot (Sai Saravana) > 2. Re: Problem with booting linux using u-boot (Catalin Marinas) > 3. RE: Problem with booting linux using u-boot > (Dupas.External@xxxxxxxxxxxx) > 4. Re: Problem with booting linux using u-boot (Catalin Marinas) > 5. Re: Installing ppp/pppd in arm-linux (Ralph Siemsen) > 6. Re: Installing ppp/pppd in arm-linux (Nathan M) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 21 Jul 2005 19:37:11 +0530 > From: Sai Saravana <sai.sy@xxxxxxxxxxx> > Subject: Problem with booting linux using u-boot > To: linux-arm@xxxxxxxxxxxxxxxxxxxxxx > Cc: sai.sy@xxxxxxxxxxx > Message-ID: <003401c58dfd$83021040$35496c6b@xxxxxxxxxxxxxx> > Content-Type: text/plain; charset=us-ascii > > Hi, > > I am using ARM Versatile Platform (PB926EJS) board for development. > I have downloaded the U-boot and linux images for versatile platform from > Arm's website. > > The details are: > Site: http://www.arm.com/linux/linux_download.html > Files: zImage-2.6.12-arm1-versatile-pb for linux and u-boot_versatileab.axf > for u-boot, base.cramfs for filesystem > > After flashing the files, when I start u-boot on a hyperterminal, the > following log is displayed. > It reports a badCRC and magic number mismatch errors. > > Please let me know how can I overcome this issue?? > > Thanks in Advance... > _________________________________ > ARM Versatile/PB926EJ-S Boot Monitor > Version: V2.0.1 > Build Date: Nov 30 2004 > Endian: Little > > > > flash > Flash> run u-boot > > > U-Boot 1.1.3 (Jun 17 2005 - 16:03:06) > > U-Boot code: 01000000 -> 01013544 BSS: -> 010173F4 > RAM Configuration: > Bank #0: 00000000 0 kB > Flash: 64 MB > *** Warning - bad CRC, using default environment > > In: serial > Out: serial > Err: serial > Hit any key to stop autoboot: 0 > ## Booting image at 00007fc0 ... > Bad Magic Number > VersatilePB # > VersatilePB # printenv > bootargs=root=/dev/mtdblock0 mtdparts=armflash.0:5012k@0x380000(cramfs) > ip=dhcp mem= > 128M console=ttyAMA0 video=vc:1-2clcdfb: > bootcmd=cp 0x34040000 0x7fc0 0x100000 ; bootm > bootdelay=2 > baudrate=38400 > bootfile="/tftpboot/uImage" > stdin=serial > stdout=serial > stderr=serial > verify=n > > Environment size: 276/65532 bytes > VersatilePB # > __________________________________ > > Thanks and Regards, > -Sai. > ------------------------------------------ > Lead Engineer > System LSI Division (SLD) > India Software Operations (SISO) > Samsung Electronics Co. Ltd. > JP Techno Parks, 3/1 Millers Road, > Bangalore 560 052 India > Ph - +91 80 5119 7777 Ext. 2077. > Fax - +91 80 51148855, 51148844 > Email: sai.sy@xxxxxxxxxxx > Mobile: 98808 69589 > > > > ------------------------------ > > Message: 2 > Date: Thu, 21 Jul 2005 15:25:18 +0100 > From: Catalin Marinas <catalin.marinas@xxxxxxx> > Subject: Re: Problem with booting linux using u-boot > To: Sai Saravana <sai.sy@xxxxxxxxxxx> > Cc: linux-arm@xxxxxxxxxxxxxxxxxxxxxx > Message-ID: <tnxy880z169.fsf@xxxxxxx> > Content-Type: text/plain; charset=us-ascii > > Sai Saravana <sai.sy@xxxxxxxxxxx> wrote: > > I am using ARM Versatile Platform (PB926EJS) board for development. > > I have downloaded the U-boot and linux images for versatile platform from > > Arm's website. > > > > The details are: > > Site: http://www.arm.com/linux/linux_download.html > > Files: zImage-2.6.12-arm1-versatile-pb for linux and u-boot_versatileab.axf > > for u-boot, base.cramfs for filesystem > > You should prepend the U-Boot header to the zImage file: > > mkimage -A arm -T kernel -C none -a 0x7fc0 -e 0x8000 -n uzImage -d zImage uzImage > > and write the newly generated uzImage file in flash instead of the > zImage one. > > -- > Catalin > > > > > ------------------------------ > > Message: 3 > Date: Thu, 21 Jul 2005 17:02:44 +0200 > From: <Dupas.External@xxxxxxxxxxxx> > Subject: RE: Problem with booting linux using u-boot > To: <catalin.marinas@xxxxxxx>, <sai.sy@xxxxxxxxxxx> > Cc: linux-arm@xxxxxxxxxxxxxxxxxxxxxx > Message-ID: > <550E696EB903B74E84CF33CF8D64DFC206B147@xxxxxxxxxxxxxxxxxxxxxxxx> > Content-Type: text/plain; charset="iso-8859-1" > > I've tried what you advised the problem is that I haven't managed to put this image in flash since it is not an elf file. > furthermore I had erased the prebuilt image of linux thinking that I would replace it with a more recent one but I haven't managed to do so. > Then to make things clean I have loaded the image of linux from another versatile and placed it in flash exactly the same way than it was before but milo still can't find the kernel! howcome? > What must be put in flash? .bin, .img raw elf .....I'm a bit upset > > best regards > > thomas > > ________________________________ > > From: linux-arm-bounces@xxxxxxxxxxxxxxxxxxxxxx on behalf of Catalin Marinas > Sent: Thu 21/07/2005 16:25 > To: Sai Saravana > Cc: linux-arm@xxxxxxxxxxxxxxxxxxxxxx > Subject: Re: Problem with booting linux using u-boot > > > > Sai Saravana <sai.sy@xxxxxxxxxxx> wrote: > > I am using ARM Versatile Platform (PB926EJS) board for development. > > I have downloaded the U-boot and linux images for versatile platform from > > Arm's website. > > > > The details are: > > Site: http://www.arm.com/linux/linux_download.html > > Files: zImage-2.6.12-arm1-versatile-pb for linux and u-boot_versatileab.axf > > for u-boot, base.cramfs for filesystem > > You should prepend the U-Boot header to the zImage file: > > mkimage -A arm -T kernel -C none -a 0x7fc0 -e 0x8000 -n uzImage -d zImage uzImage > > and write the newly generated uzImage file in flash instead of the > zImage one. > > -- > Catalin > > > ------------------------------------------------------------------- > List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm > FAQ: http://www.arm.linux.org.uk/mailinglists/faq.php > Etiquette: http://www.arm.linux.org.uk/mailinglists/etiquette.php > > > > > ------------------------------ > > Message: 4 > Date: Thu, 21 Jul 2005 16:24:08 +0100 > From: Catalin Marinas <catalin.marinas@xxxxxxx> > Subject: Re: Problem with booting linux using u-boot > To: <Dupas.External@xxxxxxxxxxxx> > Cc: sai.sy@xxxxxxxxxxx, linux-arm@xxxxxxxxxxxxxxxxxxxxxx > Message-ID: <tnxirz4yyg7.fsf@xxxxxxx> > Content-Type: text/plain; charset=us-ascii > > <Dupas.External@xxxxxxxxxxxx> wrote: > > I've tried what you advised the problem is that I haven't managed to > > put this image in flash since it is not an elf file. > > You can write normal binary files in flash, they don't need to be > ELF (see the platform's documentation). > > > furthermore I had erased the prebuilt image of linux thinking that I > > would replace it with a more recent one but I haven't managed to do > > so. Then to make things clean I have loaded the image of linux from > > another versatile and placed it in flash exactly the same way than > > it was before but milo still can't find the kernel! howcome? > > How did you manage to get an ELF file from another Versatile? > > I don't know milo's magic for searching the kernel on Versatile. You > could try to use U-Boot instead. > > > What must be put in flash? .bin, .img raw elf .....I'm a bit upset > > What are .bin, .img? > > Take the arm/arch/boot/Image file (or a pre-built one), create a > uImage file with U-Boot's mkimage and write it to flash. > > It's up to you how to write the file into flash. Either use the Boot > Monitor in semihosting mode or NFU (on the Versatile CD) or directly > use U-Boot to get an image from the network and write it to > flash. It's a bit OT for this group to discuss writing images into the > Versatile's flash. If you still don't manage, you could probably > contact ARM's support (but google a bit before since this was > discussed about a month ago on these lists). > > -- > Catalin > > > > > ------------------------------ > > Message: 5 > Date: Thu, 21 Jul 2005 14:45:21 -0400 > From: Ralph Siemsen <ralphs@xxxxxxxxxxxxx> > Subject: Re: Installing ppp/pppd in arm-linux > To: Nathan M <ngmlinux@xxxxxxxxx> > Cc: linux-arm@xxxxxxxxxxxxxxxxxxxxxx > Message-ID: <42DFED41.2030501@xxxxxxxxxxxxx> > Content-Type: text/plain; charset=us-ascii; format=flowed > > Nathan M wrote: > > It looks like my target has at least part of GLIBC_2.2, which would > > suggest this is simply a version conflict, however I'm also concerned > > that CompuLab may not have included a full copy of glibc. I could > > perhaps search for an an older rpm of ppp for netwinder or attempt to > > update my glibc to 2.3.xx. Any recommendations? Or if anyone has > > used a similar modem configuration, your input may be very useful. > > Unfortunately there was never a netwinder distribution with glibc 2.2. > NW9 used glibc 2.3 > DM-3.1-15 used glibc 2.1 > > You might have some luck in just making a symbolic link in your /lib or > /usr/lib directories so as to "correct" the available glibc names. > > Or else bite the bullet and get yourself a working cross compiler. ;) > > -R > > > > ------------------------------ > > Message: 6 > Date: Thu, 21 Jul 2005 15:45:55 -0400 > From: Nathan M <ngmlinux@xxxxxxxxx> > Subject: Re: Installing ppp/pppd in arm-linux > To: Ralph Siemsen <ralphs@xxxxxxxxxxxxx> > Cc: linux-arm@xxxxxxxxxxxxxxxxxxxxxx > Message-ID: <7935191050721124575c2935@xxxxxxxxxxxxxx> > Content-Type: text/plain; charset=ISO-8859-1 > > > Unfortunately there was never a netwinder distribution with glibc 2.2. > > NW9 used glibc 2.3 > > DM-3.1-15 used glibc 2.1 > > The distro is not a pure NetWinder, it has been modified substantially > by CompuLab for the CM-X255 (ARMCore). > > > You might have some luck in just making a symbolic link in your /lib or > > /usr/lib directories so as to "correct" the available glibc names. > > Could you elaborate a little more here on what should be done? Are > you suggesting the creation of a bunch of links with 2.3 naming > pointed to glibc 2.2 files? If that is the case I'm thinking this > would involve many symbolic links as opposed to one. > > > Or else bite the bullet and get yourself a working cross compiler. ;) > > I think my CC is working, i've done a clean reinstall with the same > issues, and it does work x-compiling other applications. The cross > compiler is also the latest one offered from CompuLab. I could try > downloading it from the gcc site, however I'm not sure if any special > mods have been made to CompuLab's version that may be important for my > particular board. > > -Nathan > > > > ------------------------------ > > _______________________________________________ > Linux-arm mailing list > Linux-arm@xxxxxxxxxxxxxxxxxxxxxx > http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm > > End of Linux-arm Digest, Vol 24, Issue 24 > ***************************************** > ------------------------------------------------------------------- List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm FAQ: http://www.arm.linux.org.uk/mailinglists/faq.php Etiquette: http://www.arm.linux.org.uk/mailinglists/etiquette.php
[Site Home] [IETF Annouce] [Security] [Bugtraq] [Linux] [Linux ARM Kernel] [Linux MIPS] [ECOS] [Tools] [DDR & Rambus] [Monitors]