RetroBSD

2.11BSD operating system for microcontrollers
It is currently Thu Oct 18, 2018 10:45 pm

All times are UTC




Post new topic Reply to topic  [ 14 posts ] 
Author Message
 Post subject: New ESP32 in testing
PostPosted: Sat Jan 02, 2016 9:10 am 
Contributor
User avatar

Joined: Thu Nov 08, 2012 7:04 am
Posts: 2401
Location: Rapa Nui
New ESP32:
https://www.youtube.com/watch?v=HCGHb0OVz1s
https://twitter.com/EspressifSystem/sta ... 5125414912
https://twitter.com/hashtag/ESP32?src=hash

Highlights:
================
1. dual core @160MHz
2. 400kB ram
3. faster WiFi - up to 140Mbit
4. Bluetooth LE shared
5. more low-power options
6. hw AES, SSL
7. more peripherals - ie. capacitive touch, ADCs, DACs, I2C, UART, SPI, SDIO(!!), I2S, RMII, PWM
8. etc.

_________________
Pukao Hats Cleaning Services Ltd.


Top
 Profile  
 
 Post subject: Re: New ESP32 in testing
PostPosted: Sat Jan 02, 2016 1:08 pm 
Contributor
User avatar

Joined: Thu Nov 08, 2012 7:04 am
Posts: 2401
Location: Rapa Nui
Attachment:
esp32.JPG
esp32.JPG [ 147.24 KiB | Viewed 17448 times ]

http://www.pighixxx.com/test/2015/12/esp32-pinout/

_________________
Pukao Hats Cleaning Services Ltd.


Top
 Profile  
 
 Post subject: Re: New ESP32 in testing
PostPosted: Mon Jan 04, 2016 3:00 am 
Committer
User avatar

Joined: Wed Oct 10, 2012 11:01 pm
Posts: 1079
Location: Sunnyvale, CA
This could be a good platform for RetroBSD.


Top
 Profile  
 
 Post subject: Re: New ESP32 in testing
PostPosted: Mon Jan 04, 2016 6:11 pm 
Contributor
User avatar

Joined: Thu Nov 08, 2012 7:04 am
Posts: 2401
Location: Rapa Nui
I've read some discussions with creators of the chip and it seems the internal sram is split into several segments in quite a weird way..
As the chip is flashless, it pulls program from an external SPI flash, and there are 2x 32kB caches for the program read from the ext. flash for each cpu, and the reminder (2x192KB - 2x32kB) is somehow split between cpu1 and cpu2.
We shall wait on a final datasheet as the guys still experiment with the final configuration (as of Dec2015 - ESP31) it seems.
Not sure it is a "bigOS" friendly design, there is an FreeRtos port available however.

_________________
Pukao Hats Cleaning Services Ltd.


Top
 Profile  
 
 Post subject: Re: New ESP32 in testing
PostPosted: Tue Jan 05, 2016 5:47 am 

Joined: Tue Jan 05, 2016 5:32 am
Posts: 2
The ESP32 as it will be sold (not the ESP31 beta chip on the beta boards) will most likely have a somewhat more palatable memory layout: just two chunks of memory, shared between the CPUs; 256K will be both executable and read/writable, the rest is data-only. We may also have a MMU of some kind.

FWIW: I'm an Espressif employee and currently I'm working on OS-related things anyway. If anyone here has the desire to give porting BSDLite or RetroBSD a try and you need some help, feel free to poke me at jeroen at espressif period com.


Top
 Profile  
 
 Post subject: Re: New ESP32 in testing
PostPosted: Tue Jan 05, 2016 10:20 am 
Contributor
User avatar

Joined: Thu Nov 08, 2012 7:04 am
Posts: 2401
Location: Rapa Nui
Jeroen, for RetroBSD we need MPU afaik, for LiteBSD we need MMU. I see there is an MPU inside the L108.. Not sure you have implemented it in ESP32..

_________________
Pukao Hats Cleaning Services Ltd.


Top
 Profile  
 
 Post subject: Re: New ESP32 in testing
PostPosted: Wed Jan 06, 2016 1:51 am 

Joined: Tue Jan 05, 2016 5:32 am
Posts: 2
Pito wrote:
Jeroen, for RetroBSD we need MPU afaik, for LiteBSD we need MMU. I see there is an MPU inside the L108.. Not sure you have implemented it in ESP32..


The MPU we have is the same as in the ESP8266, and is the standard Xtensa MPU: out of the 32-bit address space, you can set regions of 256MB to enable/disable read, write and/or execute, and generate an exception if a prohibited action happens.


Top
 Profile  
 
 Post subject: Re: New ESP32 available
PostPosted: Sat Sep 10, 2016 10:38 am 
Contributor
User avatar

Joined: Thu Nov 08, 2012 7:04 am
Posts: 2401
Location: Rapa Nui
They sell thousands a day :)

https://www.seeedstudio.com/ESP3212-Wif ... -2706.html

_________________
Pukao Hats Cleaning Services Ltd.


Top
 Profile  
 
 Post subject: Re: New ESP32 in testing
PostPosted: Tue Sep 13, 2016 7:50 pm 
Committer
User avatar

Joined: Wed Oct 10, 2012 11:01 pm
Posts: 1079
Location: Sunnyvale, CA
Anybody to take a challenge to port RetroBSD to it?


Top
 Profile  
 
 Post subject: Re: New ESP32 in testing
PostPosted: Wed Sep 14, 2016 9:32 am 
Contributor
User avatar

Joined: Thu Nov 08, 2012 7:04 am
Posts: 2401
Location: Rapa Nui
Afaik there is only a single person available who might master it :)

_________________
Pukao Hats Cleaning Services Ltd.


Top
 Profile  
 
 Post subject: Re: New ESP32 in testing
PostPosted: Wed Sep 14, 2016 8:56 pm 
Contributor

Joined: Mon Nov 12, 2012 1:34 pm
Posts: 1091
Hi All,

Is his name Pito :) ?

Lots of fun :).

Wiz


Top
 Profile  
 
 Post subject: Re: New ESP32 in testing
PostPosted: Thu Sep 15, 2016 12:15 pm 

Joined: Mon Nov 24, 2014 1:07 pm
Posts: 58
Hi All,

I've been looking at the basics of porting BSD and decided to look into the ESP32 xtensa processor and what it supports core wise. It does have an MMU which is what we'd need for a LiteBSD port. I've seen also that there is a gcc toolchain for it but don't know about the other parts required to compile LiteBSD for it, namely as, ld and the supporting assembly boot code. If I could find these other parts and find the time I'd definitely like to have a go. But, as I have a lot of other commitments I can't find the time to go any further, which is a shame really :(

Dan


Top
 Profile  
 
 Post subject: Re: New ESP32 in testing
PostPosted: Sat Sep 17, 2016 10:32 pm 
Contributor
User avatar

Joined: Thu Nov 08, 2012 7:04 am
Posts: 2401
Location: Rapa Nui
The First thing Serge will recommend to you in your ESP32 porting effort would be to have an ESP32 simulator handy :)

_________________
Pukao Hats Cleaning Services Ltd.


Top
 Profile  
 
 Post subject: Re: New ESP32 in testing
PostPosted: Sat Sep 17, 2016 10:51 pm 
Committer
User avatar

Joined: Wed Oct 10, 2012 11:01 pm
Posts: 1079
Location: Sunnyvale, CA
Pito wrote:
The First thing Serge will recommend to you in your ESP32 porting effort would be to have an ESP32 simulator handy :)

That's right. :)
I would hardly imagine how it's possible to debug context switching and interrupt handlers without a good simulator.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:




Powered by phpBB® Forum Software © phpBB Group

BSD Daemon used with permission