Comments (10)
Hi @leeboby, I have the same question as above, would it be possible to get the source for these uboot images? or perhaps details on how they were built such as base images that were used and the changes that were made so they can be re-created?
Interested in the reasons why the 1.5GB and 4GB hardware requires different uboot configuration.
from opizero3-uboot-dtb.
my opi zero3 1.5G ram . i flash to 32g sd class10 and use virtual linux terminal to fix u-boot :
首先下载1.5g内存u-boot的bin文件:1.5gb内存u-boot的bin文件
然后将烧录好opizero3 linux6.x系统的tf卡插入其他的linux机器中
然后使用sudo fdisk -l命令查看tf卡的设备名: 比如: /dev/sdX
然后使用下面的命令将u-boot的bin文件更新到tf中
sudo dd bs=1k seek=8 if=u-boot-sunxi-with-spl-opizero3-1.5gb.bin of=/dev/sdX
it not boot on my opi zero3. have any boot can run
from opizero3-uboot-dtb.
I'm interested too. I'm finding a way to make Alpine Linux image for sdcard.
from opizero3-uboot-dtb.
Looking at the contents of the .deb packages and config files it looks like these images were generated with the Orange Pi SDK, not mainline u-boot. The SDK documentation is very good, although the u-boot used in the SDK is falling a bit behind
The build tool script scripts/compilation.sh
has the configuration setting that changes between 1.5GB / 4GB images (answering my original question)
if [[ ${BOARDFAMILY} == "sun50iw9" && ${BRANCH} == "next" ]]; then
if [[ ${MEM_TYPE} == "1500MB" ]]; then
sed -i 's/^.*CONFIG_DRAM_SUN50I_H616_TRIM_SIZE*/CONFIG_DRAM_SUN50I_H616_TRIM_SIZE=y/g' .config
else
sed -i 's/^.*CONFIG_DRAM_SUN50I_H616_TRIM_SIZE*/# CONFIG_DRAM_SUN50I_H616_TRIM_SIZE is not set/g' .config
fi
fi
from opizero3-uboot-dtb.
Mainline u-boot didn't work.
I'm using the one I extract from Orange Pi OS and it works.
from opizero3-uboot-dtb.
Mainline u-boot didn't work. I'm using the one I extract from Orange Pi OS and it works.
Could you share?
from opizero3-uboot-dtb.
Please share your steps to build u-boot. Official build sdk not work
from opizero3-uboot-dtb.
Last time checked, u-boot works.
Just clone the source then build.
Or you can grab Armbian source code and build, it has u-boot.
Mainline Armbian image works just fine, I'm install it on several 1GB version.
from opizero3-uboot-dtb.
// I only have a 1.5 GiB board.
// For 1.5GiB boards
// file: u-boot/arch/arm/mach-sunxi/dram_sun50i_h616.c
static unsigned long mctl_calc_size(const struct dram_config *config)
{
u8 width = config->bus_full_width ? 4 : 2;
/* 8 banks */
unsigned long size;
size = (1ULL << (config->cols + config->rows + 3)) * width * config->ranks;
// 1.5GiB Need to add this line
size = (size * 3) / 4;
// End
return size;
}
I tried it and it works fine.
Can someone add it to the u-boot source code according to the standard?
from opizero3-uboot-dtb.
It is in mainline uboot now you can close.
from opizero3-uboot-dtb.
Related Issues (4)
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 opizero3-uboot-dtb.