Jump to content

Anderson Lima

Validating
  • Posts

    5
  • Joined

  • Last visited

  1. Thanks a lot, this was really useful. Thanks too, I'm trying that.
  2. Thanks, yes, certainly adding extra hardware would solve the problem properly.
  3. Thanks for the reply. The device is installed in an place where there are power outages that affect also the network infrastructure, it can take several minutes before it goes back online. I will check if forcing ntp before a reboot makes the clock come back with the same date from the NTP.
  4. Hi all, everytime I turn on my Nano Pi it will sync the clock using NTP. When network is not enabled it will rewind the time to something that I still can't comprehend. I found lots of topics about people talking about how to add a RTC to the system, but none talking about the current RTC that is recognized by the kernel. Currently when the system is powered off and on (10 seconds distance) without network the time will rewind between 5 and 15 minutes. I understand that this happens because there is no RTC to write the current clock and battery to keep it. But there is obviously a RTC somewhere because removing power from the device and putting it back will keep a wrong but close time. I didn't leave it a long time off to check what happens yet. [ 4.381725] sun6i-rtc 1f00000.rtc: registered as rtc0 [ 4.381738] sun6i-rtc 1f00000.rtc: RTC enabled My question is: is it possible to sync the time more often so in a restart scenario the clock is "less wrong" ?
  5. I'm trying to make a master image to install to some NanoPI Neo boards. I have everything running fine from micro SD card. I used armbian-config to flash from SD to the eMMC and it boot and works. Now I'm looking for a way to flash the eMMC from command line in an automatic fashion, after looking for other threads in the forum I found about command nand-sata-install but it has a GUI and no --help parameter, so I guess it is not the exact program I have to use. I tested using dd command to copy the disk, but since there is this u-boot thing I think it is not just a standard disk copy because it failed (maybe my problem). My final idea is to have a master SD card that I plug and power on, then the OS boots, flashes the eMMC and blink leds in a special way to give me success or error. Then I can power off and remove the SD card. Any advice is highly appreciated, thanks in advance and for reading this far. OS: Armbian 20.02.1 Uname: Linux VRD-NanoPi 5.4.31-sunxi #20.02.11 SMP Thu Apr 9 21:47:57 CEST 2020 armv7l GNU/Linux
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines