This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

请教BBB中国版开发板通过USB更新系统的问题

Other Parts Discussed in Thread: TPS65910, TPS65217, UNIFLASH

按照这个贴子里的介绍:www.deyisupport.com/.../318052.aspx

可以把映像写到开发板上了,但是启动的时候只能启动到u-boot,加载不了内核。

输出信息见附录一。

不知道是下载方法的问题,还是内核或u-boot编译的不对,还是别的什么原因。

另外想问一下,如果谁有做好的系统映像,能不能共享一下,这样不会编译的人用起来不就轻松多了吗?

我自己感觉烧写用到那一套东西我弄的应该是对的,脚本都执行完了,而且板上的u-boot都跑起来了,估计是要烧写的那一套u-boot或内核出问题了

附录一:烧写到开发板上的映像启动时打印的信息

U-Boot SPL 2013.01.01 (Sep 11 2016 - 23:35:39)
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Peripheral mode controller at 47401000 using PIO, IRQ 0
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Host mode controller at 47401800 using PIO, IRQ 0
OMAP SD/MMC: 0
mmc_send_cmd : timeout: No status update
reading u-boot.img
reading u-boot.img

U-Boot 2013.01.01 (Sep 11 2016 - 23:35:39)
I2C:   ready
DRAM:  512 MiB
WARNING: Caches not enabled
NAND:  No NAND device found!!!
0 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - readenv() failed, using default environment
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Peripheral mode controller at 47401000 using PIO, IRQ 0
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Host mode controller at 47401800 using PIO, IRQ 0
Net:   <ethaddr> not set. Validating first E-fuse MAC
cpsw, usb_ether
Hit any key to stop autoboot:  0
mmc_send_cmd : timeout: No status update
Card did not respond to voltage select!
mmc0(part 0) is current device
mmc_send_cmd : timeout: No status update
Card did not respond to voltage select!
Booting from nand ...
no devices available
Wrong Image Format for bootm command
ERROR: can't get kernel image!
U-Boot#

  • 这是从开始烧时输出的信息:

    CCCCCCCCCCCCCCCCCCCCCCCCC
    U-Boot SPL 2013.01.01 (Sep 01 2016 - 00:31:54)
    musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    musb-hdrc: MHDRC RTL version 2.0
    musb-hdrc: setup fifo_mode 4
    musb-hdrc: 28/31 max ep, 16384/16384 memory
    USB Peripheral mode controller at 47401000 using PIO, IRQ 0
    Using default environment
    usb_ether
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC 78:a5:04:c0:b1:ce
    HOST MAC de:ad:be:af:00:00
    RNDIS ready
    musb-hdrc: peripheral reset irq lost!
    high speed config #2: 2 mA, Ethernet Gadget, using RNDIS
    USB RNDIS network up!
    BOOTP broadcast 1
    BOOTP broadcast 2
    BOOTP broadcast 3
    BOOTP broadcast 4
    BOOTP broadcast 5
    BOOTP broadcast 6
    Using usb_ether device
    TFTP from server 192.168.100.1; our IP address is 192.168.100.100
    Filename 'u-boot-restore.img'.
    Load address: 0x807fffc0
    Loading: #########################
             456.1 KiB/s
    done
    Bytes transferred = 364888 (59158 hex)

    U-Boot 2013.01.01 (Sep 01 2016 - 00:31:54)
    I2C:   ready
    DRAM:  512 MiB
    WARNING: Caches not enabled
    NAND:  No NAND device found!!!
    0 MiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    *** Warning - readenv() failed, using default environment
    musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    musb-hdrc: MHDRC RTL version 2.0
    musb-hdrc: setup fifo_mode 4
    musb-hdrc: 28/31 max ep, 16384/16384 memory
    USB Peripheral mode controller at 47401000 using PIO, IRQ 0
    musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    musb-hdrc: MHDRC RTL version 2.0
    musb-hdrc: setup fifo_mode 4
    musb-hdrc: 28/31 max ep, 16384/16384 memory
    USB Host mode controller at 47401800 using PIO, IRQ 0
    Net:   <ethaddr> not set. Validating first E-fuse MAC
    cpsw, usb_ether
    Hit any key to stop autoboot:  0
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC 78:a5:04:c0:b1:ce
    HOST MAC de:ad:be:af:00:00
    RNDIS ready
    musb-hdrc: peripheral reset irq lost!
    high speed config #2: 2 mA, Ethernet Gadget, using RNDIS
    USB RNDIS network up!
    BOOTP broadcast 1
    BOOTP broadcast 2
    DHCP client bound to address 192.168.100.100
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC 78:a5:04:c0:b1:ce
    HOST MAC de:ad:be:af:00:00
    RNDIS ready
    high speed config #2: 2 mA, Ethernet Gadget, using RNDIS
    high speed config #2: 2 mA, Ethernet Gadget, using RNDIS
    USB RNDIS network up!
    Using usb_ether device
    TFTP from server 192.168.100.1; our IP address is 192.168.100.100
    Filename 'uImage'.
    Load address: 0x81000000
    Loading: T #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             ######################################
             505.9 KiB/s
    done
    Bytes transferred = 8186488 (7cea78 hex)
    ## Booting kernel from Legacy Image at 81000000 ...
       Image Name:   Linux-3.2.0
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    8186424 Bytes = 7.8 MiB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK
    Starting kernel ...
    Uncompressing Linux... done, booting the kernel.
    [    0.000000] Linux version 3.2.0 (root@ubuntu) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #4 Tue Sep 6 01:44:50 PDT 2016
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine: am335xevm
    [    0.000000] Memory policy: ECC disabled, Data cache writeback
    [    0.000000] AM335X ES2.1 (sgx neon )
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
    [    0.000000] Kernel command line: root=/dev/mmcblk0p2 rootwait console=ttyO0,115200
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 512MB = 512MB total
    [    0.000000] Memory: 502700k/502700k available, 21588k reserved, 0K highmem
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    [    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    [    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc05a1000   (5732 kB)
    [    0.000000]       .init : 0xc05a1000 - 0xc100c000   (10668 kB)
    [    0.000000]       .data : 0xc100c000 - 0xc1077308   ( 429 kB)
    [    0.000000]        .bss : 0xc107732c - 0xc10a62a4   ( 188 kB)
    [    0.000000] NR_IRQS:396
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [    0.000000] Total of 128 interrupts on 1 active controller
    [    0.000000] OMAP clockevent source: GPTIMER2 at 24000000 Hz
    [    0.000000] OMAP clocksource: GPTIMER1 at 32768 Hz
    [    0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
    [    0.000000] Console: colour dummy device 80x30
    [    0.000061] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
    [    0.089263] pid_max: default: 32768 minimum: 301
    [    0.089355] Security Framework initialized
    [    0.089416] Mount-cache hash table entries: 512
    [    0.089721] CPU: Testing write buffer coherency: ok
    [    0.108947] omap_hwmod: pruss: failed to hardreset
    [    0.109863] print_constraints: dummy:
    [    0.110168] NET: Registered protocol family 16
    [    0.111785] OMAP GPIO hardware version 0.1
    [    0.113708] omap_mux_init: Add partition: #1: core, flags: 0
    [    0.115142]  omap_i2c.1: alias fck already exists
    [    0.115814]  omap2_mcspi.1: alias fck already exists
    [    0.115966]  omap2_mcspi.2: alias fck already exists
    [    0.116638]  edma.0: alias fck already exists
    [    0.116668]  edma.0: alias fck already exists
    [    0.116668]  edma.0: alias fck already exists
    [    0.136535] bio: create slab <bio-0> at 0
    [    0.138183] SCSI subsystem initialized
    [    0.139465] usbcore: registered new interface driver usbfs
    [    0.139709] usbcore: registered new interface driver hub
    [    0.139862] usbcore: registered new device driver usb
    [    0.140075] registerd cppi-dma Intr @ IRQ 17
    [    0.140106] Cppi41 Init Done Qmgr-base(e087a000) dma-base(e0878000)
    [    0.140106] Cppi41 Init Done
    [    0.140136] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
    [    0.140350] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
    [    0.141204] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
    [    0.142242] tps65910 1-002d: could not be detected
    [    0.143249] Advanced Linux Sound Architecture Driver Version 1.0.24.
    [    0.144073] Switching to clocksource gp timer
    [    0.155517] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
    [    0.155670] musb-hdrc musb-hdrc.0: dma type: dma-cppi41
    [    0.155914] MUSB0 controller's USBSS revision = 4ea20800
    [    0.155944] musb0: Enabled SW babble control
    [    0.156677] musb-hdrc musb-hdrc.0: USB OTG mode controller at e083c000 using DMA, IRQ 18
    [    0.156799] musb-hdrc musb-hdrc.1: dma type: dma-cppi41
    [    0.157043] MUSB1 controller's USBSS revision = 4ea20800
    [    0.157043] musb1: Enabled SW babble control
    [    0.157379] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [    0.157440] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
    [    0.157562] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    0.157562] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    0.157592] usb usb1: Product: MUSB HDRC host driver
    [    0.157592] usb usb1: Manufacturer: Linux 3.2.0 musb-hcd
    [    0.157592] usb usb1: SerialNumber: musb-hdrc.1
    [    0.158233] hub 1-0:1.0: USB hub found
    [    0.158264] hub 1-0:1.0: 1 port detected
    [    0.158691] musb-hdrc musb-hdrc.1: USB Host mode controller at e083e800 using DMA, IRQ 19
    [    0.158996] NET: Registered protocol family 2
    [    0.159149] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.159393] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
    [    0.159606] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.159729] TCP: Hash tables configured (established 16384 bind 16384)
    [    0.159759] TCP reno registered
    [    0.159759] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.159759] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.159942] NET: Registered protocol family 1
    [    0.160125] RPC: Registered named UNIX socket transport module.
    [    0.160156] RPC: Registered udp transport module.
    [    0.160156] RPC: Registered tcp transport module.
    [    0.160156] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.231719] NetWinder Floating Point Emulator V0.97 (double precision)
    [    0.248474] VFS: Disk quotas dquot_6.5.2
    [    0.248535] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    0.248962] msgmni has been set to 981
    [    0.251373] alg: No test for stdrng (krng)
    [    0.251892] io scheduler noop registered
    [    0.251892] io scheduler deadline registered
    [    0.251953] io scheduler cfq registered (default)
    [    0.252899] Could not set LED4 to fully on
    [    0.305053] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
    [    0.882476] console [ttyO0] enabled
    [    0.886535] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    [    0.894226] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    [    0.901916] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
    [    0.909606] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
    [    0.917266] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
    [    0.925292] omap4_rng omap4_rng: OMAP4 Random Number Generator ver. 2.00
    [    0.939147] brd: module loaded
    [    0.946136] loop: module loaded
    [    0.949554] i2c-core: driver [tsl2550] using legacy suspend method
    [    0.956024] i2c-core: driver [tsl2550] using legacy resume method
    [    0.962463] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [    1.064636] No daughter card found
    [    1.068237] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [    1.083435] Board name: A335BNLT
    [    1.086822] Board version: 00C0
    [    1.090087] The board is a AM335x Beaglebone Black.
    [    1.097259] tps65217 1-0024: TPS65217 ID 0xe version 1.2
    [    1.104766] print_constraints: DCDC1: 900 <--> 1800 mV at 1500 mV
    [    1.113189] print_constraints: DCDC2: 900 <--> 3300 mV at 1325 mV
    [    1.121612] print_constraints: DCDC3: 900 <--> 1500 mV at 1125 mV
    [    1.130004] print_constraints: LDO1: 1000 <--> 3300 mV at 1800 mV
    [    1.138427] print_constraints: LDO2: 900 <--> 3300 mV at 3300 mV
    [    1.146728] print_constraints: LDO3: 1800 <--> 3300 mV at 1800 mV
    [    1.155120] print_constraints: LDO4: 1800 <--> 3300 mV at 3300 mV
    [    1.162414]  omap_hsmmc.0: alias fck already exists
    [    1.167846]  omap_hsmmc.1: alias fck already exists
    [    1.173187]  omap_i2c.3: alias fck already exists
    [    1.178405] omap_i2c omap_i2c.3: bus 3 rev2.4.0 at 100 kHz
    [    1.185882] registered am33xx_sr device
    [    1.191345] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    1.198425] omap2-nand driver initializing
    [    1.202850] OneNAND driver initializing
    [    1.207824] CAN device driver interface
    [    1.211822] CAN bus driver for Bosch D_CAN controller 1.0
    [    1.264709] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    [    1.271179] davinci_mdio davinci_mdio.0: detected phy mask fffffffe
    [    1.281616] davinci_mdio.0: probed
    [    1.285247] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver SMSC LAN8710/LAN8720
    [    1.294097] usbcore: registered new interface driver zd1201
    [    1.300109] usbcore: registered new interface driver cdc_ether
    [    1.306335] usbcore: registered new interface driver cdc_eem
    [    1.312347] usbcore: registered new interface driver dm9601
    [    1.318206] cdc_ncm: 04-Aug-2011
    [    1.321716] usbcore: registered new interface driver cdc_ncm
    [    1.327636] Initializing USB Mass Storage driver...
    [    1.332916] usbcore: registered new interface driver usb-storage
    [    1.339202] USB Mass Storage support registered.
    [    1.344085]  gadget: using random self ethernet address
    [    1.349548]  gadget: using random host ethernet address
    [    1.355499] usb0: MAC 56:cd:0b:cc:5e:f8
    [    1.359527] usb0: HOST MAC 2a:ab:de:ee:66:da
    [    1.364044]  gadget: Ethernet Gadget, version: Memorial Day 2008
    [    1.370330]  gadget: g_ether ready
    [    1.373901] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    [    1.379516] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 2
    [    1.387359] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    [    1.394439] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    1.402008] usb usb2: Product: MUSB HDRC host driver
    [    1.407196] usb usb2: Manufacturer: Linux 3.2.0 musb-hcd
    [    1.412750] usb usb2: SerialNumber: musb-hdrc.0
    [    1.418151] hub 2-0:1.0: USB hub found
    [    1.422088] hub 2-0:1.0: 1 port detected
    [    1.427093] mousedev: PS/2 mouse device common for all mice
    [    1.433837] omap_rtc am33xx-rtc: rtc core: registered am33xx-rtc as rtc0
    [    1.441070] i2c /dev entries driver
    [    1.445190] Linux video capture interface: v2.00
    [    1.450286] usbcore: registered new interface driver uvcvideo
    [    1.456298] USB Video Class driver (1.1.1)
    [    1.732208]  gadget: high-speed config #2: RNDIS
    [    1.737976] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    1.745513] cpuidle: using governor ladder
    [    1.750152] cpuidle: using governor menu
    [    1.757690] omap4_aes_mod_init: loading AM33X AES driver
    [    1.763336] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02
    [    1.769805] omap4_aes_probe: probe() done
    [    1.774169] omap4_sham_mod_init: loading AM33X SHA/MD5 driver
    [    1.780303] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03
    [    1.802398] omap4_sham_probe: probe() done
    [    1.811950] usbcore: registered new interface driver usbhid
    [    1.817840] usbhid: USB HID core driver
    [    1.822540] usbcore: registered new interface driver snd-usb-audio
    [    1.830505] ALSA device list:
    [    1.833618]   No soundcards found.
    [    1.837188] oprofile: hardware counters not available
    [    1.842468] oprofile: using timer interrupt.
    [    1.846954] nf_conntrack version 0.5.0 (7854 buckets, 31416 max)
    [    1.853698] ip_tables: (C) 2000-2006 Netfilter Core Team
    [    1.859344] TCP cubic registered
    [    1.862731] NET: Registered protocol family 17
    [    1.867401] can: controller area network core (rev 20090105 abi 8)
    [    1.873931] NET: Registered protocol family 29
    [    1.878570] can: raw protocol (rev 20090105)
    [    1.883056] can: broadcast manager protocol (rev 20090105 t)
    [    1.889007] Registering the dns_resolver key type
    [    1.893951] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    1.901977] ThumbEE CPU extension supported.
    [    1.906524] mux: Failed to setup hwmod io irq -22
    [    1.911987] Power Management for AM33XX family
    [    1.916870] Trying to load am335x-pm-firmware.bin (60 secs timeout)
    [    1.923522] Copied the M3 firmware to UMEM
    [    1.927886] Cortex M3 Firmware Version = 0x181
    [    1.934265] create_regulator: DCDC2: Failed to create debugfs directory
    [    1.943725] smartreflex smartreflex: am33xx_sr_probe: Driver initialized
    [    1.954833] clock: disabling unused clocks to save power
    [    2.022857] mmc1: new high speed MMC card at address 0001
    [    2.030853] mmcblk0: mmc1:0001 MMC04G 3.60 GiB
    [    2.038879] mmcblk0boot0: mmc1:0001 MMC04G partition 1 2.00 MiB
    [    2.048370] mmcblk0boot1: mmc1:0001 MMC04G partition 2 2.00 MiB
    [    2.059173]  mmcblk0: p1 p2
    [    2.070617]  mmcblk0boot1: unknown partition table
    [    2.080383]  mmcblk0boot0: unknown partition table
    [    2.304656] Detected MACID=78:a5:4:c0:b1:ce
    [    2.310028] cpsw: Detected MACID = 78:a5:04:c0:b1:d0
    [    2.316131] omap_rtc am33xx-rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801)
    [    2.337768] Freeing init memory: 10668K
    INIT: version 2.88 booting
    Starting udev
    [    4.442321] EXT3-fs (mmcblk0): error: can't find ext3 filesystem on dev mmcblk0.
    [    4.451416] EXT2-fs (mmcblk0): error: can't find an ext2 filesystem on dev mmcblk0.
    [    4.459991] FAT-fs (mmcblk0): bogus number of reserved sectors
    [    4.466094] FAT-fs (mmcblk0): Can't find a valid FAT filesystem
    [    4.485046] cramfs: wrong magic
    [    4.488922] FAT-fs (mmcblk0): bogus number of reserved sectors
    [    4.495025] FAT-fs (mmcblk0): Can't find a valid FAT filesystem
    [    4.770385]  gadget: high-speed config #2: RNDIS
    [    5.138824] kjournald starting.  Commit interval 5 seconds
    [    5.582580] EXT3-fs (mmcblk0p2): using internal journal
    [    5.588104] EXT3-fs (mmcblk0p2): recovery complete
    [    5.593109] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
    [    5.681427] EXT3-fs (mmcblk0boot0): error: can't find ext3 filesystem on dev mmcblk0boot0.
    [    5.691772] EXT2-fs (mmcblk0boot0): error: can't find an ext2 filesystem on dev mmcblk0boot0.
    [    5.703094] FAT-fs (mmcblk0boot0): bogus number of reserved sectors
    [    5.709716] FAT-fs (mmcblk0boot0): Can't find a valid FAT filesystem
    [    5.740844] EXT3-fs (mmcblk0boot1): error: can't find ext3 filesystem on dev mmcblk0boot1.
    [    5.750854] EXT2-fs (mmcblk0boot1): error: can't find an ext2 filesystem on dev mmcblk0boot1.
    [    5.762298] FAT-fs (mmcblk0boot1): bogus number of reserved sectors
    [    5.768920] FAT-fs (mmcblk0boot1): Can't find a valid FAT filesystem
    [    5.781829] cramfs: wrong magic
    [    5.788299] FAT-fs (mmcblk0boot0): bogus number of reserved sectors
    [    5.794860] FAT-fs (mmcblk0boot0): Can't find a valid FAT filesystem
    [    5.834075] cramfs: wrong magic
    [    5.838562] FAT-fs (mmcblk0boot1): bogus number of reserved sectors
    [    5.845153] FAT-fs (mmcblk0boot1): Can't find a valid FAT filesystem
    Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory
    bootlogd.
    Configuring network interfaces... [    6.592285] net eth0: CPSW phy found : id is : 0x7c0f1
    udhcpc (v1.20.2) started
    Sending discover...
    Sending discover...
    Sending discover...
    No lease, failing
    done.
    Mon Feb 17 19:03:00 UTC 2014
    Collected errors:
    INIT: Entering runlevel: 5ot create lock file /var/lib/opkg/lock: No such fil
    Starting syslogd/klogd: done
    ****************************************************
    ****************************************************
    Sitara Flash Fetcher Script - 07/28/2014
    udhcpc (v1.20.2) started
    Sending discover...
    Sending discover...
    Sending select for 192.168.100.11...
    Lease of 192.168.100.11 obtained, lease time 600
    Getting flasher script from server: 192.168.100.1
    ********************************************
    Sitara Flash Fetcher is complete. Executing debrick.sh.
    Calling Script=debrick.sh with SERVER_IP=192.168.100.1
    ****************************************************
    ****************************************************
    Sitara Example Flashing Script - 02/11/2014
    Getting files from server: 192.168.100.1
    1+0 records in
    1+0 records out
    Found mounted partition(s) on  /dev/mmcblk0:  /media/mmcblk0p2 /media/mmcblk0p1
    4k erase on /dev/mmcblk0p1
    1+0 records in
    1+0 records out
    4k erase on /dev/mmcblk0p2
    1+0 records in
    1+0 records out
    Partitioning the eMMC...
    Checking that no-one is using this disk right now ...
    [   19.345550]  mmcblk0: unknown partition table
    OK
    Disk /dev/mmcblk0: 470 cylinders, 255 heads, 63 sectors/track
    sfdisk: ERROR[   19.371673]  mmcblk0: p1 p2
    : sector 0 does not have an msdos signature
    sfdisk:  /dev/mmcblk0: unrecognized partition table type
    Old situation:
    sfdisk: No partitions found
    New situation:
    Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
       Device Boot Start     End   #cyls    #blocks   Id  System
    /dev/mmcblk0p1   *      0+      8       9-     72261    c  W95 FAT32 (LBA)
    /dev/mmcblk0p2         10     469     460    3694950   83  Linux
    /dev/mmcblk0p3          0       -       0          0    0  Empty
    /dev/mmcblk0p4          0       -       0          0    0  Empty
    Successfully wrote the new partition table
    Re-reading the partition table ...
    If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
    to zero the first 512 bytes:  dd if=/dev/zero of=/dev/foo7 bs=512 count=1
    (See fdisk(8).)
    [   20.179138] EXT3-fs (mmcblk0p1): error: can't find ext3 filesystem on dev mmcblk0p1.
    [   20.190704] EXT2-fs (mmcblk0p1): error: can't find an ext2 filesystem on dev mmcblk0p1.
    [   20.206817] EXT3-fs (mmcblk0p2): error: can't find ext3 filesystem on dev mmcblk0p2.
    [   20.216522] FAT-fs (mmcblk0p1): bogus number of reserved sectors
    [   20.222839] FAT-fs (mmcblk0p1): Can't find a valid FAT filesystem
    [   20.230712] EXT2-fs (mmcblk0p2): error: can't find an ext2 filesystem on dev mmcblk0p2.
    [   20.243774] FAT-fs (mmcblk0p2): bogus number of reserved sectors
    [   20.250152] FAT-fs (mmcblk0p2): Can't find a valid FAT filesystem
    [   20.283355] cramfs: wrong magic
    [   20.291320] FAT-fs (mmcblk0p1): bogus number of reserved sectors
    [   20.297698] FAT-fs (mmcblk0p1): Can't find a valid FAT filesystem
    [   20.317535] cramfs: wrong magic
    [   20.324279] FAT-fs (mmcblk0p2): bogus number of reserved sectors
    [   20.330749] FAT-fs (mmcblk0p2): Can't find a valid FAT filesystem
    real    0m 1.74s
    user    0m 0.00s
    sys     0m 0.14s
    real    0m 2.20s
    user    0m 0.01s
    sys     0m 0.15s
    No partition found. Continuing.
    1+0 records in
    1+0 records out
    Formatting the eMMC into 2 partitions...
    mkfs.vfat 2.11 (12 Mar 2005)
    mke2fs 1.42.1 (17-Feb-2012)
    Discarding device blocks: done                           
    Filesystem label=rootfs
    OS type: Linux
    Block size=4096 (log=2)
    Fragment size=4096 (log=2)
    Stride=0 blocks, Stripe width=0 blocks
    231072 inodes, 923737 blocks
    46186 blocks (5.00%) reserved for the super user
    First data block=0
    Maximum filesystem blocks=947912704
    29 block groups
    32768 blocks per group, 32768 fragments per group
    7968 inodes per group
    Superblock backups stored on blocks:
            32768, 98304, 163840, 229376, 294912, 819200, 884736
    Allocating group tables: done                           
    Writing inode tables: done                           
    Creating journal (16384 blocks): done
    Writing superblocks and filesystem accounting information: done
    Formatting done.
    [   37.186920] kjournald starting.  Commit interval 5 seconds
    [   37.194610] EXT3-fs (mmcblk0p2): using internal journal
    [   37.200103] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
    Copying Files...
    real    0m 0.34s
    user    0m 0.25s
    sys     0m 0.07s
    Boot partition done.
    real    0m 0.87s
    user    0m 0.55s
    sys     0m 0.23s
    RootFS partition done.
    It took 21 seconds to complete this task...
    ********************************************
    Sitara Example Flash Script is complete.
    Stopping Bootlog daemon: bootlogd.
     _____                    _____           _         _  
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_| 
                  |___|                    |___|           
    Arago Project http://arago-project.org am335x-evm ttyO0
    Arago 2013.05 am335x-evm ttyO0
    am335x-evm login:
  • 是从eMMC上只能启动到u-boot而不能加载内核么?你看下你的U-boot下的mmcdev的参数是什么?修改为1了么?

  • 谢了,修改过就好了。

    现在遇到新问题了,在开发板上可以用了,但在自己做的板上又不行了,

    用uniFlash下载时,终端输出如下信息:

    U-Boot SPL 2013.01.01 (Sep 01 2016 - 00:31:54)
    Incorrect magic number (0xffffffff) in EEPROM
    Could not get board ID.
    Incorrect magic number (0xffffffff) in EEPROM
    ### ERROR ### Please RESET the board ###

    是不是我得把验证ID号这一步屏蔽掉呀?

  • 是的,可以参考:

    http://www.deyisupport.com/question_answer/dsp_arm/sitara_arm/f/25/p/68813/163930.aspx#163930

  • 谢了,今天改改试试。

  • 终于好了,现在可以了,在原版的BBB开发板上试了几次都可以了,在自己做的开发板上试了试,有的可以,有的不可以,不知道是软件还是硬件方面的原因。

    把固件贴出来吧,省得每次都自己编译,烧写不成功也不知道是下载方法不对,还是編译的固件不对。

    注意:这个固件仅供演示下载方法使用,内核肯定还有很多可以修改和优化的地方,那是以后的事情了,目前只是可以演示,下载到emmc里的程序能启动起来而己。

    固件.rar
  • 想问下,“在自己做的开发板上试了试,有的可以,有的不可以”,是没烧写成功?

  • 固件里rootfs_xxxxx的解压缩密码是什么呢??谢谢。我也刚学这个,想试试。。。

  • Hi xinliang ~

    您好~最近也在玩跟你相同的部分,eMMC 燒錄,請問使用您的固件,放置uniflash 後即可做更新完成嗎?(使用BBB),請問有地方需要修改的嗎??

    因為我依照您的固件檔案去進行燒錄,啟動SPL就卡住了...不知道是否有需要注意或是修改的地方?麻煩您指導,非常感謝!!

  • 請問我用自己SDK(Processor-02.00.00.00 - Kernel : 4.1.6 ; Beagle Bone Black)製作rootfs_partition.tar.gz (大小約1.2G),僅能燒錄到U-Boot,後面即產生 :

    Out Of Memory, oom-killer.....

    ..

    ..

    請問是因為我的RAM只有512MB(eMMC 4G),而要燒錄的檔案可能需要暫存空間不足造成的狀況嗎?所以需要修改哪邊能夠解決?非常感謝!!

  • 请问我也是用bbb板,用了你的这个固件,板子可以连上,可是进度一直是0%,串口一直是CCCCCCC,能不能分析下什么原因