From: "Peter Kuennemann@Crane-Soft" <pkue@crane-soft.de>
To: barebox@lists.infradead.org
Subject: Booting PhyTec PCM043/IMX35 from USB/SD-Card
Date: Wed, 23 May 2012 17:43:52 +0200 [thread overview]
Message-ID: <4FBD05B8.40001@crane-soft.de> (raw)
Hi all.
I am trying to setup my PCM043/IMX35 board to boot from the
USB MMC card but til now I do have have any clue how to manage.
Searching the net, did not provide any hints regard that board.
I'ld like to have barebox to allow me to use the USB/MMC card
as boot device. Is there a chance to boot from SD-Card at all?
-- barebox configuration data --
I have enabled USB support (USB_EHCI/OHCI and USB_STORAGE ) as well as
CONFIG_UBI=y
CONFIG_DISK=y
CONFIG_DISK_WRITE=y
...
CONFIG_USB=y
CONFIG_USB_EHCI=y
CONFIG_USB_OHCI=y
# CONFIG_USB_ULPI is not set
# CONFIG_USB_TWL4030 is not set
CONFIG_USB_STORAGE=y
# CONFIG_USB_GADGET is not set
# CONFIG_VIDEO is not set
CONFIG_MCI=y
...
CONFIG_MCI_STARTUP=y
CONFIG_MCI_INFO=y
CONFIG_MCI_WRITE=y
CONFIG_MCI_IMX_ESDHC=y
CONFIG_MCI_IMX_ESDHC_PIO=y
Device list in bareBox after boot:
---------
barebox@Phytec phyCORE-i.MX35:/ ls /dev
defaultenv env0 imx_iim_bank0
imx_iim_bank1 imx_iim_bank2 imx_iim_bank3
imx_iim_bank4 imx_iim_bank5 imx_iim_bank6
imx_iim_bank7 mem nand0
nand0.barebox nand0.barebox.bb nand0.bareboxenv
nand0.bareboxenv.bb nand0.kernel nand0.kernel.bb
nand0.root nand0.root.bb nand_oob0
nor0 nor0.barebox nor0.bareboxenv
nor0.kernel nor0.root phy0
ram0 self0 zero
----------
And the environment:
locals:
machine=pcm043
kernel_loc=nor
rootfs_loc=nor
rootfs_type=jffs2
rootfsimage=root.jffs2
kernelimage_type=uimage
kernelimage=uImage-pcm043
nfsroot=192.168.1.161:/tftpboot
autoboot_timeout=3
bootargs=console=ttymxc0,115200
nor_parts=256k(barebox)ro,128k(bareboxenv),2M(kernel),-(root)
rootfs_mtdblock_nor=3
nand_parts=256k(barebox)ro,128k(bareboxenv),2M(kernel),-(root)
rootfs_mtdblock_nand=7
PS1=\e[1;32mbarebox@\e[1;31m\h:\w\e[0m
globals:
barebox_loc=nor
armlinux_architecture=2072
PATH=/env/bin
Any comments will be very much appreciated.
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2012-05-23 16:10 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-23 15:43 Peter Kuennemann@Crane-Soft [this message]
2012-05-24 19:55 ` Booting PhyTec PCM043/IMX35 from USB/SD-Card Sascha Hauer
2012-05-25 9:35 ` Peter Kuennemann@Crane-Soft
2012-05-31 18:27 ` Sascha Hauer
2012-05-31 19:13 ` CRANESOFT
2012-06-28 6:53 ` Peter Kuennemann@Crane-Soft
2012-06-28 10:43 ` Sascha Hauer
2012-06-28 13:36 ` Peter Kuennemann@Crane-Soft
2012-06-28 13:54 ` Sascha Hauer
2012-08-23 17:59 ` Peter
2012-08-24 8:46 ` Jan Lübbe
2012-08-27 7:45 ` Peter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FBD05B8.40001@crane-soft.de \
--to=pkue@crane-soft.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.