Comments (37)
h313 lpddr3 uboot from my build:
u-boot-sunxi-with-spl.bin.zip
from miniarch.
Hi,
May you pls look at https://linux-sunxi.org/Bootable_eMMC
There is section about install u-boot from Linux....
from miniarch.
If I executed those commands, would this allow me to extract the current U-Boot contents/flash mainline U-Boot (with HDMI support)? And if so, what build would I need, or what config file would I need so that I can build it myself? I have a R620 server with 16C and 128GB of DDR3, so if something needs to be compiled, I can do that.
from miniarch.
I have access to U-Boot now, but when trying to run mmc bootbus 2 1 0 0
(mmc device is recognized as 2), it just spits out the help menu. Same goes for partconf
but this build seems to allow modifying partitions thru the mmc
command;
mmc info - display info of the current MMC device mmc read addr blk# cnt mmc write addr blk# cnt mmc erase blk# cnt mmc rescan mmc part - lists available partition on current mmc device mmc dev [dev] [part] - show or set current mmc device [partition] mmc list - lists available devices mmc hwpartition
Attached is the output of version
, setenv
, and bdinfo
.
x96q-h313-uboot-info.txt
from miniarch.
I see that you've already built a successful U-Boot image, so I'll stop worrying about that for now. I just can't figure out why the commands that linux-sunxi has on their website don't work/how you got the board's U-Boot to execute your U-Boot.
from miniarch.
Oh - commands that linux-sunxi has on their website may not work probably because sunxi page is about older uboot ver?
I'm using mainline uboot 2021.07.
I don't have much time to look on emmc boot on allwinner.
Probably best will be to ask at irc.
pls see https://linux-sunxi.org/Category:Community
Also - when you manage successful boot from emmc - maybe you can:
-write wiki about this
-devel. small script to automate this (i.e. started from sd card booted box which will dd rootfs/boot image + write bootloader)
from miniarch.
Oh - commands that linux-sunxi has on their website may not work probably because sunxi page is about older uboot ver?
I'm using mainline uboot 2021.07.
Yeah, and are you referring to mainline on the image?
I don't have much time to look on emmc boot on allwinner.
That's perfectly fine, but I figured since I have devices to mess around with I could do most of the lifting
from miniarch.
Yeah, and are you referring to mainline on the image?
Yes.
It is 2021.07 mainline + patches:
https://github.com/warpme/minimyth2/tree/master/script/bootloaders/u-boot-h616/files
from miniarch.
If I can compile it and install it onto a partition on the eMMC's storage, I will. One more thing though, what partition does your U-Boot recognize the eMMC as?
from miniarch.
On my lpddr3 h313 box i have:
[ 1.631687] sunxi-mmc 4022000.mmc: initialized, max. request size: 2048 KB, uses new timings mode
[ 1.633280] sunxi-mmc 4020000.mmc: initialized, max. request size: 16384 KB, uses new timings mode
[ 1.668451] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1.670454] mmc0: new high speed SDXC card at address b368
[ 1.671749] mmcblk0: mmc0:b368 NCard 58.2 GiB
[ 1.675577] mmcblk0: p1 p2 p3
[ 1.706795] mmc2: new DDR MMC card at address 0001
[ 1.708045] mmcblk2: mmc2:0001 P1J95K 7.30 GiB
[ 1.711944] mmcblk2: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17
[ 1.716431] mmcblk2boot0: mmc2:0001 P1J95K 2.00 MiB
[ 1.719355] mmcblk2boot1: mmc2:0001 P1J95K 2.00 MiB
[ 1.914516] sunxi-mmc 4021000.mmc: allocated mmc-pwrseq
[ 1.937543] sunxi-mmc 4021000.mmc: initialized, max. request size: 16384 KB, uses new timings mode
[ 1.953645] mmc3: new high speed SDIO card at address 0001
it looks like:
mmc0 is sd card
mmc2 is emmc
from miniarch.
from miniarch.
Is it possible for me to include HDMI support for U-Boot so I can interface with it over just the monitor and NOT UART?
from miniarch.
Oh - hdmi support in uboot is rather big think (in sense of implementation). In allwinner i would rather not expect support soon...
from miniarch.
Alright. I tried just booting U-Boot on an SD card, and it seemed to have flashed it to the Boot0 partition. I rebooted your miniarch image, and am following the steps from linux-sunxi to try and reflash the new U-Boot image to Boot0.
from miniarch.
Seems to have crashed it, as there is no output whatsoever from UART. Any ideas?
Here is the output of U-Boot from the SD card.
No working controllers found
Hit any key to stop autoboot: 0
=> mmc list
mmc@4020000: 0 (SD)
mmc@4021000: 3
mmc@4022000: 2
=> mmc dev 2
Card did not respond to voltage select! : -110
The same goes for mmc dev 3
from miniarch.
hmm - this might be issue with emmc support in uboot.
I think better approach will be to deal with writing to emmc under booted linux - as under linux we have very recent emmc support code (fixes, improvements) while under uboot emmc code is from 2021 (2y old)....
from miniarch.
Let me boot the thing back to factory, I'm going to re-try DD'ing the updated U-Boot build once I can get miniarch up and running again
from miniarch.
I just got a S905W2 box off of AliX. I'm having the exact same issue that others are having, and its the -110 error.
https://github.com/devmfc/debian-on-amlogic
Maybe this would help @warpme?
from miniarch.
Usually boot from eMMC is SoC specific so direct repeating procedure for AMlogic not works for Allwinner.
I don't have plans (and time/energy - as i'm doing this project as hobby in spare time) to work on eMMC booting.
By above - If you mind - i'm closing with status "not planned"
from miniarch.
@kerta1n Hi, were you able to install MiniArch on X96Q LPDDR3?
I have the same box and I want to install MiniArch too on eMMC
from miniarch.
Nope, it's been a while now but there were just too many errors
from miniarch.
Nope, it's been a while now but there were just too many errors
did you succede? i've got a full install now on sd which sometime boot and sometime not. is your boot 100% reliable?
from miniarch.
did you succede? i've got a full install now on sd which sometime boot and sometime not. is your boot 100% reliable?
Nope, couldn't find the internal emmc under /dev
from miniarch.
Related Issues (20)
- Can't run Docker either. Modules missing? HOT 4
- Andowl Q96x (H313; AIP1618 VFD controller) openvfd module loads and it's listed in lsmod but... HOT 4
- Disable screen blanking for Allwinner SOCs HOT 2
- Tanix Tx6s can not connect network HOT 16
- tanix tx6 install or migrate to emmc HOT 2
- RTL8211F on X96 x6 not working properly HOT 19
- about TV box H313-EMCP-V1.0 HOT 8
- Ethernet interface not available HOT 5
- Building external kernel module for USB to I2C adapter HOT 2
- screen stuck at boot HOT 3
- recompile u-boot miniarch with dram parametres HOT 11
- several issues on orange pi zero 3 HOT 3
- Install on TVBox based Vontar H618 HOT 3
- Ethernet port on x96q LPDDR3 HOT 7
- Won't boot on my X96Q HOT 11
- Miniarch pacman mirror connection timed out HOT 2
- start script unable to download parted HOT 1
- Need package tx6s h616s axp313 of version 20230531 HOT 3
- Miniarch.db from warped.inet2.org failing to connect HOT 9
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 miniarch.