tedsluis

Members
  • Posts

    4
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    The Netherlands

Contact Methods

  • Website URL
    https://github.com/tedsluis

tedsluis's Achievements

  1. Hi, I recently reinstalled an orange pi 2+ with Armbian Stretch mainline kernel 4: root@ted1090-7:~# uname -a Linux ted1090-7 4.14.18-sunxi #24 SMP Fri Feb 9 16:24:32 CET 2018 armv7l GNU/Linux I also installed it on EMMC (this way, with this u-boot-sunxi-with-spl.bin). Now this orange pi crashes every couple of days (sometimes with a couple of hours). This orange pi use to run with Armbian legacy 3.x kernel on EMMC without any issue: pi@ted1090-6 ~ $ uname -a Linux ted1090-6 3.4.113-sun8i #18 SMP PREEMPT Wed Jan 24 22:10:49 CET 2018 armv7l GNU/Linux Exactly the same applications are installed (dump1090 and dump1090-tools). The applications do run okay until the orange pi crashes. I have several more orange pi's 2 +, running exactly the same software on the Armbian legacy 3.x kernel installed on EMMC without any issue. I would like to know why my orange pi crashes with the Armbian Stretch mainline kernel 4? I monitored the files systems and searched the log files for a reason, but I didn't find a cause. Does anyone know why I pi crashes? Here is my system info: http://ix.io/1lxa root@ted1090-7:~# armbianmonitor -u System diagnosis information will now be uploaded to http://ix.io/1lxa Kind regards!
  2. Can I safely download a "u-boot-sunxi-with-spl.bin" file for my orange pi 2 plus via this link? https://d-i.debian.org/daily-images/armhf/daily/u-boot/
  3. pffff... Thanks Igor! I just booted without SD card and it worked ;-) I did not know it was that simple ;-) Now running on the internal 16GB emmc memory. Thanks!
  4. Hi, I am a newbie with u-boot, Armbian and Orange Pi. This is my first post in this forum. I want to thank everyone involved in the development of Armbian! I am running Armbian on a Orange pi plus 2 from SD card. That works fine, but I would like to install the OS on the internal 16GB eMMC memory. I tried to perform the instructions that were posted on http://forum.armbian.com/index.php/topic/1070-install-to-emmc/?p=8433: - Update Armbian (using apt-get update / upgrade). - Download the U-boot file provided by lonix for the orangePi Plus version from https://mega.nz/#!nEhzARbL!b4GCocqV_DlikufwdB_ajrSFwIjF1QS5BA57K0MCbm4 - Flash the u-boot file: root@orangepiplus2:# sudo dd if=u-boot-sunxi-with-spl.bin of=/dev/mmcblk1 bs=1024 seek=8- Immediately after I performed: root@orangepiplus2:# sudo nand-sata-install - After the nand-sata-install I performed a reboot. But I am pretty sure that I did not carry out the instructions in the correct way, because I am still running the OS from the 8GB SD card :-( root@orangepiplus2:# mount | grep mmc /dev/mmcblk0p1 on / type ext4 (rw,noatime,nodiratime,errors=remount-ro,commit=600) <= 8GB SD card root@orangepiplus2:# fdisk /dev/mmcblk0 Welcome to fdisk (util-linux 2.25.2). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. Command (m for help): p Disk /dev/mmcblk0: 7.4 GiB, 7948206080 bytes, 15523840 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x00007b95 Device Boot Start End Sectors Size Id Type /dev/mmcblk0p1 4096 15523839 15519744 7.4G 83 Linux Do I run the correct OS version? root@orangepiplus2:# uname -a Linux orangepiplus2 3.4.112-sun8i #30 SMP PREEMPT Sat Apr 30 19:49:10 CEST 2016 armv7l GNU/Linux Do I use the correct U-boot package version? root@orangepiplus2:# apt-cache show linux-u-boot-orangepiplus-default Package: linux-u-boot-orangepiplus-default Priority: optional Section: kernel Installed-Size: 1 Maintainer: Igor Pecovnik <igor.pecovnik@****l.com> Architecture: armhf Version: 5.10 Filename: pool/main/l/linux-u-boot-orangepiplus-default/linux-u-boot-orangepiplus_5.10_armhf.deb Size: 148442 MD5sum: bf318d539042f35719b424905f84e684 SHA1: 25170bda821a25c622de78d21639431b8363f6d7 SHA256: de598174315ab52a7d45047fbaf7fdf1a2f6eab41dbd5530be9f4c0721005e50 SHA512: 5cd0c275384ac26b8888a180fbf41c60ea9f3ead559f2e840e8bc1db59b8a68037083d70a26545259cb2328d73710161f1d55e9fa7117af5b619b6c55c16e955 Description: Uboot loader 3.4.112 Description-md5: d63394bdd198156c5cbd3a84467017ea Is my assumption correct: Can I use the U-boot file that was build from source by lonix for the orangePi Plus for my orange Pi Plus 2? Or should I build my own version from source? How? Is my partition layout correct? root@orangepiplus2:# ls -l /dev/mmc* brw-rw---- 1 root disk 179, 0 May 6 17:50 /dev/mmcblk0 (8GB SD card) brw-rw---- 1 root disk 179, 1 May 6 17:50 /dev/mmcblk0p1 brw-rw---- 1 root disk 179, 16 May 6 20:34 /dev/mmcblk1 (16GB eMMC internal memory) brw-rw---- 1 root disk 179, 32 May 6 17:50 /dev/mmcblk1boot0 brw-rw---- 1 root disk 179, 48 May 6 18:22 /dev/mmcblk1boot1 brw-rw---- 1 root disk 179, 17 May 6 20:34 /dev/mmcblk1p1 My /boot/boot.cmd is still pointing to my 8GB SD card instead of my 16GB eMMC internal memory: root@orangepiplus2:/boot# cat boot.cmd | grep setenv setenv bootargs "console=tty1 root=/dev/mmcblk0p1 rootwait rootfstype=ext4 cgroup_enable=memory swapaccount=1 sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_no_mali_mem_reserve sunxi_fb_mem_reserve=16 panic=10 consoleblank=0 enforcing=0 loglevel=${verbosity}" Where did I went wrong? I hope someone can help me out.