How to boot form sdcard without emmc

cancel
Showing results for 
Search instead for 
Did you mean: 

How to boot form sdcard without emmc

Jump to solution
3,837 Views
seanchen
Contributor III

Dear Sir,

My board does not use emmc, as only use sdcard.

But when boot form  SD card  without emmc the message is hand on -> Freeing init memory : 220K

Could you tell me how to fix this issue.

/*******************************************************************************************************/

/*                                                                 message                                                               */

/*******************************************************************************************************/

U-Boot 2009.08 (Oct 08 2012 - 09:05:32)

CPU: Freescale i.MX6 family TO1.2 at 792 MHz

Temperature:   43 C, calibration data 0x5a550069

mx6q pll1: 792MHz

mx6q pll2: 528MHz

mx6q pll3: 480MHz

mx6q pll8: 50MHz

ipg clock     : 66000000Hz

ipg per clock : 66000000Hz

uart clock    : 80000000Hz

cspi clock    : 60000000Hz

ahb clock     : 132000000Hz

axi clock   : 264000000Hz

emi_slow clock: 29333333Hz

ddr clock     : 528000000Hz

usdhc1 clock  : 198000000Hz

usdhc2 clock  : 198000000Hz

usdhc3 clock  : 198000000Hz

usdhc4 clock  : 198000000Hz

nfc clock     : 24000000Hz

Board: i.MX6Q-SABRESD: unknown-board Board: 0x63012 [POR ]

Boot Device: SD

I2C:   ready

DRAM:   1 GB

MMC:   FSL_USDHC: 0,FSL_USDHC: 1,FSL_USDHC: 2,FSL_USDHC: 3

In:    serial

Out:   serial

Err:   serial

Net:   got MAC address from IIM: 00:00:00:00:00:00

FEC0 [PRIME]

Hit any key to stop autoboot:  3     2     1     0

kernel   @ 10808000 (3977328)

ramdisk  @ 11800000 (208156)

kernel cmdline:

  use uboot command line:

  console=ttymxc0,115200 androidboot.console=ttymxc0 vmalloc=400M init=/init video=mxcfb0:dev=hdmi,1920x1080M@60 video=mxcfb1:off video=mxcfb2:off fbmem=28M

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

Initializing cgroup subsys cpuset

Initializing cgroup subsys cpu

Linux version 3.0.15-02345-g411d6f6 (qq@qq-laptop) (gcc version 4.4.3 (GCC) ) #1 SMP PREEMPT Fri Oct 5 16:04:34 CST 2012

CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d

CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache

Machine: Freescale i.MX 6Quad/DualLite/Solo Sabre-SD Board

Memory policy: ECC disabled, Data cache writealloc

PERCPU: Embedded 7 pages/cpu @c10fa000 s5760 r8192 d14720 u32768

Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 203776

Kernel command line: console=ttymxc0,115200 androidboot.console=ttymxc0 vmalloc=400M init=/init video=mxcfb0:dev=hdmi,1920x1080M@60 video=mxcfb1:off video=mxcfb2:off fbmem=28M

PID hash table entries: 2048 (order: 1, 8192 bytes)

Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)

Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)

Memory: 640MB 164MB = 804MB total

Memory: 805184k/805184k available, 243392k reserved, 413696K highmem

Virtual kernel memory layout:

    vector  : 0xffff0000 - 0xffff1000   (   4 kB)

    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)

    DMA     : 0xfbe00000 - 0xffe00000   (  64 MB)

    vmalloc : 0xd9800000 - 0xf2000000   ( 392 MB)

    lowmem  : 0xc0000000 - 0xd9000000   ( 400 MB)

    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)

    modules : 0xbf000000 - 0xbfe00000   (  14 MB)

      .init : 0xc0008000 - 0xc003f000   ( 220 kB)

      .text : 0xc003f000 - 0xc075d9b0   (7291 kB)

      .data : 0xc075e000 - 0xc07c48a0   ( 411 kB)

       .bss : 0xc07c48c4 - 0xc08f0ab0   (1201 kB)

Preemptible hierarchical RCU implementation.

NR_IRQS:496

MXC GPIO hardware

sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655ms

MXC_Early serial console at MMIO 0x2020000 (options '115200')

bootconsole [ttymxc0] enabled

Calibrating delay loop... 1581.05 BogoMIPS (lpj=7905280)

pid_max: default: 32768 minimum: 301

Mount-cache hash table entries: 512

Initializing cgroup subsys cpuacct

CPU: Testing write buffer coherency: ok

hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available

CPU1: Booted secondary processor

CPU2: Booted secondary processor

CPU3: Booted secondary processor

Brought up 4 CPUs

SMP: Total of 4 processors activated (6324.22 BogoMIPS).

print_constraints: dummy:

NET: Registered protocol family 16

print_constraints: vddpu: 725 <--> 1300 mV at 1100 mV fast normal

print_constraints: vddcore: 725 <--> 1300 mV at 1100 mV fast normal

print_constraints: vddsoc: 725 <--> 1300 mV at 1200 mV fast normal

print_constraints: vdd2p5: 2000 <--> 2775 mV at 2400 mV fast normal

print_constraints: vdd1p1: 800 <--> 1400 mV at 1100 mV fast normal

print_constraints: vdd3p0: 2800 <--> 3150 mV at 3000 mV fast normal

hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.

hw-breakpoint: 1 breakpoint(s) reserved for watchpoint single-step.

hw-breakpoint: maximum watchpoint size is 4 bytes.

L310 cache controller enabled

l2x0: 16 ways, CACHE_ID 0x410000c7, AUX_CTRL 0x02070000, Cache size: 1048576 B

IMX usb wakeup probe

IMX usb wakeup probe

bio: create slab <bio-0> at 0

print_constraints: SPKVDD: 4200 mV

print_constraints: vmmc: 3300 mV

SCSI subsystem initialized

spi_imx imx6q-ecspi.0: probed

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

Freescale USB OTG Driver loaded, $Revision: 1.55 $

add wake up source irq 75

mc_pfuze 1-0008: recv failed!:-5,0

mc_pfuze: probe of 1-0008 failed with error -1

imx-ipuv3 imx-ipuv3.0: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)

imx-ipuv3 imx-ipuv3.1: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)

mxc_mipi_csi2 mxc_mipi_csi2: i.MX MIPI CSI2 driver probed

mxc_mipi_csi2 mxc_mipi_csi2: i.MX MIPI CSI2 dphy version is 0x3130302a

MIPI CSI2 driver module loaded

Advanced Linux Sound Architecture Driver Version 1.0.24.

Bluetooth: Core ver 2.16

NET: Registered protocol family 31

Bluetooth: HCI device and connection manager initialized

Bluetooth: HCI socket layer initialized

Bluetooth: L2CAP socket layer initialized

Bluetooth: SCO socket layer initialized

max17135 2-0048: PMIC MAX17135 for eInk display

i2c-core: driver [max17135] using legacy suspend method

i2c-core: driver [max17135] using legacy resume method

Switching to clocksource mxc_timer1

NET: Registered protocol family 2

IP route cache hash table entries: 16384 (order: 4, 65536 bytes)

TCP established hash table entries: 65536 (order: 7, 524288 bytes)

TCP bind hash table entries: 65536 (order: 7, 786432 bytes)

TCP: Hash tables configured (established 65536 bind 65536)

TCP reno registered

UDP hash table entries: 256 (order: 1, 8192 bytes)

UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)

NET: Registered protocol family 1

RPC: Registered named UNIX socket transport module.

RPC: Registered udp transport module.

RPC: Registered tcp transport module.

RPC: Registered tcp NFSv4.1 backchannel transport module.

Unpacking initramfs...

Freeing initrd memory: 200K

Static Power Management for Freescale i.MX6

cpaddr = d9884000 suspend_iram_base=d9932000

PM driver module loaded

i.MXC CPU frequency driver

highmem bounce pool size: 64 pages

ashmem: initialized

JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.

msgmni has been set to 765

cryptodev: driver loaded.

io scheduler noop registered

io scheduler deadline registered

io scheduler cfq registered (default)

mxc_mipi_dsi mxc_mipi_dsi: i.MX MIPI DSI driver probed

MIPI DSI driver module loaded

mxc_sdc_fb mxc_sdc_fb.0: register mxc display driver hdmi

mxc_hdmi mxc_hdmi: Detected HDMI controller 0x13:0xa:0xa0:0xc1

fbcvt: 1920x1080@60: CVT Name - 2.073M9

imx-ipuv3 imx-ipuv3.0: IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7)

mxc_sdc_fb mxc_sdc_fb.1: register mxc display driver hdmi

mxc_hdmi mxc_hdmi: Error only one HDMI output support now!

mxc_sdc_fb mxc_sdc_fb.1: NO mxc display driver found!

mxc_sdc_fb mxc_sdc_fb.2: register mxc display driver ldb

_regulator_get: get() with no identifier

imx-sdma imx-sdma: loaded firmware 1.1

imx-sdma imx-sdma: initialized

Serial: IMX driver

imx-uart.2: ttymxc2 at MMIO 0x21ec000 (irq = 60) is a IMX

imx-uart.0: ttymxc0 at MMIO 0x2020000 (irq = 58) is a IMX

console [ttymxc0] enabled, bootconsole disabled

console [ttymxc0] enabled, bootconsole disabled

loop: module loaded

m25p80 spi0.0: found sst25vf032b, expected sst25vf016b

m25p80 spi0.0: sst25vf032b (4096 Kbytes)

Creating 2 MTD partitions on "m25p80":

0x000000000000-0x000000040000 : "bootloader"

0x000000040000-0x000000400000 : "kernel"

vcan: Virtual CAN interface driver

CAN device driver interface

flexcan netdevice driver

FEC Ethernet Driver

fec_enet_mii_bus: probed

PPP generic driver version 2.4.2

PPP Deflate Compression module registered

PPP BSD Compression module registered

NET: Registered protocol family 24

ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver

fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller

fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1

fsl-ehci fsl-ehci.0: irq 75, io base 0x02184000

fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 1 port detected

add wake up source irq 72

fsl-ehci fsl-ehci.1: Freescale On-Chip EHCI Host Controller

fsl-ehci fsl-ehci.1: new USB bus registered, assigned bus number 2

fsl-ehci fsl-ehci.1: irq 72, io base 0x02184200

fsl-ehci fsl-ehci.1: USB 2.0 started, EHCI 1.00

hub 2-0:1.0: USB hub found

hub 2-0:1.0: 1 port detected

usbcore: registered new interface driver cdc_acm

cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters

Initializing USB Mass Storage driver...

usbcore: registered new interface driver usb-storage

USB Mass Storage support registered.

usbcore: registered new interface driver usbserial

usbserial: USB Serial Driver core

USB Serial support registered for GSM modem (1-port)

usbcore: registered new interface driver option

option: v0.7.2:USB Driver for GSM modems

ARC USBOTG Device Controller driver (1 August 2005)

android_usb gadget: Mass Storage Function, version: 2009/09/11

android_usb gadget: Number of LUNs=1

lun0: LUN: removable file: (no medium)

Gadget Android: controller 'fsl-usb2-udc' not recognized

android_usb gadget: android_usb ready

Suspend udc for OTG auto detect

fsl-usb2-udc: bind to driver android_usb

mousedev: PS/2 mouse device common for all mice

input: gpio-keys as /devices/platform/gpio-keys/input/input0

egalax_ts 1-0004: egalax_ts: failed to read firmware version

egalax_ts: probe of 1-0004 failed with error -5

egalax_ts 2-0004: egalax_ts: failed to read firmware version

egalax_ts: probe of 2-0004 failed with error -5

i2c-core: driver [isl29023] using legacy suspend method

i2c-core: driver [isl29023] using legacy resume method

using rtc device, snvs_rtc, for alarms

snvs_rtc snvs_rtc.0: rtc core: registered snvs_rtc as rtc0

i2c /dev entries driver

Linux video capture interface: v2.00

usb 2-1: new high speed USB device number 2 using fsl-ehci

mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video16

mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video17

mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video18

mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video19

usbcore: registered new interface driver uvcvideo

USB Video Class driver (v1.1.0)

mag3110 2-000e: check mag3110 chip ID

mag3110 2-000e: read chip ID 0xfffffffb is not equal to 0xc4!

mag3110: probe of 2-000e failed with error -22

i2c-core: driver [mag3110] using legacy suspend method

i2c-core: driver [mag3110] using legacy resume method

mma8451 0-001c: read chip ID 0x1 is not equal to 0x1a or 0x2a!

mma8451: probe of 0-001c failed with error -22

imx2-wdt imx2-wdt.0: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=1)

device-mapper: uevent: version 1.0.3

device-mapper: ioctl: 4.20.0-ioctl (2011-02-02) initialised: dm-devel@redhat.com

Bluetooth: Virtual HCI driver ver 1.3

Bluetooth: HCI UART driver ver 2.2

Bluetooth: HCIATH3K protocol initialized

Bluetooth: Generic Bluetooth USB driver ver 0.6

usbcore: registered new interface driver btusb

sdhci: Secure Digital Host Controller Interface driver

sdhci: Copyright(c) Pierre Ossman

mmc0: Unknown controller version (3). You may experience problems.

mmc0: SDHCI controller on platform [sdhci-esdhc-imx.3] using ADMA

mmc1: Unknown controller version (3). You may experience problems.

mmc1: SDHCI controller on platform [sdhci-esdhc-imx.2] using ADMA

mmc2: Unknown controller version (3). You may experience problems.

mmc2: SDHCI controller on platform [sdhci-esdhc-imx.1] using ADMA

mxc_vdoa mxc_vdoa: i.MX Video Data Order Adapter(VDOA) driver probed

VPU initialized

mxc_asrc registered

Anatop Thermal registered as thermal_zone0

anatop_thermal_probe: default cooling device is cpufreq!

usbcore: registered new interface driver usbhid

usbhid: USB HID core driver

logger: created 256K log 'log_main'

logger: created 256K log 'log_events'

logger: created 256K log 'log_radio'

logger: created 256K log 'log_system'

usbcore: registered new interface driver snd-usb-audio

mxc_hdmi_soc mxc_hdmi_soc.0: MXC HDMI Audio

Cirrus Logic CS42888 ALSA SoC Codec Driver

i2c-core: driver [cs42888] using legacy suspend method

i2c-core: driver [cs42888] using legacy resume method

hub 2-1:1.0: USB hub found

wm8962 0-001a: Failed to get supply 'DCVDD': -19

wm8962 0-001a: Failed to request supplies: -19

wm8962 0-001a: asoc: failed to probe CODEC wm8962.0-001a: -19

asoc: failed to instantiate card wm8962-audio: -19

imx_3stack asoc driver

asoc: mxc-hdmi-soc <-> imx-hdmi-soc-dai.0 mapping ok

ALSA device list:

  #0: imx-hdmi-soc

Netfilter messages via NETLINK v0.30.

hub 2-1:1.0: 4 ports detected

nf_conntrack version 0.5.0 (12584 buckets, 50336 max)

ctnetlink v0.93: registering with nfnetlink.

NF_TPROXY: Transparent proxy support initialized, version 4.1.0

NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.

xt_time: kernel timezone is -0000

ip_tables: (C) 2000-2006 Netfilter Core Team

TCP cubic registered

NET: Registered protocol family 10

ip6_tables: (C) 2000-2006 Netfilter Core Team

IPv6 over IPv4 tunneling driver

NET: Registered protocol family 17

NET: Registered protocol family 15

can: controller area network core (rev 20090105 abi 8)

NET: Registered protocol family 29

can: raw protocol (rev 20090105)

can: broadcast manager protocol (rev 20090105 t)

Bluetooth: RFCOMM TTY layer initialized

Bluetooth: RFCOMM socket layer initialized

Bluetooth: RFCOMM ver 1.11

Bluetooth: BNEP (Ethernet Emulation) ver 1.3

Bluetooth: BNEP filters: protocol multicast

Bluetooth: HIDP (Human Interface Emulation) ver 1.2

lib80211: common routines for IEEE802.11 drivers

VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4

Bus freq driver module loaded

mxc_dvfs_core_probe

DVFS driver module loaded

regulator_init_complete: SPKVDD: incomplete constraints, leaving on

Freeing init memory: 220K

/*******************************************************************************************************/

/*                                                             message end                                                             */

/*******************************************************************************************************/

Sean

Labels (2)
0 Kudos
1 Solution
215 Views
seanchen
Contributor III

Hi All,

Thank for everyone for this theme attention.

I solved this issue on my board.

I mark out the code of board-mx6q_sabresd.c

/*===================================================*/

1851         //imx6q_add_sdhci_usdhc_imx(3, &mx6q_sabresd_sd4_data);

/*===================================================*/

This method solved my problem.

View solution in original post

0 Kudos
10 Replies
216 Views
seanchen
Contributor III

Hi All,

Thank for everyone for this theme attention.

I solved this issue on my board.

I mark out the code of board-mx6q_sabresd.c

/*===================================================*/

1851         //imx6q_add_sdhci_usdhc_imx(3, &mx6q_sabresd_sd4_data);

/*===================================================*/

This method solved my problem.

View solution in original post

0 Kudos
215 Views
williamtung
Contributor III

Hi Sean,

I encountered similar issue before. You may want to check those items below:

1. SD card not recognized

mmc0: Unknown controller version (3). You may experience problems.

mmc0: SDHCI controller on platform [sdhci-esdhc-imx.3] using ADMA

mmc1: Unknown controller version (3). You may experience problems.

mmc1: SDHCI controller on platform [sdhci-esdhc-imx.2] using ADMA

mmc2: Unknown controller version (3). You may experience problems.

mmc2: SDHCI controller on platform [sdhci-esdhc-imx.1] using ADMA

There should be something like this "mmc0/1: SD xxGB mmcblk0/1" to point out where the SD card is.

2. SD mounting in init.freescale.rc (hack ramdisk.img)

Based on the kernel messages above, you should change the mount point in init.freescale.rc

ex: /system /dev/mmcblk0p5 --> /dev/mmcblk1p5

3. If you compile your own kernel, make sure your machine name has "freescale" to load init.freescale.rc

I saw this problem on porting our own board which resulted in not loading init.freescale.rc and stuck at "Freeing init memory" forever.


0 Kudos
215 Views
PaulDeMetrotion
Senior Contributor I

I am having the same issue while attempting to boot the L3.0.35_1.1.0_oneiric Linux kernel from Freescale. I am using a custom processor board developed by our company. I have been able to build and boot a custom Linux kernel using LTIB. I would now like to boot this version of Ubuntu with a GUI.

I stop right before the Linux prompt at "Freeing init memory: 204K". I do not have a problem with the mmc since I get the appropriate messages. I cannot find a file called init.freescale.rc within this Linux file system. Is this something I need to add? Below is the bottom part of my boot messages for your reference:

     :

     :

NET: Registered protocol family 26

TCP cubic registered

NET: Registered protocol family 17

can: controller area network core (rev 20090105 abi 8)

NET: Registered protocol family 29

mmc0: new high speed SDHC card at address 0007

mmcblk0: mmc0:0007 SD08G 7.21 GiB

mmcblk0: p1

can: raw protocol (rev 20090105)

can: broadcast manager protocol (rev 20090105 t)

Bluetooth: RFCOMM TTY layer initialized

Bluetooth: RFCOMM socket layer initialized

Bluetooth: RFCOMM ver 1.11

Bluetooth: BNEP (Ethernet Emulation) ver 1.3

Bluetooth: BNEP filters: protocol multicast

Bluetooth: HIDP (Human Interface Emulation) ver 1.2

lib80211: common routines for IEEE802.11 drivers

VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4

Bus freq driver module loaded

Bus freq driver Enabled

mxc_dvfs_core_probe

DVFS driver module loaded

regulator_init_complete: VDDIO: incomplete constraints, leaving on

regulator_init_complete: VDDA: incomplete constraints, leaving on

regulator_init_complete: vddpu: incomplete constraints, leaving on

snvs_rtc snvs_rtc.0: setting system clock to 1970-01-01 00:00:00 UTC (0)

eth0: Freescale FEC PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=1:07, irq=-1)

usb 2-1: new high speed USB device number 2 using fsl-ehci

hub 2-1:1.0: USB hub found

hub 2-1:1.0: 7 ports detected

usb 2-1.4: new low speed USB device number 3 using fsl-ehci

input: Dell Dell USB Keyboard as /devices/platform/fsl-ehci.1/usb2/2-1/2-1.4/2-1

.4:1.0/input/input0

generic-usb 0003:413C:2105.0001: input,hidraw0: USB HID v1.10 Keyboard [Dell Dell USB Keyboard] on usb-fsl-ehci.1-1.4/input0

usb 2-1.3: new low speed USB device number 4 using fsl-ehci

input: Microsoft Basic Optical Mouse as /devices/platform/fsl-ehci.1/usb2/2-1/2-

1.3/2-1.3:1.0/input/input1

generic-usb 0003:045E:0084.0002: input,hidraw1: USB HID v1.10 Mouse [Microsoft Basic Optical Mouse] on usb-fsl-ehci.1-1.3/input0

PHY: 1:07 - Link is Up - 1000/Full

IP-Config: Guessing netmask 255.0.0.0

IP-Config: Complete:

     device=eth0, addr=124.0.0.0, mask=255.0.0.0, gw=255.255.255.255,

     host=124.0.0.0, domain=, nis-domain=(none),

     bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=

EXT3-fs: barriers not enabled

kjournald starting.  Commit interval 5 seconds

EXT3-fs (mmcblk0p1): using internal journal

EXT3-fs (mmcblk0p1): recovery complete

EXT3-fs (mmcblk0p1): mounted filesystem with writeback data mode

VFS: Mounted root (ext3 filesystem) on device 179:1.

Freeing init memory: 204K

0 Kudos
215 Views
LeonardoSandova
Specialist I

I think Linux does not use the configuration file init.freescale.rc (you are installing Ubuntu, not Android). Make sure the kernel command parameter 'root' has the right value, which as I can see it must be root=/dev/mmcblk0p1. Hope it helps.

Leo

0 Kudos
215 Views
RodBorras
NXP Employee
NXP Employee

Sean,

Could you please post your "u-boot parameters"? That would be very helpful.

Just type:

  printenv

Regards,

Rod.

0 Kudos
215 Views
seanchen
Contributor III

Dear RodBorrars,

Thank's for your response.

My u-boot parameters is:

MX6Q SABRESD U-Boot > pri

bootdelay=3

baudrate=115200

ipaddr=192.168.1.103

serverip=192.168.1.101

netmask=255.255.255.0

loadaddr=0x10800000

rd_loadaddr=0x11000000

netdev=eth0

ethprime=FEC0

fastboot_dev=mmc3

ethact=FEC0

bootargs=console=ttymxc0,115200 androidboot.console=ttymxc0 vmalloc=400M init=/init video=mxcfb0:dev=hdmi,1920x1080M@60 fbmem=28M

bootcmd=booti mmc1

stdin=serial

stdout=serial

stderr=serial


Best regards

Sean

0 Kudos
215 Views
hemalgandhi
Contributor III

Hello,

If you are booting android using SD card as boot media, Please set below u-boot parameters.

setenv bootcmd booti mmc2

setenv bootargs console=ttymxc0,115200 androidboot.console=ttymxc0  vmalloc=400M init=/init video=mxcfb0:dev=hdmi,1920x1080M@60 video=mxcfb1:off video=mxcfb2:off fbmem=28M

saveenv

reset

Thanks,

Hemal Gandhi

PicusTech Software.

0 Kudos
215 Views
seanchen
Contributor III

Hi Hemal,

Thank's for your responded.

I tried your suggestion uboot cmd. but it's not work.

Dear All,

It is very sorry, I think my describe is not clear.

Now:

I'm not use the EMMC on my board.

I'm only use SD card to boot and operating Android system.

I tried to use SD card boot on Sabresd_6Q EVK is OK(EVK has emmc),

But use the same SD card to boot my board is not OK(my board has not emmc),

the message is stop on the "Freeing init memory: 220K".

Is not boot process is always to mount EMMC?

Where need to modify of code for disable EMMC?

Sean

0 Kudos
215 Views
RodBorras
NXP Employee
NXP Employee

Sean,

How different is your board from the Sabre SDP? Any hardware differences have to be taken into account, and will require changes to the BSP.

That said, on the Sabre SDP, Android can boot from eMMC (mmc3) or any of the two SD cards (mmc2=SD slot next to HDMI; mmc1=SD slot on opposite site of HDMI). You can point to any of the 3 just by changing the u-boot arguments.

Regards,

Rod.

0 Kudos
215 Views
LeonardoSandova
Specialist I

what is the issue? is the booting process reach the login prompt? Regarding the message 'Freeing init...', this is neither an error nor a warning, it is indicating that some space (more or less a quarter of a megabyte) was released by the kernel, and  most of the times  it is the last message before the login prompt.

0 Kudos