Jump to content

phintegrator

Members
  • Posts

    37
  • Joined

  • Last visited

Posts posted by phintegrator

  1. Hello All,

     

    Does someone knows a possible reason why AXP 209 on some boards are failing?

    That will result to an error message "Failed to set core voltage! Can't set CPU frequency".

    After that we cannot probe the i2c bus address of the AXP209 anymore.

     

    Hope someone can share some insights.

    U-Boot SPL 2015.10-rc5-gc387326-dirty (May 19 2016 - 19:02:38)                  
    DRAM: 1024 MiB                                                                  
    Failed to set core voltage! Can't set CPU frequency                             
    Card did not respond to voltage select!                                         
                                                                                    
                                                                                    
    U-Boot 2015.10-rc5-gc387326-dirty (May 19 2016 - 19:02:38 +0800) Allwinner Techy
                                                                                    
    CPU:   Allwinner A20 (SUN7I)                                                    
    I2C:   ready                                                                    
    DRAM:  1 GiB                                                                    
    MMC:   Card did not respond to voltage select!                                  
    SUNXI SD/MMC: 1, SUNXI SD/MMC: 0 (eMMC)                                         
    In:    serial                                                                   
    Out:   serial                                                                   
    Err:   serial                                                                   
    SCSI:  SUNXI SCSI INIT                                                          
    AHCI PHY power up failed.                                                       
    Net:   No ethernet found.                                                       
    starting USB...                                                                 
    USB0:   USB EHCI 1.00                                                           
    USB1:   USB OHCI 1.0                                                            
    USB2:   USB EHCI 1.00                                                           
    USB3:   USB OHCI 1.0                                                            
    scanning bus 0 for devices... 1 USB Device(s) found                             
    scanning bus 2 for devices... 2 USB Device(s) found                             
    Hit any key to stop autoboot:  0
    

    Thanks in advance...

  2. Hello All,

     

    I have a requirement that we need to enable the watchdog in uboot and kernel.

     

    For Kernel I was able to enable it using the config below and using a "watchdog" utility. 

    CONFIG_WATCHDOG=y
    CONFIG_WATCHDOG_CORE=y
    # CONFIG_WATCHDOG_NOWAYOUT is not set
    
    #
    # Watchdog Device Drivers
    #
    # CONFIG_SOFT_WATCHDOG is not set
    # CONFIG_GPIO_WATCHDOG is not set
    # CONFIG_XILINX_WATCHDOG is not set
    # CONFIG_CADENCE_WATCHDOG is not set
    # CONFIG_DW_WATCHDOG is not set
    CONFIG_SUNXI_WATCHDOG=y
    # CONFIG_MAX63XX_WATCHDOG is not set
    # CONFIG_BCM7038_WDT is not set
    # CONFIG_MEN_A21_WDT is not set
    

    Now i'm stuck how to implement it in uboot.

    BTW, I'm using A20 board and a mainline uboot.

     

    Hope anyone can help.

     

    Thanks in advance.

  3. Hello Tomas,

     

    At the minimum we need something like this, rootfs resides on the host PC.

    sunxi-fel -v uboot u-boot-sunxi-with-spl.bin \
                 write 0x42000000 uImage \
                 write 0x43000000 sun7i-a20-cubietruck.dtb \
                 write 0x43100000 boot.scr \
                 write 0x43300000 rootfs.cpio.lzma.uboot
    

    But,it will be great if it is possible to put the rootfs in a USB storage device. (can you share an instructions)

     

    Thanks. :)

  4. Hi All,

     

    I have a requirement to boot a whole a20 system over USB as discussed in the link below.

     

    http://linux-sunxi.org/FEL/USBBoot#Boot_the_system_over_USB

     

    It requires U-Boot + kernel + initramfs to do this. 

    Right now the only part that I succeed is booting on uboot, but not yet in kernel as well as initramfs (which is I dont have yet). 

     

    I cant find a good tutorial how to do this.

    Hope someone can help.

     

    Thanks in advance. 

  5. Hi Guus,

     

     

    I am having similar problem while trying to make use of eMMC on A20-Olinuxino-Lime2-eMMC (HW rev. E).

    I get the same error but using Armbian 4.5 with mainline kernel 4.2.3 (see more details here).

     

    Fortunately, Linux boot successfully from SD card MMC0 so I can change dtb and try different configurations.

     

    I have also tried to make use of eMMC from Armbian 5.07 with legacy kernel 3.4.111 with no success as well.

     

    Could you give me more information about the problem fix especially around 'GPIO pin to simulate an SD DETECT line'?

     

    Best regards

    Chris

     

    Can you share your current dts? Lets see if all the configuration needed are defined.

  6. Hi,

     

    Can anyone tell why I cant export PH3 as gpio?

    It is the default "usb2_vbus-supply" for usb2 of allwinner A20.

     

    In my application I need to control this "usb2_vbus-supply".

     

    Example : exporting PH3

     

    root@cubieboard2:~# echo 227 > /sys/class/gpio/export                                                                                                              
    -bash: echo: write error: Device or resource busy

     

    Im using armbian vanilla for my cb2.

     

    Thanks in advance.

  7. Hello Igor,

     

    Good day.

    I just want to ask some question regarding cubieboard2 vanilla, hope you can find time to reply.

     

    1. Which kernel source you are using ?

    2. What configuration you use?

    2. What are the patches you use?

     

    Thanks in advance.  :)

     

    Best Regards,

    Javer

     

  8. Hi ,

     

    Do you have any idea what the problem here?

    I try recompiling this with Cubietruck_config

     

    https://github.com/mmplayer/u-boot-sunxi/tree/sunxi-nand-a20

     

    My build doesn't proceed, I'm stuck with this error.

    arm-linux-gnueabi-ld.bfd: BFD (GNU Binutils for Ubuntu) 2.24 assertion fail ../../bfd/elf32-arm.c:7696
    arm-linux-gnueabi-ld.bfd: BFD (GNU Binutils for Ubuntu) 2.24 assertion fail ../../bfd/elf32-arm.c:7696
    arm-linux-gnueabi-ld.bfd: BFD (GNU Binutils for Ubuntu) 2.24 assertion fail ../../bfd/elf32-arm.c:7696
    arm-linux-gnueabi-ld.bfd: error: required section '.rel.plt' not found in the linker script
    arm-linux-gnueabi-ld.bfd: final link failed: Invalid operation
    make: *** [u-boot] Error 1
    
    

    Hope anyone can help.

    Thanks.

  9. Hi Everyone,

     

    I am trying to compile armbian in my ubuntu 14.04 machine.

    Can someone identify what is this error Im encountering?

     

     

    Thanks in advcance. :)

    Compiling u-boot...                                                          │  
                            │──────────────────────────────────────────────────────────────────────────────│  
                            │ .config:617:warning: override: reassigning to symbol OLD_SUNXI_KERNEL_COMPAT │  
                            │ #                                                                            │  
                            │ # configuration written to .config                                           │  
                            │ #                                                                            │  
                            │   CHK     include/config.h                                                   │  
                            │   GEN     include/autoconf.mk                                                │  
                            │ /bin/sh: 1: ccache: not found                                                │  
                            │   GEN     include/autoconf.mk.dep                                            │  
                            │ /bin/sh: 1: ccache: not found                                                │  
                            │ make[1]: *** [include/autoconf.mk] Error 1                                   │  
                            │ make[1]: *** Waiting for unfinished jobs....                                 │  
                            │ make[1]: *** [include/autoconf.mk.dep] Error 1                               │  
                            │   GEN     spl/include/autoconf.mk                                            │  
                            │ /bin/sh: 1: ccache: not found                                                │  
                            │ make[1]: *** [spl/include/autoconf.mk] Error 1                               │  
                            │ make: *** No rule to make target `include/config/auto.conf', needed by `incl 
    
    [ o.k. ] Target directory [ /home/ionics-sw/Desktop/ARMBIAN/output/debs/ ]
    [ o.k. ] Building deb [ linux-u-boot-cubieboard2_4.83_armhf.deb ]
    [ error ] Building failed, check configuration. [ linux-u-boot-cubieboard2_4.83_armhf.deb deleted ]
    
    
  10. Can someone tell me how to enable PWM in cubieboard2.

     

    I am using the latest ubuntu of armbian and vanilla kernel from this link.

    http://www.armbian.com/cubieboard-2/

     

    Looking at /sys/class, I cant find any pwm folder

    root@cubieboard2:/sys/class# ls                                                 
    ata_device   gpio              iscsi_iface      power_supply  scsi_host         
    ata_link     graphics          iscsi_session    ppp           spidev            
    ata_port     hwmon             iscsi_transport  pps           spi_master        
    backlight    i2c-adapter       leds             ptp           thermal           
    bdi          i2c-dev           mdio_bus         rc            tty               
    block        ieee80211         mem              regulator     vc                
    bluetooth    input             misc             rfkill        video4linux       
    bsg          iscsi_connection  mmc_host         rtc           vtconsole         
    devcoredump  iscsi_endpoint    net              scsi_device   watchdog          
    dvb          iscsi_host        phy              scsi_disk
    

    Appreciate any help.

  11. Hi All,

     

    Can someone tell me how to update the script.bin in sd card and nand.

    I am using a custom board, which has different usb pin config. So Im trying enable it in script.bin.

    This is what I done so far.

     

     

    For SD card

    1. I delete  /boot/script.bin

    2. Write new config in /boot/script.bin

    3. Reboot

     

    Then the usb is still not detected, it seems that I did something wrong.

     

     

    For nand:

    1. I boot via sd card

    2. mount /dev/nanda /mnt/nanda

    3. rm /mnt/nanda/script.bin

    4. cp new_script.bin /mnt/nanda/script.bin

    5. umount /mnt/nanda

    6. reboot

     

    Again, nothing happens.

    The usb is still not detected

     

    Thanks in advance.

  12. Hi Igor,

     

    Yes, I did. Exact sequence below.

    root@ubuntu1404-VirtualBox:/home/ubuntu1404/Desktop/LITE/u-boot# make clean
    root@ubuntu1404-VirtualBox:/home/ubuntu1404/Desktop/LITE/u-boot# make mrproper
    root@ubuntu1404-VirtualBox:/home/ubuntu1404/Desktop/LITE/u-boot# make CROSS_COMPILE=arm-linux-gnueabihf- Cubieboard2_defconfig
    root@ubuntu1404-VirtualBox:/home/ubuntu1404/Desktop/LITE/u-boot# make CROSS_COMPILE=arm-linux-gnueabihf-

    I attached the  log file.

     

    Thanks.

     

    complete_logs.txt

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines