00:52
kilobyte_ch has quit [Ping timeout: 256 seconds]
01:07
kilobyte_ch has joined #linux-amlogic
01:57
camus has joined #linux-amlogic
02:58
camus1 has joined #linux-amlogic
02:59
camus has quit [Ping timeout: 240 seconds]
02:59
camus1 is now known as camus
04:08
vagrantc has quit [Quit: leaving]
08:29
chewitt has joined #linux-amlogic
08:43
<
chewitt >
Pinchiukas Amlogic hard-wires the SoC (BL1) to look for something bootable in SPI > eMMC > NAND > SD > USB
08:45
<
chewitt >
something bootable = signed boot firmware; a combination of Amlogic closed-source and semi-closed souce blobs and u-boot
08:47
<
chewitt >
the "Power on flow chart" is in the datasheet which can be found from either Hardkernel or Khadas wikis (depending on which SoC you want)
08:50
camus has quit [Ping timeout: 256 seconds]
08:51
camus has joined #linux-amlogic
09:01
<
chewitt >
there's plenty of prior-art for building signed boot firmware and u-boot; both upstream and vendor flaavours
09:01
<
chewitt >
booting distros via UEFI needs upstream
09:02
<
chewitt >
if you want guided advice, it's best to share the specific board/device you have?
09:03
<
Pinchiukas >
My device is the MXQ Pro with the S905(W?).
09:04
<
chewitt >
the +ve for tvbox devices is .. they are cheap
09:05
<
chewitt >
the -ve for tvboxes is .. they are cheap
09:06
<
chewitt >
cheap means you don't have and can't get the closed source bits needed to sign your own boot firmware
09:08
<
chewitt >
the challenge is that cheap boxes mostly use recycled or lower-bin RAM parts that have unique ram timings
09:09
<
Pinchiukas >
I get that it's a challenge/impossible to sign it but didn't get the part about RAM.
09:09
<
Pinchiukas >
I'd hope that the default uboot config would have entries for booting from USB so that I didn't have to change it.
09:10
<
chewitt >
one of the files is called acs.bin
09:10
<
Pinchiukas >
This was complicated before I knew signing is an issue. :|
09:11
<
chewitt >
and the acs.bin used by the manufacturer of your box almost certainly tweaked ram timing data to match the parts used in the box
09:11
<
chewitt >
if the ram timing is off, things don't boot
09:11
<
Pinchiukas >
What the hell, how does RAM timing come into the whole booting things picture?
09:12
<
chewitt >
I'm not 100% sure myself, but I'd guess that the boot process loads data from storage into ram and then executes it
09:13
<
chewitt >
hence, if you don't have the ram hardware setup correctly, that process fails
09:14
<
chewitt >
TL/DR .. you are stuck with vendor u-boot
09:14
<
chewitt >
it works, and it can be manipulated to boot something other than Android
09:19
<
chewitt >
what is the use-case for the box?
09:43
<
Pinchiukas >
I want to install linux on it. :)
09:44
<
Pinchiukas >
To be a router and a sort of PVR.
09:45
<
Pinchiukas >
Is there a way to check the uboot config from Android?
11:09
chewitt has quit [Quit: Zzz..]
11:13
chewitt has joined #linux-amlogic
11:22
chewitt has quit [Quit: Zzz..]
12:31
camus1 has joined #linux-amlogic
12:33
camus has quit [Ping timeout: 245 seconds]
12:33
camus1 is now known as camus
14:20
chewitt has joined #linux-amlogic
15:04
hexdump0815 has joined #linux-amlogic
15:11
<
hexdump0815 >
as long as the original boot blocks are not securely signed and/or encrypted it should work in most cases to use bl2 and bl30 and combine it with your self built mainline atf and u-boot
15:14
<
hexdump0815 >
so if a hexdump of your boot loader looks completely random without any kind of structure there is not much you can do
15:20
GNUtoo has quit [Remote host closed the connection]
15:20
GNUtoo has joined #linux-amlogic
15:32
chewitt has quit [Quit: Zzz..]
15:44
chewitt has joined #linux-amlogic
16:05
GNUtoo has quit [Remote host closed the connection]
16:05
GNUtoo has joined #linux-amlogic
16:09
chewitt has quit [Quit: Zzz..]
16:13
chewitt has joined #linux-amlogic
16:22
tdebrouw has joined #linux-amlogic
16:25
chewitt has quit [Quit: Zzz..]
16:35
tdebrouw has quit [Quit: Leaving.]
17:08
vagrantc has joined #linux-amlogic
18:36
buzzmarshall has joined #linux-amlogic
18:58
hexdump0815 has quit [Quit: WeeChat 1.9.1]
20:18
camus1 has joined #linux-amlogic
20:20
camus has quit [Ping timeout: 260 seconds]
20:20
camus1 is now known as camus
20:57
camus1 has joined #linux-amlogic
20:58
camus has quit [Read error: Connection reset by peer]
20:58
camus1 is now known as camus