Comments (9)
Allrighty. Pulled the latest gatesgarth. Built, compiled, flashed just fine. U-Boot and kernel both react properly to the SD card being inserted and removed!
from meta-intel-edison.
Thanks for testing @humanoid2050
from meta-intel-edison.
To your last paragraph: U-Bott does not have a GPIO driver for Intel Tangier, that's why changing flags do nothing. But putting 'cd-inverted' into DTS should have an effect (as we exercised in #135 for cd_override_level
).
from meta-intel-edison.
It seems I have nailed down what's going on in U-Boot. The firmware sets the mode for SD CD pin to native (mode 1), while in Linux kernel we first switch it to mode 0 (GPIO). That's why U-Boot doesn't ignore its state.
TL;DR: please test these two patches (@htot drop anything in your tree except these two along with andy-shev/u-boot@20d551a84d7a, so you will have only three patches on top of upstream U-Boot) andy-shev/u-boot@87f693a followed by andy-shev/u-boot@c5cfab6.
from meta-intel-edison.
Sure. I see it might be worth upgrading U-Boot to 2021.10 in our image.
from meta-intel-edison.
No response from the reporter @humanoid2050 and works for me, hence closing.
from meta-intel-edison.
For completeness I just tested these patches on Edison-Arduino. When SD card is not present:
=> ls mmc 1
Card did not respond to voltage select! : -110
Couldn't find partition mmc 1
When SD card is present:
=> ls mmc 1
.disk/
boot/
casper/
dists/
EFI/
install/
1073741824 casper-rw
pics/
pool/
preseed/
134 autorun.inf
18809 md5sum.txt
229 README.diskdefines
2501488 wubi.exe
32256 ldlinux.sys
syslinux/
11015538 mb_bios_z490m_f20d.zip
mb_bios_z490m_f20d/
7 file(s), 11 dir(s)
I didn't see any differences between booting with SD card inserted or not.
Other info:
=> fstype mmc 1
fat
=> fstypes
Supported filesystems: fat, ext4, btrfs
=> mmcinfo
Device: mmc@ff3fa000
Manufacturer ID: 2
OEM: 544d
Name: SD02G
Bus Speed: 50000000
Mode: SD High Speed (50MHz)
Rd Block Len: 512
SD version 2.0
High Capacity: No
Capacity: 1.8 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
Seems to work fine on Edison-Arduino. I hope to force push later this evening. @humanoid2050 would you have time to test on your platform?
from meta-intel-edison.
I should be able to. I tried cobbling it together myself, but somehow I fixed uboot but broke kernel in a new way.
from meta-intel-edison.
force pushed to htot/master and htot/gatesgarth
from meta-intel-edison.
Related Issues (20)
- BTRFS rebooted crash HOT 2
- boot failure HOT 12
- Preempt-RT support HOT 4
- ACPI table is not loaded HOT 8
- Integration with Azure HOT 1
- How to use PWM mode? HOT 5
- altering the partition table prevents subsequent dfu updates HOT 3
- requirement for sudo to use flashall.sh HOT 4
- `make debian` broken on master and dunfell HOT 4
- SD card does not work on dunfell branch HOT 69
- Can't use "configure_edison --setup" HOT 9
- Intel Edison can't boot new flashed image HOT 3
- There is no issue with the network, but numactl cannot be downloaded. HOT 2
- Initramfs unpacking failed: invalid magic at start of compressed archive HOT 4
- Issue Building Sumo Branch HOT 1
- Expired gpg keys HOT 3
- [Kirstone] List of required packages does not match YP
- npm i mraa fails HOT 3
- [Kirkstone] missing elfutils-native while building linux-yocto HOT 1
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 meta-intel-edison.