Jump to content

holm

Members
  • Posts

    6
  • Joined

  • Last visited

  1. ..Ok thanks, I'll try the 2nd Version. My Hardware should be ok to do that, I have an FreeBSD Host with a Ryzen 5, 3,6Ghz and 32Gig RAM. Ubuntu is running in a VM on that. The Cubieboard2 is only a step form me, I've got 2 commercial Computers using an A20 SOM Module from a german company "In-circuit". The systems where used before in some kiosk application and where decommissioned. https://shop.in-circuit.de/product_info.php?products_id=128 There is a display, ethernet, can, serial interfaces on the two boards, I hope to use some of them. In-curcuit provided an diff to an cubieboard2 build tree to generating the os. (Thats the cause I'm owning a cubieboard2) It's stone old..but I plan to include some of the diffs into more or less modern code. I have an SD Card with the original os and app, I'll look there what I can find. ..so having the build tree locally is a good idea. Regards, Holm
  2. I've got the build Environment from here: https://www.armbian.com/cubieboard-2/ That's the cause why I've used 6.1. ..is there an older CLI version using yammy (?) to find somewhere? Regards, Holm
  3. Get my right, I've used FreeBSD-current often to enable some features that I needed on a specific machine, and yes, it's not unlikely to get in trouble with that, at least at specific time points. I know that, but that isn't a complaint from me about that, it's just to explain why I not getting any results at all. The same again..I've tried for a week to get it sorted out myself, After that time I've asked a question and the answer was just silence. Even an answer like "please use the 5.15 kernel, 6.1.33 has to many bugs currently" is helpful, even if you have almost no time. 2nd, I don't think that you are the only one that reads here Igor.. It's clear, you tried to answer in detail and I'm happy with that. You shouldn't do any work for me, I only expected a hint where to begin. As an example I couldn't find any syntax definition for the overlays, I tried this..and found out that the environment wasn't loaded at all. I still don't know where to put changes, but I'll look what I get when I changed the build environment to somewhat with a stable kernel release. (armbian-config .. have tried..nothing happened, same problem with the boot environment mit the device tree) That with the not supported hardware... 🙂 nice try. You know exactly as good as I do that this isn't related to any specific HW, this problem exists exactly in the same way on any armv7 device... 2nd thing is that Cubieboard2 has "community support" regarding the website..not "no support". The wife and the kids..it seems that you are in a similar age as I'm, why do you think things may different here? At the moment I have the FreeBSD SD card in the Cubieboard and will try to figure out how I get the HW flow control enabled on the 2nd uart. When this is cleared, I'm trying to get another Armbian build environment and will try again. I'll report here, ok? ..fully agree. I'm not happy every time with FreeBSD that I use since version 2.0, when it was available and usable on peecees. Previous experience was with BSD2.9 on a russian PDP11 (SM1420) and with BSD4.3 on a east german VAX11/780 (Robotron RVS K1840). I've used Linux before VERSION 1.0 then SVR4.2 (got a License) later FreeBSD, but I'm suggesting Linux to less experienced ppl, the Laptop from my wife is running Mint. It isn't relevant to make war about that, it's relevant to get the job done. Since Linux is the more advanced OS on the Cubieboard (no wonder at all) I'm tried to use that, it's simple. (still have an PDP11/83 running RT, RSX and 2.11BSD) Regards and THX, Holm
  4. Yes.. but I could buy 3 pcs "DVK521" for cheap..this set contains a breakout board with 2,54mm headers, 1x PL2303, an socket for DS18B20, an beeper, and a header for an 7" touch Display that is also in the set. It came from the german surplus dealer Pollin, approx 20€ if I remember correctly. ..ok.. but that wasn't to read somewhere, I've searched for an build environment and that what I've first saw wast that, what I call the development version with 6.1. I'm really read much documentation but all had loose ends..was outdated or somewhat incomplete. I could'nt find a starting point how to do it. My actual version ignored the envirnonment, all tries to load an overlay had failed. The FreeBSD Version is using the u-boot logic from linux and this uses an seperate DOS partition with the dtb file in it (mounted as /boot/msdos/). Interestingly the same dtb file exists in /boot/dtb in the ufs fs. Nevertheless I've managed to get the uart3 working with FreeBSD as /dev/ttyu1 yesterday late evening, this doesn't mean that I'll use that for my application.. but in this OS the Software and the docu (which isn't much) had less "loose ends". Oh? Is that so? 🙂 If you read and experiment approx a week w/o any results and then ask nicely where to start (..reading) you are getting pissed off if you don't get an answer in 3 days. My Post above was a provocation, I know that. I know that it isn't entirely a good idea to ask in a linux developer forum if you should better use FreeBSD. I'm not that new in the unix scene.. But at least I've got some answers that are meaningful, nice. Regards, Holm
  5. ...so no one knows about properly enabling an additional uart in the A20 using armbian? No hints, no opinion, no knowledge? Maybe I should use FreeBSD?` Regards, Holm
  6. Hi all, I'm new here and somewhat new to "modern Linux"..I'm more a BSD Guy... I'm using, administering and programming on unices since approx 1992, using FreeBSD (mostly) at home, my wife has a Laptop using Mint installed by me, but I haven't put much effort into my Linux experiences since systemd came up... Ok, approx 2 years before I've got a bunch of more or less unusual embedded HW..Beaglebone, Olinuxino with an A10, some Intel based thingy and something from AnalogDevices if I remember correctly. All of them are more or less old. Now I want to build a kind of a home automation appliance that is reading out data from 2 solar Inverters over a serial line and should process them (MQTT, PostgreSQL etc). I've decided to use an Cubiebord2 that was in the Bunch of Hardware I got, Pollin Elektronik here in Germany sold an DVK521 Kit for that board lately for cheap, so I've bought 3 pcs, the kit contains a 7" LCD with touch, but I don't want to use that (at first). My search for an more modern os brought 2 different possibilities to the daylight: 1. Using FreeBSD, 2nd Using armbian. I've decided to use the later one since the gpio capabilities seems to be more adult at was FreeBSD has. I've downloaded an Image with 6.1.30 kernel and startet experimenting. In the meantime I've set up an Ubuntu 20.4 in a Virtualbox VM and the armbian build environment, I've successfully created images that are booting and running more or less flawlessly. Bot there are loose ends in Software and Documentation. Most websites are outdated. For example I'm currently trying to bring up a 2nd serial interface (to connect the Inverters to). I kno that is should be an 2 stage process, first defining the GPIO Ports and second enabling the uart in the kernel. so far so good. Adding an overlays=uart1 to armbianEnv.txt is doing just nothing..because of the boot process on the cubieboard2. In the NAND flash resides the original u-boot with an old android version (as far as I remember) and the sd-card contains build image. The system boots, bot it seems not to read the environment from /boot at all. The armbianEnv.txt contains: [code] verbosity=1 bootlogo=false console=both disp_mode=1920x1080p60 overlay_prefix=sun7i-a20 overlays=uart1 rootdev=UUID=7d96085b-9f51-46ed-aee9-c5873b39d28c rootfstype=ext4 usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u [/code] ..but while booting "Loading Environment from FAT, unable to use mmc 0:1" (from my memory, not from a log). ...there is no FAT. I think to remember that I saw a FAT partition on the SD Card with some other disk image.. but not here.. and the "official" Image with 6.1.30 kernel is also not containing a FAT partition. What I'm doing wrong here? I need to enable some drivers, want I2C, OneWire und an uart.. It shouldn't be necessary to use a FAT partition? Regards, Holm
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines