Unable to boot
Stefan Kalkowski
stefan.kalkowski at ...1...
Mon Jul 8 11:39:03 CEST 2013
Hi Amit,
On 07/08/2013 10:52 AM, Amit Choudhari wrote:
> Hi Stefan,
>
> I work with Archie. The build described above was done with foc_imx53 as
> base. All right, we'll rebuild the system with hw. The link that
> explains TFTP boot using u-boot only describes Panda. Is there a script
> for imx53. If so, where?
no there isn't. Nevertheless, the way how u-boot handles loading files
via network, or sd-card, or whatever has in general nothing to do with
the platform it is running on top of, nor with the operating system it
tries to load. In contrast to that, the binary of u-boot of course is
highly platform specific.
Therefore, the way how to load files via network can be done the same
way like on Pandaboard. The only difference as far as I remember
correctly is: on i.MX53 you don't need to initialize the USB Host
controller in u-boot to use network, because its network controller
isn't connected via USB. In short you don't have to trigger 'usb start'
like on Pandaboard. So the steps you've to do are:
# either 'dhcp' or 'setenv ipaddr xxx.xxx.xxx.xxx'
# 'setenv serverip xxx.xxx.xxx.xxx' as long it isn't set via DHCP
# 'tftp 0x70800000 [path_to_uimage]/uImage'
# 'bootm 0x70800000'
If you are playing with different ARM hardware platforms, and trying
different OSes on top of it, I strongly recommend to you to study the
u-boot documentation, and get an initial understanding of its working.
Regards
Stefan
>
> Thanks and Regards
> Amit
>
>
> On Mon, Jul 8, 2013 at 2:14 PM, Stefan Kalkowski
> <stefan.kalkowski at ...1...
> <mailto:stefan.kalkowski at ...1...>> wrote:
>
> Hi,
>
> I've forgotten to ask: are you using the 'hw_imx53' or 'foc_imx53' base
> platform? I just ask, because the Fiasco.OC kernel version currently
> used by Genode is known to not work properly on i.MX53 QSB:
>
> https://github.com/genodelabs/genode/issues/704
>
> So, please only use 'hw_imx53' at this time.
>
> Regards
> Stefan
>
> On 07/08/2013 10:39 AM, Stefan Kalkowski wrote:
> > Hi Archie,
> >
> > On 07/07/2013 12:39 PM, Archie Nidhi wrote:
> >> Hello I have a few questions
> >>
> >> We have successfully created an uImage by following the steps
> given in
> >>
> https://github.com/genodelabs/genode/commit/ce58a63fb661df42e6bf283891589b11a1f411f2#commitcomment-2891606
> >>
> >
> > it is not necessary anymore to do the steps for building a u-boot
> image
> > manually. In the latest release notes you'll find a section that
> > describes how to do this automatically when issuing a run script:
> >
> >
> http://genode.org/documentation/release-notes/13.05#TFTP_boot_using_U-Boot
> >
> > Please, assure to use the latest Genode version, either by cloning
> > current master branch of the Genode git repository, or by downloading
> > the lates release. Then do e.g.:
> > 'RUN_OPT="--target uboot" make run/demo'
> > in a freshly created build directory, and boot the resulting image at:
> > [your_build_directory]/var/run/uImage
> >
> >> We tried to transfer the uImage by tftp and got the following error
> >>
> >> U-Boot > setenv serverip 10.6.1.123
> >> U-Boot > setenv ipaddr 10.6.1.122
> >> U-Boot > setenv bootfile uImage
> >> U-Boot > tftp
> >> Using FEC device
> >> TFTP from server 10.6.1.123; our IP address is 10.6.1.122
> >> Filename 'uImage'.
> >> Load address: 0x10800000
> >> Loading:
> #################################################################
> >>
> #################################################################
> >>
> #################################################################
> >>
> #################################################################
> >>
> #################################################################
> >>
> #################################################################
> >>
> #################################################################
> >> ####
> >> done
> >> Bytes transferred = 2346876 (23cf7c hex)
> >> U-Boot > bootm
> >> ## Booting kernel from Legacy Image at 10800000 ...
> >> Image Name:
> >> Image Type: ARM Linux Kernel Image (gzip compressed)
> >> Data Size: 2346812 Bytes = 2.2 MiB
> >> Load Address: 70140000
> >> Entry Point: 7018b33c
> >> Verifying Checksum ... OK
> >> Uncompressing Kernel Image ...
> >>
> >
> > To me this indicates that something went wrong when loading the
> kernel,
> > please assure to use the way described above. If it nevertheless
> stucks
> > at this place, would you please post the whole initial u-boot
> output in
> > the first place?
> >
> >> It is stuck over here , let me know whether there is another way to
> >> convert uImage to a form from which we can boot from a sdcard.
> >
> > You can always use one and the same uImage to boot it via TFTP, or
> read
> > it from sd-card. There is no difference. For information on how to
> boot
> > a uImage from sd-card, you might consider the u-boot documentation, or
> > online references.
> >
> > Regards
> > Stefan
> >
> >>
> >> Thanks and Regards
> >> Anubhav
> >>
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> This SF.net email is sponsored by Windows:
> >>
> >> Build for Windows Store.
> >>
> >> http://p.sf.net/sfu/windows-dev2dev
> >>
> >>
> >>
> >> _______________________________________________
> >> Genode-main mailing list
> >> Genode-main at lists.sourceforge.net
> <mailto:Genode-main at lists.sourceforge.net>
> >> https://lists.sourceforge.net/lists/listinfo/genode-main
> >>
> >
>
> --
> Stefan Kalkowski
> Genode Labs
>
> http://www.genode-labs.com/ · http://genode.org/
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Genode-main mailing list
> Genode-main at lists.sourceforge.net
> <mailto:Genode-main at lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/genode-main
>
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
>
>
>
> _______________________________________________
> Genode-main mailing list
> Genode-main at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/genode-main
>
--
Stefan Kalkowski
Genode Labs
http://www.genode-labs.com/ · http://genode.org/
More information about the users
mailing list