Jump to content

lnsider

Members
  • Posts

    20
  • Joined

  • Last visited

Posts posted by lnsider

  1.  

    File imx6dl-hummingboard.dtb is included.

     

    ** File not found /boot/dtb/imx6dl-hummingboard.dtb **
    
    ERROR: Did not find a cmdline Flattened Device Tree
    Could not find a valid device tree
    Booting from net ...
    

    Is file "/boot/dtb/imx6dl-hummingboard.dtb" present?

     

    Yes

    boot/dtb$ ls *hummingboard*
    imx6dl-hummingboard2.dts  imx6dl-hummingboard.dtb  imx6dl-hummingboard.dts  imx6qdl-hummingboard2.dtsi  imx6qdl-hummingboard.dtsi  imx6q-hummingboard2.dts  imx6q-hummingboard.dtb  imx6q-hummingboard.dts
    

     

    Filesystem or partition table error?

    Good question....

  2. setenv - set environment variables
    
    Usage:
    setenv [-f] name value ...
        - [forcibly] set environment variable 'name' to 'value ...'
    setenv [-f] name
        - [forcibly] delete environment variable 'name'
    

    This in u-boot output is actually an error message, most likely due to missing quotes around setenv second argument - kernel argument list is too long to leave it unquoted. You should quote kernel argument list in your boot script.

    Also you shoud change double slash to single and fix path in dtb file path (there is a warning or error message about it too).

    Also setenv line in your post doesn't look right with 'con$' argument at the end, please check if this is intended or copy-paste error.

    Also serial console argument was wrong (console=console=...)

    setenv bootargs "root=/dev/mmcblk0p1 rootfstype=ext4 rootwait console=ttymxc0,115200 loglevel=7 video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32 rd.dm=0 rd.luks=0 rd.lvm=0 raid=noautodetect pci=nomsi ahci_imx.hotplug=1"
    ext2load mmc 0 0x18000000 /boot/dtb/${fdt_file}
    ext2load mmc 0 0x12000000 /boot/zImage
    bootz 0x12000000 - 0x18000000
    
    

    Edit: Fixed path and serial console arguments.

     

    @Igor

    Serial console device name should be case-sensitive, are you sure that "ttymxc0" is all lowercase (just to be sure)?

     

     

    Copy-pasted your code and now hummingboard show me this:

    File imx6dl-hummingboard.dtb is included.

    U-Boot SPL 2013.10-rc4-sun7i (Oct 11 2015 - 20:45:45)
    Boot Device: SD1
    spl: error reading image u-boot.img, err - -1
    Load image from RAW...
    
    
    U-Boot 2013.10-rc4-sun7i (Oct 11 2015 - 20:45:45)
    
    CPU:   Freescale i.MX6SOLO rev1.1 at 792 MHz
    Reset cause: POR
    Board: MX6-HummingBoard
    DRAM:  512 MiB
    MMC:   FSL_SDHC: 0
    *** Warning - bad CRC, using default environment
    
    In:    serial
    Out:   serial
    Err:   serial
    Net:   FEC [PRIME]
    (Re)start USB...
    USB0:   USB EHCI 1.00
    scanning bus 0 for devices... 1 USB Device(s) found
           scanning usb for storage devices... 0 Storage Device(s) found
           scanning usb for ethernet devices... 0 Ethernet Device(s) found
    Hit any key to stop autoboot:  0 
    mmc0 is current device
    ** File not found /boot.scr **
    ** File not found /uEnv.txt **
    ** File not found /zImage **
    ** File not found /uImage **
    412 bytes read in 141 ms (2 KiB/s)
    Running bootscript from mmc ...
    ## Executing script at 10800000
    invalid extent block
    ext4fs_devread read outside partition 4294967120
    ** File not found /boot/dtb/imx6dl-hummingboard.dtb **
    6310896 bytes read in 470 ms (12.8 MiB/s)
    Kernel image @ 0x12000000 [ 0x000000 - 0x604bf0 ]
    ERROR: Did not find a cmdline Flattened Device Tree
    Could not find a valid device tree
    Booting from net ...
    FEC Waiting for PHY auto negotiation to complete......... TIMEOUT !
    Could not initialize PHY FEC
    FEC Waiting for PHY auto negotiation to complete......... TIMEOUT !
    Could not initialize PHY FEC
    Booting uImage
    ## Booting kernel from Legacy Image at 10800000 ...
       Image Name:   
       Image Type:   ARM Linux Script (uncompressed)
       Data Size:    348 Bytes = 348 Bytes
       Load Address: 00000000
       Entry Point:  00000000
       Contents:
          Image 0: 340 Bytes = 340 Bytes
       Verifying Checksum ... OK
    Wrong Image Type for bootm command
    ERROR: can't get kernel image!
    HummingBoard U-Boot > 
    
  3.  

    If this parameter is not defined than it's usually not on the lowest number ... try to boot without or just add it after console parameter ...

    console=ttymxc0,115200 loglevel=7 
    
    
    setenv bootargs root=/dev/mmcblk0p1 rootfstype=ext4 rootwait console=console=ttymxc0,115200 loglevel=7 video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32 rd.dm=0 rd.luks=0 rd.lvm=0 raid=noautodetect pci=nomsi ahci_imx.hotplug=1 con$
    ext2load mmc 0 0x18000000 /boot/dtb//boot/dtb/${fdt_file}
    ext2load mmc 0 0x12000000 /boot/zImage
    bootz 0x12000000 - 0x18000000
    

    defined, but the message is the same

  4. Hi Igor,

     

    new message:

    U-Boot 2013.10-rc4-sun7i (Oct 11 2015 - 20:45:45)
    
    CPU:   Freescale i.MX6SOLO rev1.1 at 792 MHz
    Reset cause: POR
    Board: MX6-HummingBoard
    DRAM:  512 MiB
    MMC:   FSL_SDHC: 0
    *** Warning - bad CRC, using default environment
    
    In:    serial
    Out:   serial
    Err:   serial
    Net:   FEC [PRIME]
    (Re)start USB...
    USB0:   USB EHCI 1.00
    scanning bus 0 for devices... 2 USB Device(s) found
           scanning usb for storage devices... 0 Storage Device(s) found
           scanning usb for ethernet devices... 0 Ethernet Device(s) found
    Hit any key to stop autoboot:  0 
    mmc0 is current device
    64 bytes read in 111 ms (0 Bytes/s)
    Running bootscript from mmc ...
    ## Executing script at 10800000
    Wrong image format for "source" command
    466 bytes read in 139 ms (2.9 KiB/s)
    Running bootscript from mmc ...
    ## Executing script at 10800000
    setenv - set environment variables
    
    Usage:
    setenv [-f] name value ...
        - [forcibly] set environment variable 'name' to 'value ...'
    setenv [-f] name
        - [forcibly] delete environment variable 'name'
    ** File not found /boot/dtb/ **
    6310896 bytes read in 469 ms (12.8 MiB/s)
    Kernel image @ 0x12000000 [ 0x000000 - 0x604bf0 ]
    ## Flattened Device Tree blob at 18000000
       Booting using the fdt blob at 0x18000000
       reserving fdt memory region: addr=18000000 size=9000
       Using Device Tree in place at 18000000, end 1800bfff
    
    Starting kernel ...
    
    Uncompressing Linux... done, booting the kernel.
    
    

    I think the problem is 

    ** File not found /boot/dtb/ **
    

    but why, I´ve copied all dtb´s to SD card

    Compiled on Ubuntu x64

  5. Hi Igor,

     

    I made everything as you told, but further "Uncompressing Linux... done, booting the kernel" hummingboard will not load.

    U-Boot SPL 2013.10-rc4-sun7i (Oct 11 2015 - 20:45:45)
    Boot Device: SD1
    spl: error reading image u-boot.img, err - -1
    Load image from RAW...
    
    
    U-Boot 2013.10-rc4-sun7i (Oct 11 2015 - 20:45:45)
    
    CPU:   Freescale i.MX6SOLO rev1.1 at 792 MHz
    Reset cause: POR
    Board: MX6-HummingBoard
    DRAM:  512 MiB
    MMC:   FSL_SDHC: 0
    *** Warning - bad CRC, using default environment
    
    In:    serial
    Out:   serial
    Err:   serial
    Net:   FEC [PRIME]
    Hit any key to stop autoboot:  0 
    mmc0 is current device
    ** File not found /boot.scr **
    ** File not found /uEnv.txt **
    ** File not found /zImage **
    ** File not found /uImage **
    437 bytes read in 136 ms (2.9 KiB/s)
    Running bootscript from mmc ...
    ## Executing script at 10800000
    33295 bytes read in 332 ms (97.7 KiB/s)
    6310896 bytes read in 469 ms (12.8 MiB/s)
    Kernel image @ 0x12000000 [ 0x000000 - 0x604bf0 ]
    ## Flattened Device Tree blob at 18000000
       Booting using the fdt blob at 0x18000000
       Using Device Tree in place at 18000000, end 1800b20e
    
    Starting kernel ...
    
    Uncompressing Linux... done, booting the kernel.
    
    
  6. Hi Igor,

    I want to compile a new kernel on HB.

     

    I do following steps:

    export ARCH=arm
    export CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf-
    make imx_v7_cbi_hb_defconfig
    make
    

    If make is in process, I become an error:

    /bin/sh: 1: /usr/bin/arm-linux-gnueabihf-ld: not found
    make[1]: *** [init/mounts.o] Error 127
    make: *** [init] Error 2
    

    how can I fix that?

  7. Hi all,

     

    I´m trying to install pyCurl with command as root

    pip install pycurl

    after 10 seconds, console show me this error:

    (venv)root@cubox-i:~/pyCA# pip install pycurl
    Collecting pycurl
      Using cached pycurl-7.19.5.1.tar.gz
    Installing collected packages: pycurl
      Running setup.py install for pycurl
        Complete output from command /root/pyCA/venv/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-yYNrnD/pycurl/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-3uzAV0-record/install-record.txt --single-version-externally-managed --compile --install-headers /root/pyCA/venv/include/site/python2.7/pycurl:
        Using curl-config (libcurl 7.38.0)
        running install
        running build
        running build_py
        creating build
        creating build/lib.linux-armv7l-2.7
        creating build/lib.linux-armv7l-2.7/curl
        copying python/curl/__init__.py -> build/lib.linux-armv7l-2.7/curl
        running build_ext
        building 'pycurl' extension
        creating build/temp.linux-armv7l-2.7
        creating build/temp.linux-armv7l-2.7/src
        arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DPYCURL_VERSION="7.19.5.1" -DHAVE_CURL_GNUTLS=1 -DHAVE_CURL_SSL=1 -I/usr/include/python2.7 -c src/docstrings.c -o build/temp.linux-armv7l-2.7/src/docstrings.o
        In file included from src/docstrings.c:4:0:
        src/pycurl.h:148:30: fatal error: gnutls/gnutls.h: No such file or directory
         #   include <gnutls/gnutls.h>
                                      ^
        compilation terminated.
        error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
        
        ----------------------------------------
    Command "/root/pyCA/venv/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-yYNrnD/pycurl/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-3uzAV0-record/install-record.txt --single-version-externally-managed --compile --install-headers /root/pyCA/venv/include/site/python2.7/pycurl" failed with error code 1 in /tmp/pip-build-yYNrnD/pycurl
    
    

    When Im trying to install arm-linux-gnueabihf-gcc, with apt-get install ..... this package will not be founded. 

     

    Hope for help.

  8. Hi every one, Im new on this form and this is my first time, when Im working with HummingBoard.

     

    On my HummingBoard is connected a little board with HDMI input and is connected with DVD Player.

    One another HDMI, which is on HummingBoard, is connected with Monitor, where I can see my console.

     

    So, my question is, how can I install, that my little board will become a video from DVD Player and streaming it to the HummingBoard, so, that I can see this video on my Monitor.

    Im using the Debian wheezy image

     

    Sorry for my english, hope for fast help 

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines