Jump to content

andy_n

Members
  • Posts

    12
  • Joined

  • Last visited

Posts posted by andy_n

  1. Sorry martinayotte,

     

    u-boot-i2c  is working but w/o i2c!?

    u-boot-mizi.bin has i2c working but not compatible with Armbian (OpenWrt)...

     

    Soft i2c in u-boot, is it possible?

     

    I've build u-boot with .dts and board.c changes and didn't note how - so stupid.

     

     

     

     

  2. 4 hours ago, andy_n said:

     

    I had it and lost it: u-boot with I2C. I did not write down how I did it (was heavy) :(
    Tried to build yourself again: does not work.
    u-boot-mizi.bin does not want to boot.

     

    For 2 days I try to find the solution. Google has already blocked me ;)

     

    Can somebody help? I need i2c directly, after power on, to read FRAM and set relays. 

    Programming in Linux is enjoyable but system administration is horrible.

    What am I doing:

     

    git clone https://github.com/hsdenx/u-boot-i2c.git

    u-boot/make orangepi_zero_defconfig

    u-boot/make

     

    u-boot/export card=/dev/mmcblk0
    u-boot/export p=p
    u-boot/dd if=u-boot-sunxi-with-spl.bin of=${card} bs=1024 seek=8

    reboot = not booting

     

    I'm tried this  with git://git.denx.de/u-boot.git: not working.

     

    What am I doing wrong?

     

    4 hours ago, andy_n said:

     

    Thanks

     

  3.  

    I had it and lost it: u-boot with I2C. I did not write down how I did it (was heavy) :(
    Tried to build yourself again: does not work.
    u-boot-mizi.bin does not want to boot.

     

    For 2 days I try to find the solution. Google has already blocked me ;)

     

    Can somebody help? I need i2c directly, after power on, to read FRAM and set relays. 

    Programming in Linux is enjoyable but system administration is horrible.

     

    Thanks

  4.  

    Sure, if I can help. I'm a beginner in Linux but have a lot of experience with uC programming.

    I'm always looking for aunt google before I 'engage' forum.
    But for beginner, the biggest problem is: how do I ask the question?! :)

     

    I'm always saying my friends: I can not program, but I can google. ;)

     

    Thank again...

  5. Thanks guidol,

     

    It's really working!

    I would never thought it. 

     

    I spent the last 2 weeks fighting with the boot time (important for me) and now I suddenly lose 10 seconds.

    Works with 5 s, but I do not like timers on the edge. I do not like to wait, no matter where.

     

    There is no another (elegant) solution?

    When booting, Linux should send short UDP broadcast datagram. It's all.

     

    Thanks guidol again. It was helpful.

     

     

  6. Hi

    I'm trying to start own service with rc.local automatically on the boot:

    sudo systemctl start Announce.service

     

    I can successful start it manually from terminal (/etc/rc.local) but it is not starting automatically on the boot.

    rc.local ist starting ([  OK  ] Started /etc/rc.local Compatibility new / new is from me)

     

    I didn't find any solution by google. 

     

    Thanks Andy

     

     

     

     

     

     

  7. Thanks for answer.

     

    I wanted to change defconfig, make u-boot and replace the files but i didn't find any description of armbian u-boot.  

    If I understand it right: I can switch SPI or I2C for boot terminal only with new compiling.

    I do not want to boot form SPI or I2C only read external memory and change GPIO before booting. 

     

     

     

  8. Hi,

     

    I try to play with Armbian Stretch mainline kernel 4.14.y on Orange Pi Zero and need for my idea sf funktion (SPI) and i2c in u-boot terminal.
    I've build mainline U-Boot but the files in /boot directory from armbian looks so "strange". There is any description how to replace the files or make changes.

     

    Thanks for help.

    P.S.  Have a lot of experience with uC programming, less with Linux.

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines