[yocto] yocto 1.6 - beaglebone black - cape manager

TakkTakk tomek82221 at gazeta.pl
Wed Sep 24 13:20:16 PDT 2014


ok, i changed "bootz" to "bootm" and i kept S2 swith pressed.
Yocto not booting, two leds D2, D3 is shining.

Serial console output:

U-Boot SPL 2013.04-dirty (Sep 09 2014 - 21:38:22)
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, 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, 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
reading u-boot.img
reading u-boot.img


U-Boot 2013.04-dirty (Sep 09 2014 - 21:38:22)

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, 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, 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
gpio: pin 53 (gpio 53) value is 1
mmc0 is current device
micro SD card found
mmc0 is current device
gpio: pin 54 (gpio 54) value is 1
SD/MMC found on device 0
reading uEnv.txt
527 bytes read in 4 ms (127.9 KiB/s)
Loaded environment from uEnv.txt
Importing environment from mmc ...
Running uenvcmd ...
reading uImage
4368264 bytes read in 499 ms (8.3 MiB/s)
reading /dtbs/am335x-boneblack.dtb
29192 bytes read in 10 ms (2.8 MiB/s)
## Booting kernel from Legacy Image at 80200000 ...
   Image Name:   Linux-3.8.13
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4368200 Bytes = 4.2 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 80f80000
   Booting using the fdt blob at 0x80f80000
   Loading Kernel Image ... OK
OK
   Using Device Tree in place at 80f80000, end 80f8a207

Starting kernel ...

Uncompressing Linux... done, booting the kernel.




2014-09-13 11:26 GMT+02:00 Diego Sueiro <diego.sueiro at gmail.com>:
>
> On Fri, Sep 12, 2014 at 6:59 PM, TakkTakk <tomek82221 at gazeta.pl> wrote:
>>
>> i build core-image-base
>> My uEnv.txt content :
>>
>> kernel_file=uImage
>> console=ttyO0,115200n8
>> mmcroot=/dev/mmcblk0p2 rw
>> mmcrootfstype=ext4 rootwait
>>
>> loaduimage=load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${kernel_file}
>> loadfdt=load mmc ${mmcdev}:${mmcpart} ${fdtaddr} /dtbs/${fdtfile}
>>
>> mmcargs=setenv bootargs console=${console} root=${mmcroot}
>> rootfstype=${mmcrootfstype} ${optargs}
>> uenvcmd=run loaduimage; run loadfdt; run mmcargs; bootz ${loadaddr} -
>> ${fdtaddr}
>
>
> I think that the problem is the "bootz" command. This command is used to
> boot zImage kernel. Change it to "bootm" and don't forget to keep the S2
> switch pressed.
> But again. With a console serial cable is easier to find what is going
> wrong.
>
>>
>>
>> optargs=quiet drm.debug=7 capemgr.enable_partno=BB-UART4
>> --------------------------------------
>>
>> files inside the FAT partition:
>> uEnv.txt
>> uImage
>> u-boot.img
>> MLO
>> dtbs/am335x-boneblack.dtb
>
>
>
>
> Regards,
>
> --
> *dS
> Diego Sueiro
>
> Administrador do Embarcados
> www.embarcados.com.br
>
> /*long live rock 'n roll*/



-- 
TakTak



More information about the yocto mailing list