Re: Which ARM SBC would work well with NetBSD?
On Fri, Mar 10, 2023 at 05:30:56PM +0100, Manuel Bouyer wrote: > > But you could put a mosfet on the main power supply and drive it with a > GPIO :) > Or just buy a cheap timer switch to turn the power supply off and on regularly... -- Brett Lymn -- Sent from my NetBSD device. "We are were wolves", "You mean werewolves?", "No we were wolves, now we are something else entirely", "Oh"
Re: Which ARM SBC would work well with NetBSD?
On Fri, Mar 10, 2023 at 05:30:05PM +0100, Manuel Bouyer wrote: > On Fri, Mar 10, 2023 at 09:46:50PM +0530, Mayuresh wrote: > > On Fri, Mar 10, 2023 at 09:10:04AM +0100, Manuel Bouyer wrote: > > > The olimex boards have an embeeded LIPO charger, it is part of > > > the AXP209 PMU used on the board. You can even monitor the battery status > > > from NetBSD: > > > > Can you also control the charging - say I want to switch off charging at > > 80% charge level and switch it on again when it drops to 40%? > > Not with the NetBSD driver; I don't know if the axp209 can do it. But you could put a mosfet on the main power supply and drive it with a GPIO :) -- Manuel Bouyer NetBSD: 26 ans d'experience feront toujours la difference --
Re: Which ARM SBC would work well with NetBSD?
On Fri, Mar 10, 2023 at 09:46:50PM +0530, Mayuresh wrote: > On Fri, Mar 10, 2023 at 09:10:04AM +0100, Manuel Bouyer wrote: > > The olimex boards have an embeeded LIPO charger, it is part of > > the AXP209 PMU used on the board. You can even monitor the battery status > > from NetBSD: > > Can you also control the charging - say I want to switch off charging at > 80% charge level and switch it on again when it drops to 40%? Not with the NetBSD driver; I don't know if the axp209 can do it. -- Manuel Bouyer NetBSD: 26 ans d'experience feront toujours la difference --
Re: Which ARM SBC would work well with NetBSD?
On Fri, Mar 10, 2023 at 09:10:04AM +0100, Manuel Bouyer wrote: > The olimex boards have an embeeded LIPO charger, it is part of > the AXP209 PMU used on the board. You can even monitor the battery status > from NetBSD: Can you also control the charging - say I want to switch off charging at 80% charge level and switch it on again when it drops to 40%? -- Mayuresh
RE: Which ARM SBC would work well with NetBSD?
Good day, How many serial ports do you get? Two Also has anyone tried the audio input? Ron Swiernik -Original Message- From: netbsd-users-ow...@netbsd.org On Behalf Of Martin Neitzel Sent: Friday, March 10, 2023 7:40 AM To: nbsd4e...@gmail.com Cc: netbsd-users@netbsd.org Subject: Re: Which ARM SBC would work well with NetBSD? EXTERNAL EMAIL: Think before you click. > > o can I create a NetBSD bootable micro SD card, or does one have to > > use Debian or Android on these A-20 Olimex SBCs? > > NetBSD runs fine on A20. You can look at > https://urldefense.proofpoint.com/v2/url?u=http-3A__wiki.netbsd.org_ports_evbarm_allwinner_=DwIDAg=EJ8lPn3CS79b-sA4ljp-U4RsN8_iB80P3JvPEatNQQ0=U9aNKT_4t7_3F1rdsF8u4GeNKqSUjVs9w_zArnMwukQ=IgFLRIKNkLsDcySMXrOnwB6n949X_aXh7BoT9lzFBQ3KcBmddUZ46YUX2bTZP9CA=6YEhkqdr6E-D2taHanv3aYx2zk-UHNjUIS8zILbL7SI= > > for details on creating a bootable SD card Another thumbs up from me: I'm using an old Olimex a20-onlinuxino-micro and, at least 1+ year ago, it booted netbsd just fine. > > o can I hook up a serial concole via a standard RS232 cable? > > No, most SBC use a serial port with TTL levels (usually 0 and +3.3V), not > RS232 levels. You need a USB-UART adapter like FTDI-based one, or this one: > https://urldefense.proofpoint.com/v2/url?u=https-3A__www.olimex.com_Products_Breadboarding_BB-2DCH340T_open-2Dsource-2Dhardware=DwIDAg=EJ8lPn3CS79b-sA4ljp-U4RsN8_iB80P3JvPEatNQQ0=U9aNKT_4t7_3F1rdsF8u4GeNKqSUjVs9w_zArnMwukQ=IgFLRIKNkLsDcySMXrOnwB6n949X_aXh7BoT9lzFBQ3KcBmddUZ46YUX2bTZP9CA=KpWFnbB8yQKiQ9wW8WeHjIbsUxGuEsQcaR5rAH55gU0= > I'm using https://urldefense.proofpoint.com/v2/url?u=https-3A__www.olimex.com_Products_Components_Cables_USB-2DSerial-2DCable_USB-2DSERIAL-2DF_=DwIDAg=EJ8lPn3CS79b-sA4ljp-U4RsN8_iB80P3JvPEatNQQ0=U9aNKT_4t7_3F1rdsF8u4GeNKqSUjVs9w_zArnMwukQ=IgFLRIKNkLsDcySMXrOnwB6n949X_aXh7BoT9lzFBQ3KcBmddUZ46YUX2bTZP9CA=v7MVmPJF5yhENQzkk1TSKpnv4IaJCtF_NMFL5oRy5jU= which directly connects between the boad's pins and a laptop. I also have serial links between my ARM boards at the 3.3V level, using three simple jump wires from, say, https://urldefense.proofpoint.com/v2/url?u=https-3A__www.olimex.com_Products_Breadboarding_JUMPER-2DWIRES_JW-2D200x10-2DFF_=DwIDAg=EJ8lPn3CS79b-sA4ljp-U4RsN8_iB80P3JvPEatNQQ0=U9aNKT_4t7_3F1rdsF8u4GeNKqSUjVs9w_zArnMwukQ=IgFLRIKNkLsDcySMXrOnwB6n949X_aXh7BoT9lzFBQ3KcBmddUZ46YUX2bTZP9CA=ADpo4fsynYDkrp9P6fTKrFSrsUvugEK4Ac-E2IDLj9s= (Their images just feature male ends; make sure you order the correct FF/MM/FM/ ends.) This is dirt cheap and extremly helpful, ion particular with the very early boot stages. Martin Neitzel
Re: Which ARM SBC would work well with NetBSD?
> > o can I create a NetBSD bootable micro SD card, or does one have to > > use Debian or Android on these A-20 Olimex SBCs? > > NetBSD runs fine on A20. You can look at > http://wiki.netbsd.org/ports/evbarm/allwinner/ > for details on creating a bootable SD card Another thumbs up from me: I'm using an old Olimex a20-onlinuxino-micro and, at least 1+ year ago, it booted netbsd just fine. > > o can I hook up a serial concole via a standard RS232 cable? > > No, most SBC use a serial port with TTL levels (usually 0 and +3.3V), not > RS232 levels. You need a USB-UART adapter like FTDI-based one, or this one: > https://www.olimex.com/Products/Breadboarding/BB-CH340T/open-source-hardware I'm using https://www.olimex.com/Products/Components/Cables/USB-Serial-Cable/USB-SERIAL-F/ which directly connects between the boad's pins and a laptop. I also have serial links between my ARM boards at the 3.3V level, using three simple jump wires from, say, https://www.olimex.com/Products/Breadboarding/JUMPER-WIRES/JW-200x10-FF/ (Their images just feature male ends; make sure you order the correct FF/MM/FM/ ends.) This is dirt cheap and extremly helpful, ion particular with the very early boot stages. Martin Neitzel
Re: Which ARM SBC would work well with NetBSD?
On Fri, Mar 10, 2023 at 08:53:47AM +0530, Mayuresh wrote: > On Thu, Mar 09, 2023 at 09:34:05AM +0900, Henry wrote: > > Because of the battery options which would allow me to do without a UPS, > > Hi. Curious about this usage pattern. For devices that are deployed for > some purpose, to work without frequent manual intervention, the question > is when would you charge the battery? > > Either you can keep the charger connected - which may possibly swell the > battery soon, unless the device has some way to auto-stop charging at some > upper threshold and auto-restart the charging only when the battery > reaches a lower threshold. The olimex boards have an embeeded LIPO charger, it is part of the AXP209 PMU used on the board. You can even monitor the battery status from NetBSD: /home/bouyer>envstat Current CritMax WarnMax WarnMin CritMin Unit [axp20x0] AC input: TRUE AC input voltage: 4.940 V AC input current: 0.363 A VBUS input: FALSE VBUS input voltage: N/A VBUS input current: N/A battery: TRUE battery voltage: 4.157 V battery current: 0.000 A APS output voltage: 4.855 V internal temperature:32.200 -- Manuel Bouyer NetBSD: 26 ans d'experience feront toujours la difference --
Re: Which ARM SBC would work well with NetBSD?
On Thu, Mar 09, 2023 at 09:34:05AM +0900, Henry wrote: > Because of the battery options which would allow me to do without a UPS, Hi. Curious about this usage pattern. For devices that are deployed for some purpose, to work without frequent manual intervention, the question is when would you charge the battery? Either you can keep the charger connected - which may possibly swell the battery soon, unless the device has some way to auto-stop charging at some upper threshold and auto-restart the charging only when the battery reaches a lower threshold. Or you may have to intervene manually to connect / disconnect the charger (like a mobile phone). -- Mayuresh
Re: Which ARM SBC would work well with NetBSD?
On Thu, Mar 09, 2023 at 09:34:05AM +0900, Henry wrote: > o can I create a NetBSD bootable micro SD card, or does one have to > use Debian or Android on these A-20 Olimex SBCs? We create SD card images for you: armbsd.org. Just copy the proper image to the sd card and you should be ready to boot. Martin
Re: Which ARM SBC would work well with NetBSD?
On Thu, Mar 09, 2023 at 09:34:05AM +0900, Henry wrote: > I've been listening in, and I thank you all very much for your input. > I have 0 experience with an SBC, but want to move to a > low-power-consumption basic web and file server. Because of the > battery options which would allow me to do without a UPS, I'm > seriously considering the olimex a20-onlinuxino-lime2. I'm using 2 of them this way :) > > Some questions from this newbie: > o can I create a NetBSD bootable micro SD card, or does one have to > use Debian or Android on these A-20 Olimex SBCs? NetBSD runs fine on A20. You can look at http://wiki.netbsd.org/ports/evbarm/allwinner/ for details on creating a bootable SD card > o can I hook up a serial concole via a standard RS232 cable? No, most SBC use a serial port with TTL levels (usually 0 and +3.3V), not RS232 levels. You need a USB-UART adapter like FTDI-based one, or this one: https://www.olimex.com/Products/Breadboarding/BB-CH340T/open-source-hardware > o after the initial install of NetBSD, can I have the computer boot > from a USB (preferably C-type, but standard type okay)? Or is it > better to just get a board with the eMMC flash memory option and boot > from that? The A20 only has USB 2.0. the eMMC flash is OK and is a bit faster than SD card. Note that the A20 has a native SATA port (i.e. not behind a USB-SATA bridge), so if you need speed or capacity, adding a SATA 2.5" disk or SSD is a good option (I run one with a SSD too). > o is there a cookbook-kind of howto document on installing NetBSD on > ARM architecture SBCs? Start from http://wiki.netbsd.org/ports/evbarm/ -- Manuel Bouyer NetBSD: 26 ans d'experience feront toujours la difference --
Re: Which ARM SBC would work well with NetBSD?
I've been listening in, and I thank you all very much for your input. I have 0 experience with an SBC, but want to move to a low-power-consumption basic web and file server. Because of the battery options which would allow me to do without a UPS, I'm seriously considering the olimex a20-onlinuxino-lime2. Some questions from this newbie: o can I create a NetBSD bootable micro SD card, or does one have to use Debian or Android on these A-20 Olimex SBCs? o can I hook up a serial concole via a standard RS232 cable? o after the initial install of NetBSD, can I have the computer boot from a USB (preferably C-type, but standard type okay)? Or is it better to just get a board with the eMMC flash memory option and boot from that? o is there a cookbook-kind of howto document on installing NetBSD on ARM architecture SBCs? Many TIA, Henry 2023年3月6日(月) 20:18 Mayuresh : > > On Sun, Mar 05, 2023 at 12:40:57PM +0100, Benny Siegert wrote: > > I highly recommend the Pine64 devices. I have an A64-LTS, which has > > been rock-solid. The RockPro64 is the one with the highest > > performance. > > Thank you all for the responses - many of which are recommending pine64 > devices. > > I am considering Rock64 instead of RockPro64. Are there any reports on 1. > its stability and 2. NetBSD compatibility? > > -- > Mayuresh >
Re: Which ARM SBC would work well with NetBSD?
On Mon, Mar 06, 2023 at 12:45:02PM -0500, Aaron B. wrote: > I'm not any video output; console is via serial port. Thanks. Any idea if HDMI works? -- Mayuresh
Re: Which ARM SBC would work well with NetBSD?
On Mon, 6 Mar 2023 16:47:30 +0530 Mayuresh wrote: > > I am considering Rock64 instead of RockPro64. Are there any reports on 1. > its stability and 2. NetBSD compatibility? > I've had my Rock64 (4GB model) running NetBSD 9.3 with load average constantly between 0.6 and 2.0 for a full month now with no issues. Kernel boots from the SD card, root filesystem is from NFS. I'm not any video output; console is via serial port. The board has been reliable. I strongly recommend putting a small heatsink on the SOC. -- Aaron B.
Re: Which ARM SBC would work well with NetBSD?
On Sun, Mar 05, 2023 at 12:40:57PM +0100, Benny Siegert wrote: > I highly recommend the Pine64 devices. I have an A64-LTS, which has > been rock-solid. The RockPro64 is the one with the highest > performance. Thank you all for the responses - many of which are recommending pine64 devices. I am considering Rock64 instead of RockPro64. Are there any reports on 1. its stability and 2. NetBSD compatibility? -- Mayuresh
Re: Which ARM SBC would work well with NetBSD?
On Sun, Mar 05, 2023 at 12:40:57PM +0100, Benny Siegert wrote: > All of these are well-supported by NetBSD. I don't know how well > supported the newest generation is, notably the Quartz64. I run a Quartz64 Model B in production (using netbsd-10). It is great, only downside is that the hardware forces you to choose between xhci (USB 3) and the on board SATA connector - and unfortunately the firmware used to boot NetBSD only supports xhci currently. Martin
Re: Which ARM SBC would work well with NetBSD?
On Sun, Mar 5, 2023 at 8:53 AM Mayuresh wrote: > > I am in need of an SBC - like the raspberry pi. Ethernet, analog speaker > output and 2/3 USB ports (2.0 will do) is the requirement. RAM 1G should > suffice. HDMI output only for configuration and setup. Wifi not required. > > I am using one each of RPI2,3,4 for different purposes, RPI2 running > NetBSD and RPI3,4 running Raspbian. > > For a new requirement I can either use one of the RPI models or look for > others like orange pi, nano pi, banana pi and so on - more out of > curiosity. > > Feedback on any of the low cost SBC devices that you may be using > successfully with NetBSD will be of great help. Please do share. I highly recommend the Pine64 devices. I have an A64-LTS, which has been rock-solid. The RockPro64 is the one with the highest performance. All of these are well-supported by NetBSD. I don't know how well supported the newest generation is, notably the Quartz64. -- Benny
Re: Which ARM SBC would work well with NetBSD?
I'm very happy running a RockPro 64 on -current. It's not great on NetBSD 9, but you can just run a NetBSD 10 or -current kernel and it will just work great. Great performance, no blobs, rock solid and stable. I use it as my production server and have had 0 issues. -- Jonathan
Re: Which ARM SBC would work well with NetBSD?
On Sun, Mar 05, 2023 at 01:22:58PM +0530, Mayuresh wrote: > I am in need of an SBC - like the raspberry pi. Ethernet, analog speaker > output and 2/3 USB ports (2.0 will do) is the requirement. RAM 1G should > suffice. HDMI output only for configuration and setup. Wifi not required. > > I am using one each of RPI2,3,4 for different purposes, RPI2 running > NetBSD and RPI3,4 running Raspbian. > > For a new requirement I can either use one of the RPI models or look for > others like orange pi, nano pi, banana pi and so on - more out of > curiosity. > > Feedback on any of the low cost SBC devices that you may be using > successfully with NetBSD will be of great help. Please do share. I've been using A20-based boards: Cubieboard 2 and olimex a20-onlinuxino-lime2 (the a20-onlinuxino-lime2 base version, and the a20-onlinuxino-lime2-e16gs16m version) without problems. Not sure if the Cubieboard 2 is still available, but a20-onlinuxino-lime2 is still produced. -- Manuel Bouyer NetBSD: 26 ans d'experience feront toujours la difference --
Re: Which ARM SBC would work well with NetBSD?
I have good experience with PoE powered Banana BPI-P2 Zero. It's not much of your choice, but all base functions like USB, OTG, eMMC works, so I guess you can use any of Banana types. Not used HDMI port but I can try it and share. On 05.03.2023 10:52, Mayuresh wrote: I am in need of an SBC - like the raspberry pi. Ethernet, analog speaker output and 2/3 USB ports (2.0 will do) is the requirement. RAM 1G should suffice. HDMI output only for configuration and setup. Wifi not required. I am using one each of RPI2,3,4 for different purposes, RPI2 running NetBSD and RPI3,4 running Raspbian. For a new requirement I can either use one of the RPI models or look for others like orange pi, nano pi, banana pi and so on - more out of curiosity. Feedback on any of the low cost SBC devices that you may be using successfully with NetBSD will be of great help. Please do share. -- Dima Veselov Physics R Establishment of Saint-Petersburg University
Which ARM SBC would work well with NetBSD?
I am in need of an SBC - like the raspberry pi. Ethernet, analog speaker output and 2/3 USB ports (2.0 will do) is the requirement. RAM 1G should suffice. HDMI output only for configuration and setup. Wifi not required. I am using one each of RPI2,3,4 for different purposes, RPI2 running NetBSD and RPI3,4 running Raspbian. For a new requirement I can either use one of the RPI models or look for others like orange pi, nano pi, banana pi and so on - more out of curiosity. Feedback on any of the low cost SBC devices that you may be using successfully with NetBSD will be of great help. Please do share. -- Mayuresh