Home Forums Getting Started SD Image

This topic contains 6 replies, has 3 voices, and was last updated by  vlad 12 hours, 17 minutes ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #305

    biothundernxt
    Participant

    Do we have any SD card images for the board?
    I have my board, but I have not found any system images, only some info on making the system manually, which is fine, though a pre-made sd image would be nice to get things going quicker.
    Thanks.

    #336

    akrog
    Keymaster

    Hello biothundernxt,

    prebuilt kernel images as well as Buildroot rootfs (and link to Ubuntu’s rootfs) can be found on Tech Spec page under Software table at the bottom of the page.

    #343

    biothundernxt
    Participant

    Thanks for the help, but I am still having issues.
    After figuring out that I needed to also download the kernel, and put it into boot, I managed to get things together, and all the files are where they should be, but now when I try to boot, I get:

    run bootmmc                                  
    switch to partitions #0, OK
    mmc0 is current device
    ** File not found var/Image **
    ** File not found var/armada-3720-community.dtb **
    Bad Linux ARM64 Image magic!

    And then when running ext4ls, I get

    Marvell>> ext4ls mmc 0:1
    <DIR>       4096 .
    <DIR>       4096 ..
    <DIR>      16384 lost+found
    <DIR>          0 media
    <DIR>       4096 bin
    <DIR>       4096 proc
    <DIR>          0 tmp
    <DIR>         36 dev
    <DIR>       4096 sys
    <DIR>          0 lib
    <DIR>       4096 var
    <DIR>        663 root
    <DIR>        653 etc
    <DIR>          0 boot
    <DIR>          0 usr
    <DIR>       4096 mnt
    <DIR>       4096 srv
    <DIR>       4096 run
    <DIR>       4096 opt
    <DIR>       4096 sbin
    <DIR>       4096 home

    Which does not match the guide, because the numbers are different…
    And running this…;

    ext4ls mmc 0:1 boot

    Returns nothing, as though it was empty.
    I know there are files in there though, browsing to that directory on my desktop finds the files… I am very confused.

    #344

    biothundernxt
    Participant

    I am starting to think that my board may be faulty in some way…
    I didn’t really think about it before, but I can also only reliably get a connection over the USB to serial if the 12v barrel jack is plugged in.
    The LED turns on with just usb, but it is much dimmer, and while I detect the serial adapter, I cannot get in.
    Plugging in the barrel jack instantly causes the device to boot.

    Removing power also causes the LED to very slowly dim over time rather than immediately turn off as I would expect it to.

    #347

    akrog
    Keymaster

    Hello biothundernxt,

    It does seem strange how the file system has extracted and is recognized whereas the image and dtb in boot/ are not. It would appear the images were not transferred since boot/ is empty. Please make sure to copy them using a Linux machine (acting as root) to the boot/ directory, e.g.:

    $ sudo cp /home/user/kernel/4.4.8/arch/arm64/boot/Image boot/
    $ sudo cp /home/user/kernel/4.4.8/arch/arm64/boot/dts/marvell/armada-3720-community.dtb boot/

    Make sure the files are saved to the SD card before unplugging it from your Linux machine.

    Another potential issue is your U-Boot variables which look for the images in var/ directory instead of boot/. Please set them correctly:

    Marvell>> setenv image_name boot/Image
    Marvell>> setenv fdt_name boot/armada-3720-community.dtb
    #348

    biothundernxt
    Participant

    So now, all I get when I connect to the serial over usb is a terminal that spits out an “E”.

    Example;

    root@ubuntu:/home/biothundernxt/Documents/Scripts# ls
    kermit-usb0
    root@ubuntu:/home/biothundernxt/Documents/Scripts# kermit kermit-usb0
    Connecting to /dev/ttyUSB0, speed 115200
     Escape character: Ctrl-\ (ASCII 28, FS): enabled
    Type the escape character followed by C to get back,
    or followed by ? to see other options.
    ----------------------------------------------------
    
    E
    >
    

    typing anything, regardless of what returns another

    E
    >
    

    so that hitting enter a few times now has the terminal full of this:

    >
    E
    >
    E
    >
    E
    >
    E
    >
    E
    >
    E
    >
    E
    >
    E
    >
    

    Pressing the reset button while connected produces an additional > character without a newline, like this:

    E
    >>
    

    such that pressing it multiple times produces many:

    E
    >>>>>>>>>>>>
    

    Any help would be greatly appreciated.

    #402

    vlad
    Participant

    I had a similar problem with wrong directory sizes and empty boot directory. Found out that resizing the partition to 3GB helped – the SD card I use is 32GB.

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.

Signup to our newsletter

Technical specification tables can not be displayed on mobile. Please view on desktop