narmstrong changed the topic of #linux-amlogic to: Amlogic mainline kernel development discussion - our wiki http://linux-meson.com/ - ml linux-amlogic@lists.infradead.org - Publicly Logged on https://irclog.whitequark.org/linux-amlogic
gavlee has quit [Ping timeout: 265 seconds]
gavlee has joined #linux-amlogic
camus has joined #linux-amlogic
kaspter has quit [Ping timeout: 260 seconds]
camus is now known as kaspter
tlwoerner has quit [Quit: Leaving]
camus has joined #linux-amlogic
kaspter has quit [Ping timeout: 256 seconds]
camus is now known as kaspter
tlwoerner has joined #linux-amlogic
tlwoerner has quit [Quit: Leaving]
asdf28 has joined #linux-amlogic
tlwoerner has joined #linux-amlogic
tlwoerner has quit [Client Quit]
Barada has joined #linux-amlogic
camus has joined #linux-amlogic
kaspter has quit [Ping timeout: 240 seconds]
camus is now known as kaspter
asdf28 has quit [Ping timeout: 240 seconds]
buzzmarshall has quit [Remote host closed the connection]
asdf28 has joined #linux-amlogic
lvrp16 has quit [Ping timeout: 260 seconds]
lvrp16 has joined #linux-amlogic
drieschel has joined #linux-amlogic
drieschel has quit [Client Quit]
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-amlogic
Necrosporus has joined #linux-amlogic
<Necrosporus> Hi there. I have discovered that my device based on AMLOGIC MESON3 8726M SKT SH writes this messages when SD card is inserted: Hit any key to stop autoboot: 0 // auto upgrade from sdcard... // command: mmc read 0 82000000 400 200 // MMC read: dev # 0, addr # 400, byte count 200 ... 1 blocks read: OK
<Necrosporus> This suggest that I can write something to the third 512-byte sector of an SD card to make it bootable. The question is what it could be?
ldevulder_ is now known as ldevulder
trem has joined #linux-amlogic
cmeerw has joined #linux-amlogic
kaspter has quit [Ping timeout: 240 seconds]
kaspter has joined #linux-amlogic
efqw has quit [Quit: Connection closed for inactivity]
Barada has quit [Quit: Barada]
Barada has joined #linux-amlogic
Barada has quit [Client Quit]
<chewitt> signed u-boot
<chewitt> the issue you have is, you don't have the u-boot sources for your box/board
<chewitt> and mainline u-boot doesn't support anything below Meson 9
<chewitt> the box boots from nand/emmc first, always, if there is signed u-boot there
<chewitt> it will also boot from an SD card, but to force this and test whatever u-boot things you can find in github etc. to experiment with, you'll have to wipe the emmc
camus has joined #linux-amlogic
kaspter has quit [Ping timeout: 265 seconds]
camus is now known as kaspter
asdf28 has quit [Ping timeout: 264 seconds]
asdf28 has joined #linux-amlogic
<asdf28> chewitt: a few weeks ago, you gave me a patch for adding p212 audio support to linux
<asdf28> i tried it yesterday, it works great. thanks!
<Necrosporus> chewitt, I have SPI NOR and NAND chips there
<Necrosporus> Also I have had wiped SPI nor by mistake and it did indeed run u-boot from begginning of an SD card
<Necrosporus> chewitt, regarding u-boot sources, how do you know I don't have it? I mean maybe they are downloadable from some vendor FTP, I didn't look for them yet though
<Necrosporus> chewitt, I can probably chainload u-boot from external card with something like fatload and bootm
sputnik_ has quit [Ping timeout: 265 seconds]
<Necrosporus> chewitt, but maybe I can just change signature of u-boot or whatever?
<Necrosporus> Though I did achieve what I wanted by changing bootcmd env variable and running saveenv, then the device checks for SD card and if it's inserted, runs the kernel from it
<Necrosporus> if not, it runs from nand
<Necrosporus> I have found a similar board booting with same message: MyGica ATV510B Android boot https://pastebin.com/raw/9ZBbt8AX (made in 2013, not my paste)
<Necrosporus> [ 3.710547] Creating 2 MTD partitions on "apollospi:0":
<Necrosporus> [ 3.715723] 0x00000004e000-0x000000050000 : "ubootenv"
<Necrosporus> How do I read unpartitioned space on SPI flash from the loaded OS? Is it possible?
<Necrosporus> [ 3.721885] 0x0000003fe000-0x000000400000 : "ids"
<Necrosporus> I have been able to dump it from u-boot with md.b though
kaspter has quit [Quit: kaspter]
buzzmarshall has joined #linux-amlogic
sputnik_ has joined #linux-amlogic
asdf28 has quit [Ping timeout: 260 seconds]
asdf28 has joined #linux-amlogic
tlwoerner has joined #linux-amlogic
tlwoerner has quit [Remote host closed the connection]
tlwoerner has joined #linux-amlogic
tlwoerner has quit [Quit: Leaving]
tlwoerner has joined #linux-amlogic
tlwoerner has quit [Quit: Leaving]
yann has quit [Ping timeout: 264 seconds]
yann has joined #linux-amlogic
vagrantc has joined #linux-amlogic
ldevulder_ has joined #linux-amlogic
ldevulder has quit [Ping timeout: 256 seconds]
radmin has joined #linux-amlogic
radmin has quit [Quit: WeeChat 2.9]
yann has quit [Ping timeout: 256 seconds]
cmeerw has quit [Ping timeout: 240 seconds]
yann has joined #linux-amlogic
Tony_mac32 has quit [Read error: Connection reset by peer]
Tony_mac32 has joined #linux-amlogic
vagrantc has quit [Quit: leaving]
asdf28 has quit [Ping timeout: 240 seconds]
trem has quit [Quit: Leaving]