New IP Camera OSHW board in design RFC

img2

We started recently new design with Allwinner S3 SOC.

The board have these features:

  • Allwinner S3 Cortex-A7 running at 1.2Ghz
  • AXP209 PMU with Lipo charger and step-up for UPS
  • internal 1Gb DDR3 RAM at 1333Mhz
  • 100Mb Ethernet interface with PoE option
  • NAND/eMMC/SPI Flash on socket
  • WiFi / BT module with RTL8723BS
  • Audio In and Out
  • UEXT connector
  • Lipo battery connector
  • Configuration EEPROM
  • LCD connector for LCD-OLinuXino
  • MIPI camera connector with RPi pinout
  • CSI camera connector
  • Dimensions: 60 x 50 mm

img1

S3 SOC is on bottom so heatsink could be add if overheating due to the small PCB area.

img3

We want to build intelligent camera solution which can be powered by PoE and can work with both wired and wireless Ethernet connection.

We add MIPI camera connector with RPi pinout as there are plenty of cheap 5Mpix cameras available.

We also will provide CSI camera with 5-8Mpix separately.

Why we do this board? We want to have intelligent IP camera among our tools and we put features which are necessary to fit our potential projects. This board have also potential for Voice over IP , Video over IP, Security, Home remote monitoring etc.

Initial upload on GitHub is with our schematic and components put on PCB locations, routing is ahead, so we would like to hear your opinion.

Did we forgot something?

Can we do something differently or better?

Let us know what do you think.

New from our forum – experimental NixOS image for TERES DIY OSHW Laptop

nixos.png

Recent post from our forum explains how to build experimental NixOS image for TERES-I  – Do It Yourself, Environmental friendly, modular Open Source Hardware ARM Laptop.

Linux Users Group Bulgaria annual meeting is April 6th in Plovdiv

LUGBG_1

Linux Users Group is annual meeting of people who use and develop with Linux in Bulgaria. The LUG-BG meeting this year is on 6th of April in Plovdiv. The web page of the meeting is here.

I signed for discussion about how to make one ARM Linux system tamper proof.

This is topic which is very interesting for all our OLinuXino customers. OLinuXino is used in many industrial product and machines and the designers want to be sure that no one except them can change the Linux image as these machines pass safety approvals etc and any intervention in the code is illegal.

The Allwinner SoCs do have TrustZone support and also crypto hardware to support a secure boot path for it, but parts of the ARM TrustZone specifications is under NDA and no one has seen it. The secure boot paths are also undocumented. Last time I attempt to receive any useful information about this I got reply: A20 is 5 years old processor and we do not offer technical support for the old processors, when I asked them for info how TrustZone and Secure boot is implemented in their newer processors I didn’t got any reply. My guess is this is something licensed from ARM which they never used so can’t support.

Currently all Allwinner SOC boot without using TrustZone and Secure boot path, they has so caller BROM a small code located in SOC ROM, which initializes the memory and processor registers with some safe values then try to boot from different peripherals. If UBOOT GPIO is held low they enter FEL mode where you can type some commands and load code via USB, else they try to boot from SD-CARD, if fails then try -> internal NAND Flash if fails then try -> SD-CARD2/eMMC, if fails then try -> SPI Flash, if all fails it go in FEL mode.

This is done intentionally so you can never brick your board if internal NAND or EMMC or SPI Flash get corrupted you can always boot from SD-card or USB and replace the image. This of course is big security hole, as anyone with physical access to your board can always replace your images with his own.

The TrustZone and Secure boot path solve this issue, but no one has documentation how this is done on Allwinner SOCs.

I hope to get some interesting ideas how this could be solved, one radical approach is to remove physically the SD-card connectors 🙂

Nice tutorial for writing and debugging plain C on ARM Cortex-M3 STM32F103

OLIMEX-STM32-H103

Jacob Mossberg wrote nice tutorial how to program in C ARM Cortex-M3 with GCC and how to debug it with GDB and OpenOCD.

We like very much the hardware he is using 🙂 STM32-H103 and ARM-USB-OCD-H.

 

SPECTRE and MELTDOWN attacks and OLinuXino and SOMs

meltdown-and-spectre-vulnerability

The #spectre and #meltdown attacks were subject to great concerns in the last weeks.

Eben Upton made brilliant explanation of how and why they work in his blog post.

There is already project on Github which can be used to test if your ARM AArch64 processor is vulnerable to such attacks.

As Cortex-A7 and Cortex-A53 are not affected of these attacks this means all our boards with A20, A33, A64 processors are immune.

For A10, A13, AM335X (Cortex-A8), RK3188 (Cortex-A9) we need to do some further investigation.

The Metal Linux Computer – The first LCD industrial panel prototypes are ready

LCD9

What you see is our first sample of the metal frame for 7″ LCD with build-in A20-OLinuXino-LIME inside!

Our mechanical designer is getting better and better after the design of A20-OLinuXino-MICRO and A20-OLinuXino-LIME boxes. The box for MICRO was done after three attempts, the LIME box was done right from the second attempt, now the LCD box got perfect from the very first attempt!

The metal frame is done by three parts:

LCD1

Here above you see two parts, which connect together with single screw. Why this is necessary – LIME has connectors on both ends and it’s not possible to fit inside as the connectors go outside PCB borders

LCD2

this is the third part it’s bend to hold inside the touch panel and LCD:

LCD3

here is the frame with LCD and touchscreen in it:

LCD4

the LIME is attached to back panel with one screw on metal spacer, the left side connectors show outside a bit:

LCD5

then we attach the right side panel and screw them together:

LCD6

then the LCD part is snap to the other two and fixed with 4 screws:

LCD7

here is how it looks on the back side:

LCD8

the same four mount holes can be used the metal panel to be assembled to other surface there are provisional mount holes on the back side as well.

The whole construction is solid and reliable. The frame dimensions are: 190 x 102 mm the higher back side is 40 mm the lower side is 10 mm thick.

This whole frame have approx same size as MODEL-B box and have just few more bendings so the price I expect is to be same as on MODEL-B box i.e. about EUR 15.00

This means 7″ LCD panel with A20-OLinuXino with the metal frame will cost from EUR 81.00 and if TOUCH screen is add from EUR 89.00

A64-OLinuXino OSHW Linux computer is close to complete routing – GitHub update of KiCAD files

A64

Our first complex Linux board done completely in KiCAD is near the finish.

As you can see from the picture above all the complex high speed signals routing is already done.

What left is GPIO, audio etc low speed signals which are easy to complete.  CAD files are updated to GitHub

Previous Older Entries