AnsweredAssumed Answered

question about use MFGtools

Question asked by Eddy Liu on Mar 24, 2014
Latest reply on Apr 10, 2014 by Eddy Liu

hi all,

I am working on PCIMX6S6AVM08AB and use Mfgtools-Rel-4.1.0_130816_MX6DL_UPDATER to down load u-boot uImage and fs to eMMC.



in my ucl2.xml:

Header 1
<LIST name="i.MX6SOLO-SABRESD-SD" desc="Choose SD as media">
    <CMD state="BootStrap" type="boot" body="BootStrap" file ="u-boot-mx6solo-sabresd.bin" >Loading U-boot</CMD>
    <CMD state="BootStrap" type="load" file="uImage" address="0x10800000"
        loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" >Loading Kernel.</CMD>
    <CMD state="BootStrap" type="load" file="initramfs.cpio.gz.uboot" address="0x10C00000"
        loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" >Loading Initramfs.</CMD>
    <CMD state="BootStrap" type="jump" > Jumping to OS image. </CMD>
    <CMD state="Updater" type="push" body="$ ls /dev/">ls -l /dev/</CMD>


on terminal:

Header 1
U-Boot 2009.08 (Aug 16 2013 - 15:02:51)


CPU: Freescale i.MX6 family TO1.1 at 792 MHz
Thermal sensor with ratio = 188
Temperature:   40 C, calibration data 0x5a34e87d
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   : 198000000Hz
emi_slow clock: 99000000Hz
ddr clock     : 396000000Hz
usdhc1 clock  : 198000000Hz
usdhc2 clock  : 198000000Hz
usdhc3 clock  : 198000000Hz
usdhc4 clock  : 198000000Hz
nfc clock     : 24000000Hz
Board: i.MX6DL/Solo-SABRESD: unknown-board Board: 0x61011 [POR ]
Boot Device: MMC
I2C:   ready
DRAM:  512 MB
Using default environment


In:    serial
Out:   serial
Err:   serial
Net:   got MAC address from IIM: 00:00:00:00:00:00
Hit any key to stop autoboot:  0
## Booting kernel from Legacy Image at 10800000 ...
   Image Name:   Linux-3.0.35-2666-gbdde708
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3165516 Bytes =  3 MB
   Load Address: 10008000
   Entry Point:  10008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 10c00000 ...
   Image Name:   uboot initramfs rootfs
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    4545326 Bytes =  4.3 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK


Starting kernel ...


Uncompressing Linux... done, booting the kernel.
Linux version 3.0.35-2666-gbdde708 (r65388@shlinux3) (gcc version 4.6.2 20110630 (prerelease) (Freescale MAD -- Linaro 2011.07 -- Built at 2011/08/10 09
:20) ) #1 SMP PREEMPT Fri Aug 16 14:34:30 CST 2013
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
CPU identified as i.MX6DL/SOLO, silicon rev 1.1
PERCPU: Embedded 7 pages/cpu @8bc06000 s5184 r8192 d15296 u32768
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 97280
Kernel command line: console=ttymxc0,115200 rdinit=/linuxrc enable_wait_mode=off nosmp
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: 384MB = 384MB total
Memory: 377924k/377924k available, 146364k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xf4600000 - 0xffe00000   ( 184 MB)
    vmalloc : 0xa0800000 - 0xf2000000   (1304 MB)
    lowmem  : 0x80000000 - 0xa0000000   ( 512 MB)
    pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
    modules : 0x7f000000 - 0x7fe00000   (  14 MB)
      .init : 0x80008000 - 0x8003a000   ( 200 kB)
      .text : 0x8003a000 - 0x805ada70   (5583 kB)
      .data : 0x805ae000 - 0x805fc880   ( 315 kB)
       .bss : 0x805fc8a4 - 0x806277f4   ( 172 kB)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Preemptible hierarchical RCU implementation.
MXC GPIO hardware
sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655ms
Set periph_clk's parent to pll2_pfd_400M!
MXC_Early serial console at MMIO 0x2020000 (options '115200')
bootconsole [ttymxc0] enabled
Console: colour dummy device 80x30
Calibrating delay loop... 1581.05 BogoMIPS (lpj=7905280)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
Brought up 1 CPUs
SMP: Total of 1 processors activated (1581.05 BogoMIPS).
print_constraints: dummy:
NET: Registered protocol family 16
print_constraints: vddpu: 725 <--> 1300 mV at 700 mV fast normal
print_constraints: vddcore: 725 <--> 1300 mV at 1150 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: 2625 <--> 3400 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 0x410000c8, AUX_CTRL 0x02050000, Cache size: 524288 B
bio: create slab <bio-0> at 0
mxs-dma mxs-dma-apbh: initialized
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
mc_pfuze 1-0008: recv failed!:-5,80
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)
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: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 5, 196608 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
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: 4436K
PMU: registered new PMU device of type 0
Static Power Management for Freescale i.MX6
wait mode is disabled for i.MX6
cpaddr = a0820000 suspend_iram_base=a08b4000
PM driver module loaded
IMX usb wakeup probe
cpu regulator mode:ldo_enable
i.MXC CPU frequency driver
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 746
cryptodev: driver loaded.
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
mxc_sdc_fb mxc_sdc_fb.0: register mxc display driver ldb
_regulator_get: get() with no identifier
imx-ipuv3 imx-ipuv3.0: IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7)
Console: switching to colour frame buffer device 128x48
mxc_sdc_fb mxc_sdc_fb.1: register mxc display driver ldb
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: unrecognized JEDEC id ffffff
GPMI NAND driver registered. (IMX)
vcan: Virtual CAN interface driver
FEC Ethernet Driver
fec_enet_mii_bus: probed
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
ARC USBOTG Device Controller driver (1 August 2005)
add wake up source irq 75
g_file_storage gadget: controller 'fsl-usb2-udc' not recognized
check_parameters:UTP settings are in place now, overriding defaults
g_file_storage gadget: No serial-number string provided!
g_file_storage gadget: File-backed Storage Gadget, version: 1 September 2010
g_file_storage gadget: Number of LUNs=1
fsl-usb2-udc: bind to driver g_file_storage
mousedev: PS/2 mouse device common for all mice
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
snvs_rtc snvs_rtc.0: rtc core: registered snvs_rtc as rtc0
i2c /dev entries driver
Linux video capture interface: v2.00
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
imx2-wdt imx2-wdt.0: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=1)
Bluetooth: Virtual HCI driver ver 1.3
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: SDHCI controller on platform [sdhci-esdhc-imx.3] using ADMA
mmc1: SDHCI controller on platform [sdhci-esdhc-imx.1] using ADMA
mmc2: SDHCI controller on platform [sdhci-esdhc-imx.2] using ADMA
mxc_vdoa mxc_vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
VPU initialized
mxc_asrc registered
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
Cirrus Logic CS42888 ALSA SoC Codec Driver
i2c-core: driver [cs42888] using legacy suspend method
i2c-core: driver [cs42888] using legacy resume method
imx-hdmi-soc-dai imx-hdmi-soc-dai.0: Failed: Load HDMI-video first.
imx_3stack asoc driver
ALSA device list:
  No soundcards found.
TCP cubic registered
NET: Registered protocol family 17
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
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
Bus freq driver module loaded
Bus freq driver Enabled
DVFS driver module loaded
regulator_init_complete: SPKVDD: incomplete constraints, leaving on
snvs_rtc snvs_rtc.0: setting system clock to 1970-01-01 00:00:00 UTC (0)
Freeing init memory: 200K
Starting UTP
ln: /etc/mtab: File exists
disable turn off display
Starting the hotplug events dispatcher udevd
Synthesizing initial hotplug events
udevd (2079): /proc/2079/oom_adj is deprecated, please use /proc/2079/oom_score_adj instead.
g_file_storage gadget: high speed config #1
uuc 0.4 [built Aug 16 2013 01:24:08]
UTP: Waiting for device to appear
UTP: file/device node /dev/utp already exists
cpu_id is 0
UTP: received command '$ ls /dev/'
UTP: executing "ls /dev/"
XOR                 ptyra               tty25               ttyr0
apm_bios            ptyrb               tty26               ttyr1
console             ptyrc               tty27               ttyr2
cpu_dma_latency     ptyrd               tty28               ttyr3
crypto              ptyre               tty29               ttyr4
fb                  ptyrf               tty3                ttyr5
fb0                 ptys0               tty30               ttyr6
fb1                 ptys1               tty31               ttyr7
fb2                 ptys2               tty32               ttyr8
full                ptys3               tty33               ttyr9
i2c-0               ptys4               tty34               ttyra
i2c-1               ptys5               tty35               ttyrb
i2c-2               ptys6               tty36               ttyrc
i2c-3               ptys7               tty37               ttyrd
input               ptys8               tty38               ttyre
kmem                ptys9               tty39               ttyrf
kmsg                ptysa               tty4                ttys0
loop0               ptysb               tty40               ttys1
loop1               ptysc               tty41               ttys2
loop2               ptysd               tty42               ttys3
loop3               ptyse               tty43               ttys4
loop4               ptysf               tty44               ttys5
loop5               ptyt0               tty45               ttys6
loop6               ptyt1               tty46               ttys7
loop7               ptyt2               tty47               ttys8
mem                 ptyt3               tty48               ttys9
mxc_asrc            ptyt4               tty49               ttysa
mxc_hdmi            ptyt5               tty5                ttysb
mxc_ipu             ptyt6               tty50               ttysc
mxc_mem             ptyt7               tty51               ttysd
mxc_vpu             ptyt8               tty52               ttyse
mxs_viim            ptyt9               tty53               ttysf
network_latency     ptyta               tty54               ttyt0
network_throughput  ptytb               tty55               ttyt1
null                ptytc               tty56               ttyt2
psaux               ptytd               tty57               ttyt3
ptmx                ptyte               tty58               ttyt4
pts                 ptytf               tty59               ttyt5
ptya0               ptyu0               tty6                ttyt6
ptya1               ptyu1               tty60               ttyt7
ptya2               ptyu2               tty61               ttyt8
ptya3               ptyu3               tty62               ttyt9
ptya4               ptyu4               tty63               ttyta
ptya5               ptyu5               tty7                ttytb
ptya6               ptyu6               tty8                ttytc
ptya7               ptyu7               tty9                ttytd
ptya8               ptyu8               ttya0               ttyte
ptya9               ptyu9               ttya1               ttytf
ptyaa               ptyua               ttya2               ttyu0
ptyab               ptyub               ttya3               ttyu1
ptyac               ptyuc               ttya4               ttyu2
ptyad               ptyud               ttya5               ttyu3
ptyae               ptyue               ttya6               ttyu4
ptyaf               ptyuf               ttya7               ttyu5
ptyb0               ptyv0               ttya8               ttyu6
ptyb1               ptyv1               ttya9               ttyu7
ptyb2               ptyv2               ttyaa               ttyu8
ptyb3               ptyv3               ttyab               ttyu9
ptyb4               ptyv4               ttyac               ttyua
ptyb5               ptyv5               ttyad               ttyub
ptyb6               ptyv6               ttyae               ttyuc
ptyb7               ptyv7               ttyaf               ttyud
ptyb8               ptyv8               ttyb0               ttyue
ptyb9               ptyv9               ttyb1               ttyuf
ptyba               ptyva               ttyb2               ttyv0
ptybb               ptyvb               ttyb3               ttyv1
ptybc               ptyvc               ttyb4               ttyv2
ptybd               ptyvd               ttyb5               ttyv3
ptybe               ptyve               ttyb6               ttyv4
ptybf               ptyvf               ttyb7               ttyv5
ptyc0               ptyw0               ttyb8               ttyv6
ptyc1               ptyw1               ttyb9               ttyv7
ptyc2               ptyw2               ttyba               ttyv8
ptyc3               ptyw3               ttybb               ttyv9
ptyc4               ptyw4               ttybc               ttyva
ptyc5               ptyw5               ttybd               ttyvb
ptyc6               ptyw6               ttybe               ttyvc
ptyc7               ptyw7               ttybf               ttyvd
ptyc8               ptyw8               ttyc0               ttyve
ptyc9               ptyw9               ttyc1               ttyvf
ptyca               ptywa               ttyc2               ttyw0
ptycb               ptywb               ttyc3               ttyw1
ptycc               ptywc               ttyc4               ttyw2
ptycd               ptywd               ttyc5               ttyw3
ptyce               ptywe               ttyc6               ttyw4
ptycf               ptywf               ttyc7               ttyw5
ptyd0               ptyx0               ttyc8               ttyw6
ptyd1               ptyx1               ttyc9               ttyw7
ptyd2               ptyx2               ttyca               ttyw8
ptyd3               ptyx3               ttycb               ttyw9
ptyd4               ptyx4               ttycc               ttywa
ptyd5               ptyx5               ttycd               ttywb
ptyd6               ptyx6               ttyce               ttywc
ptyd7               ptyx7               ttycf               ttywd
ptyd8               ptyx8               ttyd0               ttywe
ptyd9               ptyx9               ttyd1               ttywf
ptyda               ptyxa               ttyd2               ttyx0
ptydb               ptyxb               ttyd3               ttyx1
ptydc               ptyxc               ttyd4               ttyx2
ptydd               ptyxd               ttyd5               ttyx3
ptyde               ptyxe               ttyd6               ttyx4
ptydf               ptyxf               ttyd7               ttyx5
ptye0               ptyy0               ttyd8               ttyx6
ptye1               ptyy1               ttyd9               ttyx7
ptye2               ptyy2               ttyda               ttyx8
ptye3               ptyy3               ttydb               ttyx9
ptye4               ptyy4               ttydc               ttyxa
ptye5               ptyy5               ttydd               ttyxb
ptye6               ptyy6               ttyde               ttyxc
ptye7               ptyy7               ttydf               ttyxd
ptye8               ptyy8               ttye0               ttyxe
ptye9               ptyy9               ttye1               ttyxf
ptyea               ptyya               ttye2               ttyy0
ptyeb               ptyyb               ttye3               ttyy1
ptyec               ptyyc               ttye4               ttyy2
ptyed               ptyyd               ttye5               ttyy3
ptyee               ptyye               ttye6               ttyy4
ptyef               ptyyf               ttye7               ttyy5
ptyp0               ptyz0               ttye8               ttyy6
ptyp1               ptyz1               ttye9               ttyy7
ptyp2               ptyz2               ttyea               ttyy8
ptyp3               ptyz3               ttyeb               ttyy9
ptyp4               ptyz4               ttyec               ttyya
ptyp5               ptyz5               ttyed               ttyyb
ptyp6               ptyz6               ttyee               ttyyc
ptyp7               ptyz7               ttyef               ttyyd
ptyp8               ptyz8               ttymxc0             ttyye
ptyputp_poll: pass returned.
9               ptyz9               ttymxc2             ttyyf
ptypa               ptyza               ttyp0               ttyz0
ptypb               ptyzb               ttyp1               ttyz1
ptypc               ptyzc               ttyp2               ttyz2
ptypd               ptyzd               ttyp3               ttyz3
ptype               ptyze               ttyp4               ttyz4
ptypf               ptyzf               ttyp5               ttyz5
ptyq0               random              ttyp6               ttyz6
ptyq1               rfkill              ttyp7               ttyz7
ptyq2               rtc                 ttyp8               ttyz8
ptyq3               rtc0                ttyp9               ttyz9
ptyq4               shm                 ttypa               ttyza
ptyq5               snd                 ttypb               ttyzb
ptyq6               tracebuf            ttypc               ttyzc
ptyq7               tty                 ttypd               ttyzd
ptyq8               tty0                ttype               ttyze
ptyq9               tty1                ttypf               ttyzf
ptyqa               tty10               ttyq0               ubi_ctrl
ptyqb               tty11               ttyq1               urandom
ptyqc               tty12               ttyq2               utp
ptyqd               tty13               ttyq3               vcs
ptyqe               tty14               ttyq4               vcs1
ptyqf               tty15               ttyq5               vcsa
ptyr0               tty16               ttyq6               vcsa1
ptyr1               tty17               ttyq7               vhci
ptyr2               tty18               ttyq8               video16
ptyr3               tty19               ttyq9               video17
ptyr4               tty2                ttyqa               video18
ptyr5               tty20               ttyqb               watchdog
ptyr6               tty21               ttyqc               zero
ptyr7               tty22               ttyqd
ptyr8               tty23               ttyqe
ptyr9               tty24               ttyqf
UTP: sending Success to kernel for command $ ls /dev/.



No eMMC relative device node is found in /dev/. now I want to use eMMC as  boot device, can you tell me what I can do for that?



thanks sincerely.


Message was edited by: Eddy Liu