Comments (4)
You only need to go to the Circle boot/ directory and do make
there to get the most recent firmware from here. Please copy the files bootcode.bin, start.elf and fixup.dat to a uSD card along with the kernel image file.
If you want to get output to the serial interface on GPIO 14/15, you need to create a file cmdline.txt on the uSD card, which has this contents:
logdev=ttyS1
I append a kernel image of sample/04-timer, which has been successfully tested with the firmware of today on a RPi 3 v1.2.
from circle.
Thank you a lot for your fast response. It was the missing cmdline.txt. it worked like a charm.
Also, i tested the fractal, mandrelset sample, and it worked very well. Although, when reading the code from kernel.cpp
it initializes mandrelset class like this:
TShutdownMode CKernel::Run (void)
{
m_Logger.Write (FromKernel, LogNotice, "Compile time: " __DATE__ " " __TIME__);
m_Mandelbrot.Run (0);
return ShutdownHalt;
}
But, if mandrelset receives an first argument that corresponds to each core number, how this constant "zero" be different for each core instance?
from circle.
There is a different initialization for core 0 and core 1-3. Core 0 is started at 0x8000 by the firmware and is directed to CKernel::Initialize() and then to CKernel::Run() by the Circle sysinit code. The secondary cores 1-3 are parked in a loop after boot by the firmware and will be released from that loop in CMultiCoreSupport::Initialize() which is called in CKernel::Initialize(), because the class CMandelbrotCalculator is derived from CMultiCoreSupport.
The secondary cores then jump to CMultiCoreSupport::EntrySecondary and in line 185 to this Run() routine for each secondary core. Because core 0 has its own initialization path, it explicitly calls CMandelbrotCalculator::Run() with its core number 0. So the execution of all cores reaches CMandelbrotCalculator::Run() in the end.
from circle.
Thank you so much @rsta2, i'm working with circle to provide a wrap around arduino. I've already manage to modify a bootloader from dwelch67 and included a python script to automate flashing (Takes me around just 1 sec for flashing the 01-blink example with a baud rate of 1M). I'm looking forward to contribute with this project. As a windows user, I wouldn't be more happier to see this project running out of the box with arduino IDE. And is totally possible to maintain the native libraries without compromising flexibility.
from circle.
Related Issues (20)
- Advice Needed: REST framework HOT 1
- release-45.2 usb samples compile with errors HOT 2
- TCP Connection in Interrupt HOT 2
- I2C feature request: add support for repeated start HOT 6
- USB CDC/ACM gadget HOT 19
- GetClockTicks without wrap HOT 3
- GPU support on Raspi 4 HOT 4
- Circle linker failure with softfp HOT 2
- Make USB gadget vendor and device strings configurable HOT 2
- Support for touchscreens with additional reports in HID descriptor HOT 7
- Question about log when testing with Qemu HOT 2
- Help with setting PREFIX HOT 4
- Question: Waveshare 5'' DSI display support? HOT 2
- Waveshare 15.6inch Capacitive Touch Screen HOT 2
- Can I run OpenCV? HOT 2
- Sample "07-usbstorage" fails with Pi5 HOT 8
- Unsuportted USB touch screen driver - Big Tree Tech HDMI7 HOT 10
- How to do GPIOPin button Interrupt correctly HOT 23
- FIQ support on RPI Zero 2 HOT 3
- How to remove all text not from own CSerialDevice HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from circle.