Jump to content

voltagex

Members
  • Posts

    21
  • Joined

  • Last visited

Posts posted by voltagex

  1. On 1/13/2022 at 1:21 PM, lanefu said:

     

    Archive optional

     

     

    root@armbian:/home/armbian/repo# du -sh ./*                                     

    103G ./apt                                                                   

    3.4T ./archive                                                               

    4.0K ./armbian-logo.png                                                      

    446G ./dl


    Whoa, that's quite an archive. Maybe archive.org could take it, like they do with Arch?

  2. [  OK  ] Reached target Power-Off.
    [  915.658031] reboot: Power down
    ERROR:   a3700_system_off needs to be impPANIC in EL3 at x30 = 0x000000000402326c
    x0 =            0x0000000000000000
    x1 =            0x00000000d0012000
    x2 =            0x0000000000000000
    x3 =            0x0000000000000000
    x4 =            0x0000000004027b00
    x5 =            0x0000000000000000
    x6 =            0x0000000004027a88
    x7 =            0x0000000000000001
    x8 =            0xffffff80000809f0
    x9 =            0xffffffc0114dba30
    x10 =           0x0000000000000040
    x11 =           0x000000000402d138
    x12 =           0x0000000004030e40
    x13 =           0x0000000000000000
    x14 =           0x0000000004031932
    x15 =           0x0000000004026480
    x16 =           0x0000000060000085
    x17 =           0xffffffc010025564
    x18 =           0x0000000000000731
    x19 =           0x0000000004031000
    x20 =           0xffffffc010fed9d8
    x21 =           0x0000000028121969
    x22 =           0xffffffc0112b0ac0
    x23 =           0x00000000fee1dead
    x24 =           0x0000000000000000
    x25 =           0x0000000000000000
    x26 =           0x0000000000000000
    x27 =           0x0000000000000000
    x28 =           0xffffff8000080000
    x29 =           0x0000000004030de0
    scr_el3 =               0x0000000000000731
    sctlr_el3 =             0x0000000030cd183f
    cptr_el3 =              0x0000000000000000
    tcr_el3 =               0x0000000080803520
    daif =          0x00000000000002c0
    mair_el3 =              0x00000000004404ff
    spsr_el3 =              0x0000000060000085
    elr_el3 =               0xffffffc010025564
    ttbr0_el3 =             0x0000000004031900
    esr_el3 =               0x000000005e000000
    far_el3 =               0x0000002000020020
    spsr_el1 =              0x0000000020000005
    elr_el1 =               0xffffffc0100e6b30
    spsr_abt =              0x0000000000000000
    spsr_und =              0x0000000000000000
    spsr_irq =              0x0000000000000000
    spsr_fiq =              0x0000000000000000
    sctlr_el1 =             0x0000000034d4d91d
    actlr_el1 =             0x0000000000000000
    cpacr_el1 =             0x0000000000300000
    csselr_el1 =            0x0000000000000000
    sp_el1 =                0xffffffc0114dbc50
    esr_el1 =               0x0000000056000000
    ttbr0_el1 =             0x000000000689f000
    ttbr1_el1 =             0x0f3c000008091000
    mair_el1 =              0x000c0400bb44ffff
    amair_el1 =             0x0000000000000000
    tcr_el1 =               0x00000032b5593519
    tpidr_el1 =             0xffffffc06ea71000
    tpidr_el0 =             0x0000007fb24b4430
    tpidrro_el0 =           0x0000000000000000
    dacr32_el2 =            0x0000000000000000
    ifsr32_el2 =            0x0000000000000000
    par_el1 =               0x0000000000000000
    mpidr_el1 =             0x0000000080000000
    afsr0_el1 =             0x0000000000000000
    afsr1_el1 =             0x0000000000000000
    contextidr_el1 =                0x0000000000000001
    vbar_el1 =              0xffffffc010010800
    cntp_ctl_el0 =          0x0000000000000005
    cntp_cval_el0 =         0x00000002b0307e9e
    cntv_ctl_el0 =          0x0000000000000002
    cntv_cval_el0 =         0x0004054a071010a0
    cntkctl_el1 =           0x0000000000000096
    sp_el0 =                0x0000000004030de0
    isr_el1 =               0x0000000000000040
    cpuectlr_el1 =          0x0000000000000040
    cpumerrsr_el1 =         0x0000000002100305
    l2merrsr_el1 =          0x00000000100c4180
    cpuactlr_el1 =          0x00000000090ca000
    icc_hppir0_el1 =                0x00000000000003fd
    icc_hppir1_el1 =                0x000000000000001e
    icc_ctlr_el3 =          0x0000000000000410
    gicd_ispendr regs (Offsets 0x200 - 0x278)
    0000000000000200:               0x0000000000000000
    0000000000000208:               0x0000000000000000
    0000000000000210:               0x0000000000000000
    0000000000000218:               0x0000000000000000
    0000000000000220:               0x0000000000000000
    0000000000000228:               0x0000000000000000
    0000000000000230:               0x0000000000000000
    0000000000000238:               0x0000000000000000
    0000000000000240:               0x0000000000000000
    0000000000000248:               0x0000000000000000
    0000000000000250:               0x0000000000000000
    0000000000000258:               0x0000000000000000
    0000000000000260:               0x0000000000000000
    0000000000000268:               0x0000000000000000
    0000000000000270:               0x0000000000000000
    0000000000000278:               0x0000000000000000
    cci_snoop_ctrl_cluster0 =               0x00000000c0000003
    cci_snoop_ctrl_cluster1 =               0x0000000000000000
    

     

  3. Looks like a missing gmp dependency?

     

    From armbian/build 5bfa587727f29a072b21ca936ab9f00ffdfbd502

     

    	== kernel ==
    
    In file included from /root/armbian/cache/toolchain/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/plugin/include/gcc-plugin.h:28,
                     from scripts/gcc-plugins/gcc-common.h:7,
                     from scripts/gcc-plugins/randomize_layout_plugin.c:19:
    /root/armbian/cache/toolchain/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/plugin/include/system.h:687:10: fatal error: gmp.h: No such file or directory
      687 | #include <gmp.h>
          |          ^~~~~~~
    compilation terminated.
    In file included from /root/armbian/cache/toolchain/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/plugin/include/gcc-plugin.h:28,
                     from scripts/gcc-plugins/gcc-common.h:7,
                     from scripts/gcc-plugins/structleak_plugin.c:32:
    /root/armbian/cache/toolchain/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/plugin/include/system.h:687:10: fatal error: gmp.h: No such file or directory
      687 | #include <gmp.h>
          |          ^~~~~~~
    In file included from /root/armbian/cache/toolchain/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/plugin/include/gcc-plugin.h:28,
                     from scripts/gcc-plugins/gcc-common.h:7,
                     from scripts/gcc-plugins/latent_entropy_plugin.c:78:
    /root/armbian/cache/toolchain/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/plugin/include/system.h:687:10: fatal error: gmp.h: No such file or directory
      687 | #include <gmp.h>
          |          ^~~~~~~
    compilation terminated.
    compilation terminated.
    make[2]: *** [scripts/gcc-plugins/Makefile:47: scripts/gcc-plugins/randomize_layout_plugin.so] Error 1
    make[2]: *** Waiting for unfinished jobs....
    make[2]: *** [scripts/gcc-plugins/Makefile:47: scripts/gcc-plugins/structleak_plugin.so] Error 1
    make[2]: *** [scripts/gcc-plugins/Makefile:47: scripts/gcc-plugins/latent_entropy_plugin.so] Error 1
    make[1]: *** [scripts/Makefile.build:497: scripts/gcc-plugins] Error 2
    make[1]: *** Waiting for unfinished jobs....
    make: *** [Makefile:1199: scripts] Error 2

     

    output.zip

  4. So, I thought this was worth a try:

    diff --git a/config/sources/families/mvebu64.conf b/config/sources/families/mvebu64.conf
    index 091b7633..79e85954 100644
    --- a/config/sources/families/mvebu64.conf
    +++ b/config/sources/families/mvebu64.conf
    @@ -1,6 +1,6 @@
     ARCH=arm64
    -BOOTSOURCE='https://github.com/MarvellEmbeddedProcessors/u-boot-marvell.git'
    -BOOTBRANCH='branch:u-boot-2018.03-armada-18.12'
    +BOOTSOURCE='https://github.com/u-boot/u-boot'
    +BOOTBRANCH='branch:master'
     BOOTENV_FILE='mvebu64.txt'
     ATFSOURCE='https://github.com/MarvellEmbeddedProcessors/atf-marvell'
     ATFDIR='arm-trusted-firmware-espressobin'
    
    TIM-1.0
    WTMI-devel-18.12.1-e6bb176
    WTMI: system early-init
    
    DDR topology parameters:
    ========================
    ddr type               DDR3
    ddr speedbin           12
    bus width              16-bits
    cs num                 2
      cs[0] - group num    0
      cs[0] - bank num     8
      cs[0] - capacity     1024MiB
      cs[1] - group num    0
      cs[1] - bank num     8
      cs[1] - capacity     1024MiB
    CPU VDD voltage default value: 1.108V
    
    DRAM windows:
    =============
    WIN[0] - base addr     0x60000000
    WIN[0] - size          0x40000000
    WIN[1] - base addr     0xa0000000
    WIN[1] - size          0x20000000
    
    memory test region:
    ===================
    CS[0]                  0x60000000 - 0x9fffffff
    CS[1]                  0xa0000000 - 0xbfffffff
    
    SELF-REFRESH TEST PASS
    SELF-REFRESH TEST PASS
    CS0: QS GATE TRAINING PASSED
    CS1: QS GATE TRAINING PASSED
    DLL TUNING PASSED
    NOTICE:  Booting Trusted Firmware
    NOTICE:  BL1: v1.5(debug):1f8ca7e (Marvell-devel-18.12.2)
    NOTICE:  BL1: Built : 14:05:30, Oct 20 2020
    NOTICE:  BL1: Booting BL2
    NOTICE:  BL2: v1.5(debug):1f8ca7e (Marvell-devel-18.12.2)
    NOTICE:  BL2: Built : 14:05:30, Oct 20 2020
    NOTICE:  BL1: Booting BL31
    NOTICE:  BL31: v1.5(debug):1f8ca7e (Marvell-devel-18.12.2)
    NOTICE:  BL31: Built : 14:05:30
    
    U-Boot 2020.10-armbian (Oct 20 2020 - 14:05:01 +0000)
    
    DRAM:  2 GiB
    Comphy-0: USB3_HOST0    5 Gbps
    Comphy-1: PEX0          2.5 Gbps
    Comphy-2: SATA0         5 Gbps
    SATA link 0 timeout.
    AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl SATA mode
    flags: ncq led only pmp fbss pio slum part sxs
    PCIE-0: Link up
    MMC:   sdhci@d0000: 0
    Loading Environment from SPIFlash... SF: Detected w25q32dw with page size 256 By                                                                                                                                                                                                                                             tes, erase size 4 KiB, total 4 MiB
    OK
    Model: Globalscale Marvell ESPRESSOBin Board
    Net:   eth0: neta@30000 [PRIME]
    

     

     

    My own kernels boot but I'm still having issues with the latest armbian SD card images (same issue with 2017 and 2018 u-boots).

     

    I'm not game to touch atf - someone with Marvell's wtp tools set up can do that

  5. Marvell>> bubt flash-image-DDR3-2g_2cs_7-600_600.bin
    Burning U-BOOT image "flash-image-DDR3-2g_2cs_7-600_600.bin" from "tftp" to "spi"
    Using neta@30000 device
    TFTP from server 192.168.10.1; our IP address is 192.168.10.253
    Filename 'flash-image-DDR3-2g_2cs_7-600_600.bin'.
    Load address: 0x8000000
    Loading: #############################################################
             4.8 MiB/s
    done
    Bytes transferred = 895012 (da824 hex)
    Image checksum...OK!
    722980 bytes written, 172032 bytes skipped in 8.713s, speed 105174 B/s
    Done!
    Marvell>> reset
    resetting ...
    TIM-1.0
    WTMI-devel-18.12.1-e6bb176
    WTMI: system early-init
    
    DDR topology parameters:
    ========================
    ddr type               DDR3
    ddr speedbin           12
    bus width              16-bits
    cs num                 2
      cs[0] - group num    0
      cs[0] - bank num     8
      cs[0] - capacity     1024MiB
      cs[1] - group num    0
      cs[1] - bank num     8
      cs[1] - capacity     1024MiB
    CPU VDD voltage default value: 1.108V
    
    DRAM windows:
    =============
    WIN[0] - base addr     0x60000000
    WIN[0] - size          0x40000000
    WIN[1] - base addr     0xa0000000
    WIN[1] - size          0x20000000
    
    memory test region:
    ===================
    CS[0]                  0x60000000 - 0x9fffffff
    CS[1]                  0xa0000000 - 0xbfffffff
    
    SELF-REFRESH TEST PASS
    SELF-REFRESH TEST PASS
    CS0: QS GATE TRAINING PASSED
    CS1: QS GATE TRAINING PASSED
    DLL TUNING PASSED
    NOTICE:  Booting Trusted Firmware
    NOTICE:  BL1: v1.5(debug):1f8ca7e (Marvell-devel-18.12.2)
    NOTICE:  BL1: Built : 09:15:30, Oct 20 2020
    NOTICE:  BL1: Booting BL2
    NOTICE:  BL2: v1.5(debug):1f8ca7e (Marvell-devel-18.12.2)
    NOTICE:  BL2: Built : 09:15:30, Oct 20 2020
    NOTICE:  BL1: Booting BL31
    NOTICE:  BL31: v1.5(debug):1f8ca7e (Marvell-devel-18.12.2)
    NOTICE:  BL31: Built : 09:15:30, Oct
    
    U-Boot 2018.03-devel-18.12.3-armbian (Oct 20 2020 - 09:15:15 +0000)
    
    Model: Marvell Armada 3720 Community Board ESPRESSOBin
           CPU     600 [MHz]
           L2      800 [MHz]
           TClock  200 [MHz]
           DDR     600 [MHz]
    DRAM:  2 GiB
    Comphy chip #0:
    Comphy-0: USB3          5 Gbps
    Comphy-1: PEX0          2.5 Gbps
    Comphy-2: SATA0         6 Gbps
    SATA link 0 timeout.
    AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl SATA mode
    flags: ncq led only pmp fbss pio slum part sxs
    PCIE-0: Link down
    MMC:   sdhci@d0000: 0, sdhci@d8000: 1
    Loading Environment from SPI Flash... SF: Detected w25q32dw with page size 256 Bytes, erase size 4 KiB, total 4 MiB
    OK
    Model: Marvell Armada 3720 Community Board ESPRESSOBin
    Net:   eth0: neta@30000 [PRIME]
    Hit any key to stop autoboot:  0
    starting USB...
    USB0:   Register 2000104 NbrPorts 2
    Starting the controller
    USB XHCI 1.00
    USB1:   USB EHCI 1.00
    scanning bus 0 for devices... 1 USB Device(s) found
    scanning bus 1 for devices... 1 USB Device(s) found
           scanning usb for storage devices... 0 Storage Device(s) found
    /
    ** Bad device usb 0 **
    ## Executing script at 06d00000
    Wrong image format for "source" command
    /boot/
    ** Bad device usb 0 **
    ## Executing script at 06d00000
    Wrong image format for "source" command
    scanning bus for devices...
    
    Device 0: unknown device
    /
    ** Bad device scsi 0 **
    ## Executing script at 06d00000
    Wrong image format for "source" command
    /boot/
    ** Bad device scsi 0 **
    ## Executing script at 06d00000
    Wrong image format for "source" command
    /
    Card did not respond to voltage select!
    ** Bad device mmc 1 **
    ## Executing script at 06d00000
    Wrong image format for "source" command
    /boot/
    Card did not respond to voltage select!
    ** Bad device mmc 1 **
    ## Executing script at 06d00000
    Wrong image format for "source" command
    /
    ** File not found /boot.scr **
    ## Executing script at 06d00000
    Wrong image format for "source" command
    /boot/
    3185 bytes read in 13 ms (239.3 KiB/s)
    ## Executing script at 06d00000
    Boot script loaded from  0
    ** Bad device 0 0x9000000 **
    ** Bad device specification 0 /boot/uInitrd **
    ** Bad device specification 0 /boot/Image **
    ** Bad device specification 0 /boot/dtb/ **
    No FDT memory address configured. Please configure
    the FDT address via "fdt addr <address>" command.
    Aborting!
    ** Bad device 0 0x9000000 **
    ** Bad device 0 0x9000000 **
    Applying user provided fixup script (fixup.scr)
    ## Executing script at 09000000
    Wrong image format for "source" command
    Bad Linux ARM64 Image magic!
    Marvell>> printenv
    baudrate=115200
    boot_a_script=ext4load ${boot_interface} ${devnum}:1 ${scriptaddr} ${prefix}boot.scr;source ${scriptaddr};
    boot_interface=mmc
    boot_prefixes=/ /boot/
    boot_targets=usb sata mmc1 mmc0
    bootargs=root=/dev/mmcblk0p1 rootwait rootfstype=ext4 console=ttyS2,1500000 console=tty1 consoleblank=0 loglevel=1 ubootpart= usb-storage.quirks=   cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1
    bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done
    bootcmd_mmc0=setenv devnum 0; setenv boot_interface mmc; run scan_dev_for_boot;
    bootcmd_mmc1=setenv devnum 1; setenv boot_interface mmc; run scan_dev_for_boot;
    bootcmd_sata=setenv devnum 0; scsi scan; scsi dev 0; setenv boot_interface scsi; run scan_dev_for_boot;
    bootcmd_usb=setenv devnum 0; usb start;setenv boot_interface usb; run scan_dev_for_boot;
    bootdelay=2
    bootlogo=false
    console=both
    consoleargs=console=ttyS2,1500000 console=tty1
    devnum=0
    docker_optimizations=on
    earlycon=off
    eth1addr=00:51:82:11:22:01
    eth2addr=00:51:82:11:22:02
    eth3addr=00:51:82:11:22:03
    ethact=neta@30000
    ethaddr=00:51:82:11:22:00
    ethprime=eth0
    fdt_addr=0x6000000
    fdt_high=0xffffffffffffffff
    fdt_name=fdt.dtb
    fdtcontroladdr=7f62d490
    fileaddr=6d00000
    filesize=c71
    gatewayip=10.4.50.254
    get_images=tftpboot $kernel_addr $image_name; tftpboot $fdt_addr $fdt_name; run get_ramfs
    get_ramfs=if test "${ramfs_name}" != "-"; then setenv ramfs_addr 0x8000000; tftpboot $ramfs_addr $ramfs_name; else setenv ramfs_addr -;fi
    hostname=marvell
    image_name=Image
    initrd_addr=0x1100000
    initrd_image=uInitrd
    initrd_size=0x2000000
    ipaddr=0.0.0.0
    kernel_addr=0x7000000
    load_addr=0x9000000
    loadaddr=0x8000000
    netdev=eth0
    netmask=255.255.255.0
    overlay_error=false
    ramfs_addr=0x8000000
    ramfs_name=-
    root=root=/dev/nfs rw
    rootdev=/dev/mmcblk0p1
    rootfstype=ext4
    rootpath=/srv/nfs/
    scan_dev_for_boot=for prefix in ${boot_prefixes}; do echo ${prefix};run boot_a_script; done
    scriptaddr=0x6d00000
    serverip=192.168.10.1
    set_bootargs=setenv bootargs $console $root ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:none nfsroot=$serverip:$rootpath $extra_params
    stderr=serial@12000
    stdin=serial@12000
    stdout=serial@12000
    verbosity=1
    
    Environment size: 2298/65532 bytes
    Marvell>>
    

     

    Apologies, I couldn't move the code block once I'd put it in here.

     

    I'm trying to boot Armbian_20.08.2_Espressobin_buster_current_5.8.6.img written onto a known-good SD card. I've tried both on an older bootloader and the 2018 one suggested by Armbian.

     

  6. Armbianmonitor:

    Hi all,

    In the review of the Fire3

    at least one person mentions powering this board via something other than the MicroUSB. This would allow me to use the serial console that's supposedly exposed over that port instead of wiring up yet another USB to serial converter.

     

    What I can't work out is a) which pin/s are used to power it, and b) what kind of power supply is used. I'd rather not fry the board (it'll do that itself under load) so can someone point me in the right direction?

     

    Thanks in advance.

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines