Tinker Board Forum

Full Version: Board Bring-up Buildroot build for Tinker
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Good Day All,

I am trying to bring up the asus tinker rev 1.2 with a buildroot build, asus_tinker_rk3288_defconfig.
I do not see a boot partition, the sdcard.img has one partition with a boot folder, which has extlinux.conf. how do i bring up the board ?
The system obviously needs the u-boot, that you've done, and the rootfs which isn't in the partition you see extlinux.conf.
The tinker_rk3288_defconfig is only to build the u-boot. Then you should have the rootfs, which it might be extracted from the TinkerOS. It will take to mount the image
Code:
$ mkdir /tmp/root
$ sudo mount /path/to/20180622-tinker-board-linaro-stretch-alip-v2.0.7.img /tmp/root -o loop,offset=68M
Then you might be able to see the content and copy to the new partition that you intent to boot from.
Here you may get the picture how the system is built.
Thank You. I will be trying what you have suggested right now, and will get back to you with the results.
I read thru the links you shared and this is what i have now:
I will be booting using an SD card:
I have created a FAT partition, copied u-boot.bin, uImage, .dtb and .spl files , built by buildroot. I created a ext2 partition and did a sudo dd and wrote the rootfs( buildroot built) onto the second partition.
Do i have to configure the extlinux.conf ? . If yes, what all do i need to add, give u-boot.bin instead of the kernel path ?
the u-boot shouldn't copied in no partitions. To write it is a low level writing beyond any partition.
You may get some figure if you spend a bit of time to read my PDF. Even the whole discussion has a particular interest on your doing.
So for the u-boot you just consider it as a BIOS, that reside on the first 4 Mbytes on the mass media.

The partitioning may vary according which scheme you prefer to have. If you follow the linaro scheme then it will have a partition with FAT which it serves to prepare the system hardware and start the rootfs.
That isn't a constrain, it is also possible to have the rootfs without the first FAT partition, but for certain chances is better, because you can access it by Windows file system, so from there you might do some little adjustment. Such as modifying the overlays and a little for extlinux.conf which is strangely arrange by linaro and is not fully functional.
So that is the most necessity to have a FAT.
The u-boot is able to find extlinux.conf or boot.scr, which are used to load the kernel. But I can't tell you in which priority order.

I'm used to add another partition, /home, so I can change the installation, but my data won't disappear and reused even I switch from linaro to armbian.