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
yann has quit [Ping timeout: 265 seconds]
_whitelogger has joined #linux-amlogic
_whitelogger has joined #linux-amlogic
<buzzmarshall> mace... he is making a reference to the parts of the makers bootloader that get assembled into a FIP package and used as the bootloader
<buzzmarshall> usually the SoC's masked in bl1 code will authenticate and load the next part which is the bl2 and so on
<buzzmarshall> that all gets build into a fip package/uboot that brings everything up
<buzzmarshall> some of the SoC's that have speed and memory settings setup for the chips there using make it hard to construct the bootloader without knowing what those settings are
<buzzmarshall> they are usually part of the bl2
<buzzmarshall> so having that info from the maker is the best way to know how to construct the fip
<buzzmarshall> if you've got a working board with something like Android on it you can fish it out but having the sources just make things easier
<buzzmarshall> theres a few pieces that need to be stitched together depending on the hardware and how secure they are making it
<buzzmarshall> i think thats what chewitt was making a reference to... if not hopefully he will correct what i just said
<buzzmarshall> the fip reference comes from the Arm Trusted Firmware platform
niceplaces has joined #linux-amlogic
niceplace has quit [Ping timeout: 272 seconds]
buzzmarshall has quit [Remote host closed the connection]
_whitelogger has joined #linux-amlogic
vagrantc has quit [Quit: leaving]
_whitelogger has joined #linux-amlogic
_whitelogger has joined #linux-amlogic
yann has joined #linux-amlogic
sputnik_ has quit [Ping timeout: 260 seconds]
Elpaulo has joined #linux-amlogic
djgl has quit [Quit: djgl]
<gavlee> :)
<gavlee> was trying to "fish out" things yesterday
<gavlee> think i need better fishing tackle
<gavlee> bought a s905x3? on amazon random buy, looks nice but still no idea how to boot anything other than the default firmware or recovery. having fun with toothpicks
<gavlee> cross compile kernel and u-boot but I guess there are missing things I have in the bootloader mention earlier in this chat, maybe I should have checked this chat while I was trying it :D
vagrantc has joined #linux-amlogic
vagrantc has quit [Quit: leaving]
<chewitt> gavlee: what box (make/model) did you get?
<chewitt> and what kind of alternative OS would you like to boot? - what's the use case?
vagrantc has joined #linux-amlogic
<gavlee> It's an X96 Air? Would like to get Gentoo on it so general purpose but anything would be a start. made backups of the firmware on there and loaded twrp from the stock recovery but cannot seem to boot anything else so there must be something I'm missing. I guess should order another usb to ttl adapter...
<gavlee> also don't have a windows install for the flash tool. still trying to find the things I need..
<chewitt> ^ this is complete guess (mildly educated) but I'd be interested in working with someone to test and get it right
<chewitt> ^ set the dtb name in uEnv.ini
<gavlee> that's super!!! thanks so much
<chewitt> if that boots, you should be able to experiment with "balbes150" images for Armbian, and from there you can probably figure out gentoo
<gavlee> that's made my day so much happier lol
<chewitt> see if it works first :)
<chewitt> LE packaging is a little different to most desktop distros but our boot scripts and Oleg's (balbes150) have common origins so should be stealable
<chewitt> put the image on an SD card, don't put on emmc
<chewitt> some of the S905X2/X3 devices can be tricky to get into update mode, it's a little easier to guess the timing with a TTL/UART cable as you can see what's going on
buzzmarshall has joined #linux-amlogic
<gavlee> Yes I recognise from the code I was reading but unsure which images because of changes in the way the images set up multi-boot or something. got used to fiddly update mode with a old rockchip tablet :) Happy to test am getting the bits and will have a go. Thanks again
<chewitt> If it appears to boot but then doesn't complete due to device-tree, have a go with the SEI610 dtb
<chewitt> I've had reports it worked on A95X-F3 which is another S905X3 device, and box devices tend to be similar
<chewitt> if both boot and "work" .. let me know which one has more bits working (Ethernet, WiFi, BT, etc.)
<chewitt> is your box 10/100 or 10/100/1000 Ethernet?
<gavlee> was advertised as 1000 but not checked fully
<gavlee> I dd the libreelec image and got a blue/black screens this so something happened, not sure what :)
<chewitt> this is normal .. sec
<chewitt> drop https://www.dropbox.com/s/gy294iyl0ff0wsi/u-boot.ext?dl=0 in the root of the SD card and reboot, and it might/should hopefully solve that
<chewitt> u-boot.ext is mainline u-boot, so we chainload it from vendor u-boot
<gavlee> ok. i run libreelec on a couple of rpi3b so it installed and does some things to the sd like resize the partition?
<chewitt> yes, exact same install process
<gavlee> let me try it again after a coffee i'm parched
<chewitt> np
gavlee has quit [Excess Flood]
gavlee has joined #linux-amlogic
<gavlee> meson-sm1-sei610.dtb booted, the colours look a little funny
<gavlee> now at the libreelec welcome screen :D
<gavlee> cheers
<gavlee> at least I know have working example to look at need to do some thing but will be having another look later
<gavlee> thanks so much for the help
<gavlee> I notice there are x96 air with different remote? i dunno lol.. anyway back bit later
<chewitt> If you can share "dmesg | paste" output that would be useful
sputnik_ has joined #linux-amlogic
warpme_ has quit [Quit: Connection closed for inactivity]
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
vagrantc has quit [Quit: leaving]
xdarklight has quit [Quit: ZNC - http://znc.in]
xdarklight has joined #linux-amlogic
xdarklight has quit [Quit: ZNC - http://znc.in]
xdarklight has joined #linux-amlogic