Lichee Zero: An SD-Size (breadboard-compatible) Cortex-A7 Board
zepan / lichee-pi-zero Goto Github PK
View Code? Open in Web Editor NEWLichee Zero: An SD-Size (breadboard-compatible) Cortex-A7 Board
Lichee Zero: An SD-Size (breadboard-compatible) Cortex-A7 Board
Hello,
it is possible to use Winbond spi flash support 25q128fvsg. If yes where I can find some information about how to prepare an image for it? Thanks
Hello there,
I am trying to use your sd card images on my LicheePi Zero Dock, as you guided, I just write with dd command and that is not working because of the same error which mentioned older issues here.
And I tried to compile kernel & u-boot, now my setup used zImage to boot up. But the file systems you created using modversions, which affects my modules. Even I change the kernel name so that same with yours, that time system disagrees about version of modules. Is there any way to flash your file system with no error or is there any advice to get rid of this situation ?
Thanks in advance, sincelery.
Hi. I'm trying to go straight to the registers, but nothing works. What am I doing wrong ??
#include <sys/mman.h>
#include <stdio.h>
#include <fcntl.h>
#include <sys/types.h>
#include <unistd.h>
int main(){
printf("new program");
char dev_name[] = "/dev/mem";
int gpio_base;
int fd = open(dev_name, O_RDWR|O_SYNC);
if(fd<0){
printf("open %s is error\n",dev_name);
return -1 ;
}
int sz = getpagesize();
printf("\ngetsize = %u\n", sz);
printf("str = %x ",(0x1c208d8/sz) * sz);
volatile unsigned int str = (0x1c208d8/sz) * sz;
/
unsigned char buf[100];
lseek(fd, 0, SEEK_SET);
lseek(fd, 0x1c208d8, SEEK_SET);
read(fd, buf,1000000);
*/
for(int i = 0; i < 200; i+=1)
{
/*if ((int)(buf[i] <<3| buf[i+ 1] <<2| buf[i+2] << 1| buf[i +4]) == 0x7$
{
printf("ok");
}
*/
printf("\n %x \n", gpio_base[i]);
}
////*gpio_base_out &=0xfffffff8;
////*gpio_base_out = 1;
int mum = munmap(gpio_base, 0x32);
if (mum== 0)
{
printf("\nOK\n");
}
else
{
printf("\nNO OK \n");
}
if(gpio_base == NULL){
printf("gpio base mmap is error\n");
close(fd);
return -1;
}
return 0;
}
Hi Zepan,
I just purchased one of your Lichee Pi Nano's and trying to get it to work with an sdcard. Are these rootfs's still available to download from somewhere?
rootfs-brmin.tar.gz - is the most streamlined root file system with only 1.5M
rootfs-brpy.tar.gz - Based on brmin, the python environment
rootfs-minmin.tar.gz - debian (including apt, network)
rootfs-mindb.tar.gz - debian (including apt, network, gcc, python...)
rootfs-minX.tar.gz - debian( Include desktop system)
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.