Jump to content

September

Members
  • Posts

    13
  • Joined

  • Last visited

Recent Profile Visitors

1699 profile views
  1. Alright - found the culprit: SD card. Had to take another two cards. Oh boy ...
  2. L.S., I made a download of 'Armbian_5.25_Bananapi_Debian_jessie_next_4.9.7.img' Unfortunately the boot process stops at LIRC at the 1st (!) boot: [ OK ] Started LSB: Raise network interfaces.. Starting ifup for eth0... [ OK ] Started ifup for eth0. [ OK ] Reached target Network. [ OK ] Reached target Network is Online. [ OK ] Reached target System Initialization. Starting Armbian filesystem resize service... [ OK ] Started Armbian filesystem resize service. [ OK ] Reached target Basic System. Starting LSB: Starts LIRC daemon.... [ OK ] Started LSB: Starts LIRC daemon.. I can imagine that LIRC is useful, but what's the purpose on a server image? Beside this, how can I disable it? U-Boot SPL 2017.03-armbian (Apr 23 2017 - 15:12:46) DRAM: 1024 MiB CPU: 912000000Hz, AXI/AHB/APB: 3/2/2 Trying to boot from MMC1 U-Boot 2017.03-armbian (Apr 23 2017 - 15:12:46 +0200) Allwinner Technology CPU: Allwinner A20 (SUN7I) Model: LeMaker Banana Pi I2C: ready DRAM: 1 GiB MMC: SUNXI SD/MMC: 0 I found the same issue while compiling the latest sources from scratch ... Your help is appreciated. Many thanks. /September
  3. Two thoughts: 1) Create a normal user (instead of user root) to run your docker container. Don't forget to add the newly created user to group 'docker' 2) Use the correct container images (armhf!), search a suitable image with command: user@bananapi:~$ docker search armhf NAME DESCRIPTION STARS OFFICIAL AUTOMATED armv7/armhf-ubuntu 'official' Ubuntu Docker images for the AR... 22 armv7/armhf-archlinux archlinux arm Docker image for the ARMv7(a... 11 container4armhf/armhf-alpine Automatically built base images of Alpine ... 10 [OK] ioft/armhf-ubuntu [ABR] Ubuntu Docker images for the ARMv7(a... 10 [OK] mazzolino/armhf-ubuntu Ubuntu-Core images for armhf (ARMv7) devices 6 armv7/armhf-ubuntu_core Ubuntu Core Docker images for the ARMv7(ar... 5 armhf/ubuntu Ubuntu is a Debian-based Linux operating s... 2 moul/armhf-busybox 2 [OK] ...
  4. @MathiasRenner: The deb-package you're refering is working fine on a BananaPi and Igor's image (self compiled). Don't know which additional information you need: (I removed some columns) | __ ) __ _ _ __ __ _ _ __ __ _ | _ \ / _` | '_ \ / _` | '_ \ / _` | | |_) | (_| | | | | (_| | | | | (_| | |____/ \__,_|_| |_|\__,_|_| |_|\__,_| Welcome to ARMBIAN (Debian sid 4.2.6-sunxi) Last login: Wed Dec 9 17:50:05 2015 from 192.xxx.xxx.xxx Load: 0.31, 0.38, 0.40 - Board: 35.5°C - Memory: 1097Mb andy@bananapi:~$ uname -a Linux bananapi 4.2.6-sunxi #1 SMP Sun Nov 29 10:33:44 CET 2015 armv7l GNU/Linux andy@bananapi:~$ docker -v Docker version 1.9.1, build a34a1d5 andy@bananapi:~$ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS 3fdb3b7fa809 owntracks "/bin/bash" 2 hours ago Up 2 hours c162d841bed9 openhab "/bin/bash /start.sh" 5 hours ago Up 5 hours 38ed57e5947d pynetatmo "/usr/local/bin/super" 25 hours ago Up 25 hours 91b90abc5370 node-red "/bin/sh -c '/usr/loc" 33 hours ago Up 33 hours 114cbbaddc53 owntrack_mqtt "/bin/bash /start.sh" 46 hours ago Up 46 hours 6c4782af0a4d mqtt "/bin/sh -c '/usr/sbi" 2 days ago Up 2 days 1858bc27fdff smsserver "/bin/bash /start.sh" 8 days ago Up 8 days Yes, it's a huge improvement to see a cooperation between both projects! ~September~
  5. Seems, you've got it. On RasPi2 the overlay FS is 'self detected' and added as a parameter. No glue why it's not on the BPi and CT. Unfortunately you have to do the small change whenever you update Docker. I already tried to manipulate the docker config under /etc To persist. So far w/o success. When there's time ...
  6. Hi, you may use the more recent one you already found at http://blog.hypriot.com/downloads/ Used source: http://www.lemaker.org/forum.php?mod=viewthread&tid=4252&extra=page%3D1
  7. Confirmed. After installing a clean ubuntu 14.04.3 LTS in a VM (left locale on en_US except keyboard) I was able to build the image w/o any modifications. The difference between the other 14.04 LTS images I have relies on the additional PPAs. Some of them are development or at least experimental. Typical case of PEBKAC, I would say. Sorry for the noise and thanks for the 'second' branch. Good luck, ~September~
  8. Hi Igor, problem(s) solved! My BPi seems to be sensitive (timewise during boot, I guess). A friend's BPi didn't show this issue and was booting/rebooting all times with and without power cycling. Followed your advice: Reinstalled a vanilla 14.04.03 in a VM, updated suggested patches and left locale on en_US except keyboard. With this configuration my BPi "survives" powercycling too ... I owe your at least a beer. Thanks for your patience and hints. Cheers, ~September~ PS: Please add a 'solved' to the topic. Can't access the headline. Thanks.
  9. Yes, I did: root@bananapi:~/42# dpkg -i *.deb Selecting previously unselected package linux-dtb-next-sunxi. (Reading database ... 117730 files and directories currently installed.) Preparing to unpack linux-dtb-next-sunxi_4.2_armhf.deb ... Unpacking linux-dtb-next-sunxi (4.2) ... dpkg: error processing archive linux-dtb-next-sunxi_4.2_armhf.deb (--install): trying to overwrite '/boot/dtb/sun4i-a10-chuwi-v7-cw0825.dtb', which is also in package linux-dtb-4.1.6-bananapi 3.2 Preparing to unpack linux-firmware-image-next-sunxi_4.2_armhf.deb ... Unpacking linux-firmware-image-next-sunxi (4.2) over (4.2) ... Preparing to unpack linux-headers-next-sunxi_4.2_armhf.deb ... Unpacking linux-headers-next-sunxi (4.2) over (4.2) ... Preparing to unpack linux-image-next-sunxi_4.2_armhf.deb ... Unpacking linux-image-next-sunxi (4.2) over (4.2) ... Preparing to unpack linux-u-boot-next-bananapi_4.2_armhf.deb ... Unpacking linux-u-boot-bananapi-next (4.2) over (4.2) ... Setting up linux-firmware-image-next-sunxi (4.2) ... Setting up linux-headers-next-sunxi (4.2) ... Setting up linux-image-next-sunxi (4.2) ... Setting up linux-u-boot-bananapi-next (4.2) ... Errors were encountered while processing: linux-dtb-next-sunxi_4.2_armhf.deb root@bananapi:~/42# dpkg -r linux-dtb-4.1.6-bananapi (Reading database ... 117730 files and directories currently installed.) Removing linux-dtb-4.1.6-bananapi (3.2) ... root@bananapi:~/42# dpkg -i linux-dtb-next-sunxi_4.2_armhf.deb (Reading database ... 117685 files and directories currently installed.) Preparing to unpack linux-dtb-next-sunxi_4.2_armhf.deb ... Unpacking linux-dtb-next-sunxi (4.2) ... Setting up linux-dtb-next-sunxi (4.2) ... root@bananapi:~/42# If I issue a 'reboot' now, the system comes up as expected. dmesg: [ 11.128017] sun7i-dwmac 1c50000.ethernet: no reset control found [ 11.128069] Ring mode enabled [ 11.128089] No HW DMA feature register supported [ 11.128099] Normal descriptors [ 11.128124] TX Checksum insertion supported [ 11.186223] libphy: stmmac: probed [ 11.186278] eth0: PHY ID 001cc915 at 0 IRQ POLL (stmmac-0:00) active [ 11.186301] eth0: PHY ID 001cc915 at 1 IRQ POLL (stmmac-0:01) [ 11.347732] RX IPC Checksum Offload disabled [ 11.347794] No MAC Management Counters available [ 15.337060] sun7i-dwmac 1c50000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx [ 24.103321] nf_conntrack version 0.5.0 (16063 buckets, 64252 max) Now I issued a 'halt' and waited. Removed power supply and reconnected. Boot fails. If I'm lucky it succeeds after a number of power-off/power-on/reset tries. Tried several power supplies already as well as SD-cards. MacBookPro:~ $ ssh user@bananapi.local ssh: Could not resolve hostname bananapi.local: nodename nor servname provided, or not known Need to grab a keyboard and monitor to recover ... ~September~
  10. Not sure if I get you correctly ... BPi is A20 but the refered patch is A10. I presume the hardware wiring/connection is the same for A20 and A10? Another point: # copy orange pi DTS if [ "$(cat arch/arm/boot/dts/Makefile | grep sun7i-a20-orangepi)" == "" ]; then sed -i 's/sun7i-a20-bananapi.dtb \\/sun7i-a20-bananapi.dtb \\\n sun7i-a20-orangepi.dtb \\/g' arch/arm/boot/dts/Makefile cp $SRC/lib/patch/sun7i-a20-orangepi.dts arch/arm/boot/dts/ cp $SRC/lib/patch/sun4i-a10.h arch/arm/boot/dts/include/dt-bindings/pinctrl fi So the patch for the orange pi applies to the bananapi as well? May I have to change the if-construct? Thank you, ~September~
  11. Ooops. Sorry forgot to tell you: user@ububuild:~$ uname -a Linux ububuild 3.19.0-26-generic #28-Ubuntu SMP Tue Aug 11 14:16:45 UTC 2015 i686 i686 i686 GNU/Linux user@ububuild:~$ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=15.04 DISTRIB_CODENAME=vivid DISTRIB_DESCRIPTION="Ubuntu 15.04" But I get the same message with Ubuntu 14.04 LTS, no matter if running virtual or real or 64bit or 32bit. ~September~
  12. Hi Igor, I encountered an issue on Bananapi with kernel 4.2 using your latest SDK: A reboot or powercycle will fail with getting eth0 up and running (no IP address). I tried these both combinations: u-boot: 2015.04 + kernel: 4.2 u-boot: 2015.07 + kernel: 4.2 dmesg delivers: [ 13.387092] sun7i-dwmac 1c50000.ethernet: no reset control found [ 13.394879] Ring mode enabled [ 13.402647] No HW DMA feature register supported [ 13.402814] Normal descriptors [ 13.418061] TX Checksum insertion supported [ 13.498887] libphy: PHY stmmac-0:ffffffff not found [ 13.507177] eth0: Could not attach to PHY [ 13.515283] stmmac_open: Cannot attach to PHY (error: -19) [ 13.615876] libphy: stmmac: probed [ 13.623515] eth0: PHY ID 001cc915 at 0 IRQ POLL (stmmac-0:00) active [ 13.631591] eth0: PHY ID 001cc915 at 1 IRQ POLL (stmmac-0:01) [ 98.534925] nf_conntrack version 0.5.0 (15937 buckets, 63748 max) Don't know if eth0 interface received a new code base. Using a search engine I only found links related to sunxi 1Gbps eth0 interface which were fixed in u-boot. That's the reason I tried both u-boot releases with kernel 4.2. Compared with u-boot: 2015.04 and kernel: 4.1.6 (used branch 'next' with some warning messages during patch process but not related to BPi): [ 11.861140] EXT4-fs (mmcblk0p1): re-mounted. Opts: data=writeback,commit=600,errors=remount-ro [ 12.194582] systemd-journald[106]: Received request to flush runtime journal from PID 1 [ 13.947698] RX IPC Checksum Offload disabled [ 13.955635] No MAC Management Counters available [ 17.937024] stmmaceth 1c50000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx [ 28.140918] nf_conntrack version 0.5.0 (15941 buckets, 63764 max) Any idea? Thanks, ~September~
  13. Hi Igor, the git branch 'second' is failing while shrinking or resizing the image: Processing triggers for dbus (1.8.18-0+deb8u1) ... [ o.k. ] Install board specific applications. [ bananapi ] [ o.k. ] Fingerprinting. [ Armbian 4.2 Bananapi Debian jessie next Linux 4.2.0 ] [ o.k. ] Creating boot scripts [ bananapi ] [ o.k. ] Possible after install. [ o.k. ] Writing boot loader [ /dev/loop0 ] 368+1 Datensätze ein 368+1 Datensätze aus [ o.k. ] Shrink partition and image to real size [ 15 % free space ] resize2fs 1.42.12 (29-Aug-2014) /root/armbian/lib/common.sh: Zeile 273: (4k: Der Wert ist für die aktuelle Basis zu groß. (Fehlerverursachendes Zeichen ist »4k«). [ ok ] Runtime 3 min A (bad) translation of the German statement is: "4k: The value is too large for the recent basis. Error is caused by character '4k')" Have a nice day, ~September~
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines