[Solved] Asus TB S

This is for any ARMv7 device that we do not officially support.

Re: Asus TB S

Postby summers » Wed Aug 01, 2018 12:45 pm

Well a working arch can load modules, so you only *need* compiled in what you need to boot, and much of that can be handled with an initrd. As wifi isn't needed to boot, shouldn't make much difference if its compiled in or not.

Haven't tried this myself, why not download the package manually http://de.mirror.archlinuxarm.org/armv7h/core/linux-armv7-4.17.11-1-armv7h.pkg.tar.xz copy onto a memory stick, move to the TBS, and install by hand (e.g. move the zImage to the right location).

That has to be easier than compiling the kernel...

And just checked, the package file contains the zImage and the r8723vs.ko.gz and rk3288-tinker.dtb - so it should have all you need. So all you need to do is unpack, run depmod, and then move the zImage and dtb to the right place.

Should be able to do that in a few minutes and check if it works.

and even easier is after copying the .tar.xz to the TBS just run:
$this->bbcode_second_pass_code('', 'pacman -U linux-armv7-4.17.11-1-armv7h.pkg.tar.xz')
And copy the /boot/zImage and /boot/dtbs/rk3288-tinker.dtb to the FAT directory.
summers
 
Posts: 984
Joined: Sat Sep 06, 2014 12:56 pm

Re: Asus TB S

Postby TheSaint » Thu Aug 02, 2018 8:53 am

I got the kernel package and copied all the files, but it doesn't boot. Even doesn't show any message to the screen.
I've tried to install the packages with a bunch of difficulties, like package signature and missing depending packages. But the result is as above, blank screen with the read-LED stuck on.
I used '--force because I wrote the data in the previous attempt.
$this->bbcode_second_pass_code('', '# pacman -U --force /var/cache/pacman/pkg/linux-armv7-4.17.11-1-armv7h.pkg.tar.xz
warning: option --force is deprecated; use --overwrite instead
loading packages...
resolving dependencies...
looking for conflicting packages...
:: linux-armv7 and linux-veyron are in conflict (linux). Remove linux-veyron? [y/N] y

Packages (4) linux-veyron-3.14.0-26 [removal] mkinitcpio-24-2 mkinitcpio-busybox-1.28.4-1
linux-armv7-4.17.11-1

Total Installed Size: 79.42 MiB
Net Upgrade Size: 63.80 MiB

:: Proceed with installation? [Y/n]
(3/3) checking keys in keyring [##################################] 100%
(2/3) checking package integrity [##################################] 100%
(2/3) loading package files [##################################] 100%
(3/3) checking for file conflicts [##################################] 100%
(4/4) checking available disk space [##################################] 100%
warning: could not get file information for boot/dtbs/
warning: could not get file information for boot/vmlinux.kpart
:: Processing package changes...
(1/1) removing linux-veyron [##################################] 100%
(1/3) installing mkinitcpio-busybox [##################################] 100%
(2/3) installing mkinitcpio [##################################] 100%
Optional dependencies for mkinitcpio
xz: Use lzma or xz compression for the initramfs image [installed]
bzip2: Use bzip2 compression for the initramfs image [installed]
lzop: Use lzo compression for the initramfs image
lz4: Use lz4 compression for the initramfs image [installed]
mkinitcpio-nfs-utils: Support for root filesystem on NFS
(3/3) installing linux-armv7 [##################################] 100%
>>> Updating module dependencies. Please wait ...
NOTE: Using this kernel requires an updated U-Boot!
Optional dependencies for linux-armv7
crda: to set the correct wireless channels of your country [installed]
:: Running post-transaction hooks...
(1/5) Updating linux-armv7 initcpios
==> Building image from preset: /etc/mkinitcpio.d/linux-armv7.preset: 'default'
-> -k 4.17.11-1-ARCH -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 4.17.11-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> WARNING: No modules were added to the image. This is probably not what you want.
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
==> Image generation successful
(2/5) Reloading system manager configuration...
(3/5) Creating temporary files...
(4/5) Reloading device manager configuration...
(5/5) Arming ConditionNeedsUpdate...')

Perhaps I missed to modify the kernel line and I didn't set the fstab. But if it's that the cause the screen should have some message.
So at the moment I can get hands on via ssh, but booting the Linaro kernel. Even the modules are set at their places.

The extlinux.conf is: $this->bbcode_second_pass_code('', '# cat /boot/extlinux/extlinux.conf
label kernel-4.4
kernel /zImage
fdt /rk3288-miniarm.dtb
append earlyprintk quiet splash plymouth.ignore-serial-consoles console=tty1 rw init=/sbin/init
# ls /boot/ ## mounted ESP
dtbs extlinux hw_intf.conf initramfs-linux.img overlays rk3288-miniarm.dtb zImage zImage.bak
')
Surely there's something to change at the command line, which I've some doubt how to.
I taught to implement internet sharing, but I think there might be problems at the same measure.
TheSaint
 
Posts: 346
Joined: Mon Jul 23, 2018 7:57 am

Re: Asus TB S

Postby summers » Thu Aug 02, 2018 4:25 pm

did you mount the fat to /boot? $this->bbcode_second_pass_code('', 'df') will tell you.

I didn't look at the extlinux.conf - i'm not used to uboot using that.

I'd also copy the rk3288-tinker.dtb to the root of the FAT partition - I suspect uboot will use the rk3288-miniarm.dtb unless something is changed. The contents of extlinux.conf suggest you could change the dtb in there. Anyway once you get access to you boot, you can change the device tree boob to rk3288-tinker.dtb.
summers
 
Posts: 984
Joined: Sat Sep 06, 2014 12:56 pm

Re: Asus TB S

Postby TheSaint » Thu Aug 02, 2018 5:49 pm

I've the SD card in the laptop reader$this->bbcode_second_pass_code('', '$ df /run/media/myself/4C89-2DED/
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdc1 64511 48821 15691 76% /run/media/myself/4C89-2DED')
$this->bbcode_second_pass_quote('summers', 'd')id you mount the fat to /boot?

Definitely I did it
I discovered that the SD card using MBR partitioning, so I was wrong to say that there's an ESP. I'm going to try to set up a boot loader, perhaps it will work better.
The actual boot partition is like this:
$this->bbcode_second_pass_code('', ' tree /run/media/myself/4C89-2DED/
/run/media/myself/4C89-2DED/
|-- dtbs
| |-- am335x-abbbi.dtb
| |-- am335x-baltos-ir2110.dtb
| |-- am335x-baltos-ir3220.dtb
| |-- am335x-baltos-ir5221.dtb
| |-- am335x-base0033.dtb
| |-- am335x-bone-uboot-univ.dtb
| |-- am335x-bone.dtb
| |-- am335x-boneblack-audio.dtb
| |-- am335x-boneblack-bbb-exp-c.dtb
| |-- am335x-boneblack-bbb-exp-r.dtb
| |-- am335x-boneblack-bbbmini.dtb
| |-- am335x-boneblack-uboot-univ.dtb
| |-- am335x-boneblack-uboot.dtb
| |-- am335x-boneblack-wireless.dtb
| |-- am335x-boneblack-wl1835mod.dtb
| |-- am335x-boneblack.dtb
| |-- am335x-boneblue.dtb
| |-- am335x-bonegreen-wireless-uboot-univ.dtb
| |-- am335x-bonegreen-wireless.dtb
| |-- am335x-bonegreen.dtb
| |-- am335x-chiliboard.dtb
| |-- am335x-cm-t335.dtb
| |-- am335x-evm.dtb
| |-- am335x-evmsk.dtb
| |-- am335x-icev2.dtb
| |-- am335x-lxm.dtb
| |-- am335x-moxa-uc-8100-me-t.dtb
| |-- am335x-nano.dtb
| |-- am335x-olimex-som.dtb
| |-- am335x-pdu001.dtb
| |-- am335x-pepper.dtb
| |-- am335x-phycore-rdk.dtb
| |-- am335x-pocketbeagle.dtb
| |-- am335x-sancloud-bbe.dtb
| |-- am335x-sbc-t335.dtb
| |-- am335x-shc.dtb
| |-- am335x-sl50.dtb
| |-- am335x-wega-rdk.dtb
| |-- am3517-craneboard.dtb
| |-- am3517-evm.dtb
| |-- am3517_mt_ventoux.dtb
| |-- am437x-cm-t43.dtb
| |-- am437x-gp-evm.dtb
| |-- am437x-idk-evm.dtb
| |-- am437x-sbc-t43.dtb
| |-- am437x-sk-evm.dtb
| |-- am43x-epos-evm.dtb
| |-- am571x-idk.dtb
| |-- am572x-idk.dtb
| |-- am574x-idk.dtb
| |-- am57xx-beagle-x15-revb1.dtb
| |-- am57xx-beagle-x15-revc.dtb
| |-- am57xx-beagle-x15.dtb
| |-- am57xx-cl-som-am57x.dtb
| |-- am57xx-sbc-am57x.dtb
| |-- armada-370-db.dtb
| |-- armada-370-dlink-dns327l.dtb
| |-- armada-370-mirabox.dtb
| |-- armada-370-netgear-rn102.dtb
| |-- armada-370-netgear-rn104.dtb
| |-- armada-370-rd.dtb
| |-- armada-370-seagate-nas-2bay.dtb
| |-- armada-370-seagate-nas-4bay.dtb
| |-- armada-370-seagate-personal-cloud-2bay.dtb
| |-- armada-370-seagate-personal-cloud.dtb
| |-- armada-370-smileplug.dtb
| |-- armada-370-synology-ds213j.dtb
| |-- armada-375-db.dtb
| |-- armada-385-db-ap.dtb
| |-- armada-385-linksys-caiman.dtb
| |-- armada-385-linksys-cobra.dtb
| |-- armada-385-linksys-rango.dtb
| |-- armada-385-linksys-shelby.dtb
| |-- armada-385-synology-ds116.dtb
| |-- armada-385-turris-omnia.dtb
| |-- armada-388-clearfog-base.dtb
| |-- armada-388-clearfog-pro.dtb
| |-- armada-388-clearfog.dtb
| |-- armada-388-db.dtb
| |-- armada-388-gp.dtb
| |-- armada-388-rd.dtb
| |-- armada-398-db.dtb
| |-- armada-xp-axpwifiap.dtb
| |-- armada-xp-db-dxbc2.dtb
| |-- armada-xp-db-xc3-24g4xg.dtb
| |-- armada-xp-db.dtb
| |-- armada-xp-gp.dtb
| |-- armada-xp-lenovo-ix4-300d.dtb
| |-- armada-xp-linksys-mamba.dtb
| |-- armada-xp-matrix.dtb
| |-- armada-xp-netgear-rn2120.dtb
| |-- armada-xp-openblocks-ax3-4.dtb
| |-- armada-xp-synology-ds414.dtb
| |-- bcm2835-rpi-a-plus.dtb
| |-- bcm2835-rpi-a.dtb
| |-- bcm2835-rpi-b-plus.dtb
| |-- bcm2835-rpi-b-rev2.dtb
| |-- bcm2835-rpi-b.dtb
| |-- bcm2835-rpi-zero-w.dtb
| |-- bcm2835-rpi-zero.dtb
| |-- bcm2836-rpi-2-b.dtb
| |-- bcm2837-rpi-3-b.dtb
| |-- dm8148-evm.dtb
| |-- dm8148-t410.dtb
| |-- dm8168-evm.dtb
| |-- dove-cubox-es.dtb
| |-- dove-cubox.dtb
| |-- dove-d2plug.dtb
| |-- dove-d3plug.dtb
| |-- dove-dove-db.dtb
| |-- dove-sbc-a510.dtb
| |-- dra62x-j5eco-evm.dtb
| |-- dra7-evm.dtb
| |-- dra71-evm.dtb
| |-- dra72-evm-revc.dtb
| |-- dra72-evm.dtb
| |-- dra76-evm.dtb
| |-- exynos4210-origen.dtb
| |-- exynos4210-smdkv310.dtb
| |-- exynos4210-trats.dtb
| |-- exynos4210-universal_c210.dtb
| |-- exynos4412-i9300.dtb
| |-- exynos4412-i9305.dtb
| |-- exynos4412-itop-elite.dtb
| |-- exynos4412-n710x.dtb
| |-- exynos4412-odroidu3.dtb
| |-- exynos4412-odroidx.dtb
| |-- exynos4412-odroidx2.dtb
| |-- exynos4412-origen.dtb
| |-- exynos4412-smdk4412.dtb
| |-- exynos4412-tiny4412.dtb
| |-- exynos4412-trats2.dtb
| |-- exynos5250-arndale.dtb
| |-- exynos5250-smdk5250.dtb
| |-- exynos5250-snow-rev5.dtb
| |-- exynos5250-snow.dtb
| |-- exynos5250-spring.dtb
| |-- exynos5260-xyref5260.dtb
| |-- exynos5410-odroidxu.dtb
| |-- exynos5410-smdk5410.dtb
| |-- exynos5420-arndale-octa.dtb
| |-- exynos5420-peach-pit.dtb
| |-- exynos5420-smdk5420.dtb
| |-- exynos5422-artik10-eval.dtb
| |-- exynos5422-odroidhc1.dtb
| |-- exynos5422-odroidxu3-lite.dtb
| |-- exynos5422-odroidxu3.dtb
| |-- exynos5422-odroidxu4.dtb
| |-- exynos5440-sd5v1.dtb
| |-- exynos5440-ssdk5440.dtb
| |-- exynos5800-peach-pi.dtb
| |-- imx50-evk.dtb
| |-- imx51-apf51.dtb
| |-- imx51-apf51dev.dtb
| |-- imx51-babbage.dtb
| |-- imx51-digi-connectcore-jsk.dtb
| |-- imx51-eukrea-mbimxsd51-baseboard.dtb
| |-- imx51-ts4800.dtb
| |-- imx51-zii-rdu1.dtb
| |-- imx53-ard.dtb
| |-- imx53-cx9020.dtb
| |-- imx53-m53evk.dtb
| |-- imx53-mba53.dtb
| |-- imx53-ppd.dtb
| |-- imx53-qsb.dtb
| |-- imx53-qsrb.dtb
| |-- imx53-smd.dtb
| |-- imx53-tx53-x03x.dtb
| |-- imx53-tx53-x13x.dtb
| |-- imx53-usbarmory.dtb
| |-- imx53-voipac-bsb.dtb
| |-- imx6dl-apf6dev.dtb
| |-- imx6dl-aristainetos2_4.dtb
| |-- imx6dl-aristainetos2_7.dtb
| |-- imx6dl-aristainetos_4.dtb
| |-- imx6dl-aristainetos_7.dtb
| |-- imx6dl-colibri-eval-v3.dtb
| |-- imx6dl-cubox-i-emmc-som-v15.dtb
| |-- imx6dl-cubox-i-som-v15.dtb
| |-- imx6dl-cubox-i.dtb
| |-- imx6dl-dfi-fs700-m60.dtb
| |-- imx6dl-gw51xx.dtb
| |-- imx6dl-gw52xx.dtb
| |-- imx6dl-gw53xx.dtb
| |-- imx6dl-gw54xx.dtb
| |-- imx6dl-gw551x.dtb
| |-- imx6dl-gw552x.dtb
| |-- imx6dl-gw553x.dtb
| |-- imx6dl-gw560x.dtb
| |-- imx6dl-gw5903.dtb
| |-- imx6dl-gw5904.dtb
| |-- imx6dl-hummingboard-emmc-som-v15.dtb
| |-- imx6dl-hummingboard-som-v15.dtb
| |-- imx6dl-hummingboard.dtb
| |-- imx6dl-hummingboard2-emmc-som-v15.dtb
| |-- imx6dl-hummingboard2-som-v15.dtb
| |-- imx6dl-hummingboard2.dtb
| |-- imx6dl-icore-rqs.dtb
| |-- imx6dl-icore.dtb
| |-- imx6dl-nit6xlite.dtb
| |-- imx6dl-nitrogen6x.dtb
| |-- imx6dl-phytec-mira-rdk-nand.dtb
| |-- imx6dl-phytec-pbab01.dtb
| |-- imx6dl-rex-basic.dtb
| |-- imx6dl-riotboard.dtb
| |-- imx6dl-sabreauto.dtb
| |-- imx6dl-sabrelite.dtb
| |-- imx6dl-sabresd.dtb
| |-- imx6dl-savageboard.dtb
| |-- imx6dl-ts4900.dtb
| |-- imx6dl-ts7970.dtb
| |-- imx6dl-tx6dl-comtft.dtb
| |-- imx6dl-tx6s-8034-mb7.dtb
| |-- imx6dl-tx6s-8034.dtb
| |-- imx6dl-tx6s-8035-mb7.dtb
| |-- imx6dl-tx6s-8035.dtb
| |-- imx6dl-tx6u-801x.dtb
| |-- imx6dl-tx6u-8033-mb7.dtb
| |-- imx6dl-tx6u-8033.dtb
| |-- imx6dl-tx6u-80xx-mb7.dtb
| |-- imx6dl-tx6u-811x.dtb
| |-- imx6dl-tx6u-81xx-mb7.dtb
| |-- imx6dl-udoo.dtb
| |-- imx6dl-wandboard-revb1.dtb
| |-- imx6dl-wandboard-revd1.dtb
| |-- imx6dl-wandboard.dtb
| |-- imx6q-apalis-eval.dtb
| |-- imx6q-apalis-ixora-v1.1.dtb
| |-- imx6q-apalis-ixora.dtb
| |-- imx6q-apf6dev.dtb
| |-- imx6q-arm2.dtb
| |-- imx6q-b450v3.dtb
| |-- imx6q-b650v3.dtb
| |-- imx6q-b850v3.dtb
| |-- imx6q-ccimx6sbc.dtb
| |-- imx6q-cm-fx6.dtb
| |-- imx6q-cubox-i-emmc-som-v15.dtb
| |-- imx6q-cubox-i-som-v15.dtb
| |-- imx6q-cubox-i.dtb
| |-- imx6q-dfi-fs700-m60.dtb
| |-- imx6q-display5-tianma-tm070-1280x768.dtb
| |-- imx6q-dmo-edmqmx6.dtb
| |-- imx6q-dms-ba16.dtb
| |-- imx6q-evi.dtb
| |-- imx6q-gk802.dtb
| |-- imx6q-gw51xx.dtb
| |-- imx6q-gw52xx.dtb
| |-- imx6q-gw53xx.dtb
| |-- imx6q-gw5400-a.dtb
| |-- imx6q-gw54xx.dtb
| |-- imx6q-gw551x.dtb
| |-- imx6q-gw552x.dtb
| |-- imx6q-gw553x.dtb
| |-- imx6q-gw560x.dtb
| |-- imx6q-gw5903.dtb
| |-- imx6q-gw5904.dtb
| |-- imx6q-h100.dtb
| |-- imx6q-hummingboard-emmc-som-v15.dtb
| |-- imx6q-hummingboard-som-v15.dtb
| |-- imx6q-hummingboard.dtb
| |-- imx6q-hummingboard2-emmc-som-v15.dtb
| |-- imx6q-hummingboard2-som-v15.dtb
| |-- imx6q-hummingboard2.dtb
| |-- imx6q-icore-ofcap10.dtb
| |-- imx6q-icore-ofcap12.dtb
| |-- imx6q-icore-rqs.dtb
| |-- imx6q-icore.dtb
| |-- imx6q-marsboard.dtb
| |-- imx6q-mccmon6.dtb
| |-- imx6q-nitrogen6_max.dtb
| |-- imx6q-nitrogen6_som2.dtb
| |-- imx6q-nitrogen6x.dtb
| |-- imx6q-novena.dtb
| |-- imx6q-phytec-mira-rdk-emmc.dtb
| |-- imx6q-phytec-mira-rdk-nand.dtb
| |-- imx6q-phytec-pbab01.dtb
| |-- imx6q-pistachio.dtb
| |-- imx6q-rex-pro.dtb
| |-- imx6q-sabreauto.dtb
| |-- imx6q-sabrelite.dtb
| |-- imx6q-sabresd.dtb
| |-- imx6q-savageboard.dtb
| |-- imx6q-sbc6x.dtb
| |-- imx6q-tbs2910.dtb
| |-- imx6q-ts4900.dtb
| |-- imx6q-ts7970.dtb
| |-- imx6q-tx6q-1010-comtft.dtb
| |-- imx6q-tx6q-1010.dtb
| |-- imx6q-tx6q-1020-comtft.dtb
| |-- imx6q-tx6q-1020.dtb
| |-- imx6q-tx6q-1036-mb7.dtb
| |-- imx6q-tx6q-1036.dtb
| |-- imx6q-tx6q-10x0-mb7.dtb
| |-- imx6q-tx6q-1110.dtb
| |-- imx6q-tx6q-11x0-mb7.dtb
| |-- imx6q-udoo.dtb
| |-- imx6q-utilite-pro.dtb
| |-- imx6q-var-dt6customboard.dtb
| |-- imx6q-wandboard-revb1.dtb
| |-- imx6q-wandboard-revd1.dtb
| |-- imx6q-wandboard.dtb
| |-- imx6q-zii-rdu2.dtb
| |-- imx6qp-nitrogen6_max.dtb
| |-- imx6qp-nitrogen6_som2.dtb
| |-- imx6qp-phytec-mira-rdk-nand.dtb
| |-- imx6qp-sabreauto.dtb
| |-- imx6qp-sabresd.dtb
| |-- imx6qp-tx6qp-8037-mb7.dtb
| |-- imx6qp-tx6qp-8037.dtb
| |-- imx6qp-tx6qp-8137-mb7.dtb
| |-- imx6qp-tx6qp-8137.dtb
| |-- imx6qp-wandboard-revd1.dtb
| |-- imx6qp-zii-rdu2.dtb
| |-- imx6sl-evk.dtb
| |-- imx6sl-warp.dtb
| |-- imx6sx-nitrogen6sx.dtb
| |-- imx6sx-sabreauto.dtb
| |-- imx6sx-sdb-reva.dtb
| |-- imx6sx-sdb-sai.dtb
| |-- imx6sx-sdb.dtb
| |-- imx6sx-softing-vining-2000.dtb
| |-- imx6sx-udoo-neo-basic.dtb
| |-- imx6sx-udoo-neo-extended.dtb
| |-- imx6sx-udoo-neo-full.dtb
| |-- imx6ul-14x14-evk-ism43362-b81-evb.dtb
| |-- imx6ul-14x14-evk.dtb
| |-- imx6ul-geam.dtb
| |-- imx6ul-isiot-emmc.dtb
| |-- imx6ul-isiot-nand.dtb
| |-- imx6ul-liteboard.dtb
| |-- imx6ul-opos6uldev.dtb
| |-- imx6ul-pico-hobbit.dtb
| |-- imx6ul-tx6ul-0010.dtb
| |-- imx6ul-tx6ul-0011.dtb
| |-- imx6ul-tx6ul-mainboard.dtb
| |-- imx6ull-14x14-evk.dtb
| |-- imx6ull-colibri-eval-v3.dtb
| |-- imx6ull-colibri-wifi-eval-v3.dtb
| |-- imx7d-cl-som-imx7.dtb
| |-- imx7d-colibri-emmc-eval-v3.dtb
| |-- imx7d-colibri-eval-v3.dtb
| |-- imx7d-nitrogen7.dtb
| |-- imx7d-pico-pi.dtb
| |-- imx7d-sbc-imx7.dtb
| |-- imx7d-sdb-sht11.dtb
| |-- imx7d-sdb.dtb
| |-- imx7s-colibri-eval-v3.dtb
| |-- imx7s-warp.dtb
| |-- keystone-k2e-evm.dtb
| |-- keystone-k2g-evm.dtb
| |-- keystone-k2g-ice.dtb
| |-- keystone-k2hk-evm.dtb
| |-- keystone-k2l-evm.dtb
| |-- logicpd-som-lv-37xx-devkit.dtb
| |-- logicpd-torpedo-37xx-devkit.dtb
| |-- ls1021a-moxa-uc-8410a.dtb
| |-- ls1021a-qds.dtb
| |-- ls1021a-twr.dtb
| |-- meson6-atv1200.dtb
| |-- meson8-minix-neo-x8.dtb
| |-- meson8b-mxq.dtb
| |-- meson8b-odroidc1.dtb
| |-- omap3-beagle-xm-ab.dtb
| |-- omap3-beagle-xm.dtb
| |-- omap3-beagle.dtb
| |-- omap3-cm-t3517.dtb
| |-- omap3-cm-t3530.dtb
| |-- omap3-cm-t3730.dtb
| |-- omap3-devkit8000-lcd43.dtb
| |-- omap3-devkit8000-lcd70.dtb
| |-- omap3-devkit8000.dtb
| |-- omap3-evm-37xx.dtb
| |-- omap3-evm.dtb
| |-- omap3-gta04a3.dtb
| |-- omap3-gta04a4.dtb
| |-- omap3-gta04a5.dtb
| |-- omap3-ha-lcd.dtb
| |-- omap3-ha.dtb
| |-- omap3-igep0020-rev-f.dtb
| |-- omap3-igep0020.dtb
| |-- omap3-igep0030-rev-g.dtb
| |-- omap3-igep0030.dtb
| |-- omap3-ldp.dtb
| |-- omap3-lilly-dbb056.dtb
| |-- omap3-n9.dtb
| |-- omap3-n900.dtb
| |-- omap3-n950.dtb
| |-- omap3-overo-alto35.dtb
| |-- omap3-overo-chestnut43.dtb
| |-- omap3-overo-gallop43.dtb
| |-- omap3-overo-palo35.dtb
| |-- omap3-overo-palo43.dtb
| |-- omap3-overo-storm-alto35.dtb
| |-- omap3-overo-storm-chestnut43.dtb
| |-- omap3-overo-storm-gallop43.dtb
| |-- omap3-overo-storm-palo35.dtb
| |-- omap3-overo-storm-palo43.dtb
| |-- omap3-overo-storm-summit.dtb
| |-- omap3-overo-storm-tobi.dtb
| |-- omap3-overo-storm-tobiduo.dtb
| |-- omap3-overo-summit.dtb
| |-- omap3-overo-tobi.dtb
| |-- omap3-overo-tobiduo.dtb
| |-- omap3-pandora-1ghz.dtb
| |-- omap3-pandora-600mhz.dtb
| |-- omap3-sbc-t3517.dtb
| |-- omap3-sbc-t3530.dtb
| |-- omap3-sbc-t3730.dtb
| |-- omap3-sniper.dtb
| |-- omap3-thunder.dtb
| |-- omap3-zoom3.dtb
| |-- omap3430-sdp.dtb
| |-- omap4-droid4-xt894.dtb
| |-- omap4-duovero-parlor.dtb
| |-- omap4-kc1.dtb
| |-- omap4-panda-a4.dtb
| |-- omap4-panda-es-b3.dtb
| |-- omap4-panda-es.dtb
| |-- omap4-panda.dtb
| |-- omap4-sdp-es23plus.dtb
| |-- omap4-sdp.dtb
| |-- omap4-var-dvk-om44.dtb
| |-- omap4-var-stk-om44.dtb
| |-- omap5-cm-t54.dtb
| |-- omap5-igep0050.dtb
| |-- omap5-sbc-t54.dtb
| |-- omap5-uevm.dtb
| |-- rk3036-evb.dtb
| |-- rk3036-kylin.dtb
| |-- rk3066a-bqcurie2.dtb
| |-- rk3066a-marsboard.dtb
| |-- rk3066a-mk808.dtb
| |-- rk3066a-rayeager.dtb
| |-- rk3188-px3-evb.dtb
| |-- rk3188-radxarock.dtb
| |-- rk3228-evb.dtb
| |-- rk3229-evb.dtb
| |-- rk3288-evb-act8846.dtb
| |-- rk3288-evb-rk808.dtb
| |-- rk3288-fennec.dtb
| |-- rk3288-firefly-beta.dtb
| |-- rk3288-firefly-reload.dtb
| |-- rk3288-firefly.dtb
| |-- rk3288-miqi.dtb
| |-- rk3288-phycore-rdk.dtb
| |-- rk3288-popmetal.dtb
| |-- rk3288-r89.dtb
| |-- rk3288-rock2-square.dtb
| |-- rk3288-tinker.dtb
| |-- rk3288-veyron-brain.dtb
| |-- rk3288-veyron-jaq.dtb
| |-- rk3288-veyron-jerry.dtb
| |-- rk3288-veyron-mickey.dtb
| |-- rk3288-veyron-minnie.dtb
| |-- rk3288-veyron-pinky.dtb
| |-- rk3288-veyron-speedy.dtb
| |-- rk3288-vyasa.dtb
| |-- rv1108-evb.dtb
| |-- socfpga_arria10_socdk_nand.dtb
| |-- socfpga_arria10_socdk_qspi.dtb
| |-- socfpga_arria10_socdk_sdmmc.dtb
| |-- socfpga_arria5_socdk.dtb
| |-- socfpga_cyclone5_de0_sockit.dtb
| |-- socfpga_cyclone5_mcvevk.dtb
| |-- socfpga_cyclone5_socdk.dtb
| |-- socfpga_cyclone5_sockit.dtb
| |-- socfpga_cyclone5_socrates.dtb
| |-- socfpga_cyclone5_sodia.dtb
| |-- socfpga_cyclone5_vining_fpga.dtb
| |-- socfpga_vt.dtb
| |-- sun4i-a10-a1000.dtb
| |-- sun4i-a10-ba10-tvbox.dtb
| |-- sun4i-a10-chuwi-v7-cw0825.dtb
| |-- sun4i-a10-cubieboard.dtb
| |-- sun4i-a10-dserve-dsrv9703c.dtb
| |-- sun4i-a10-gemei-g9.dtb
| |-- sun4i-a10-hackberry.dtb
| |-- sun4i-a10-hyundai-a7hd.dtb
| |-- sun4i-a10-inet1.dtb
| |-- sun4i-a10-inet97fv2.dtb
| |-- sun4i-a10-inet9f-rev03.dtb
| |-- sun4i-a10-itead-iteaduino-plus.dtb
| |-- sun4i-a10-jesurun-q5.dtb
| |-- sun4i-a10-marsboard.dtb
| |-- sun4i-a10-mini-xplus.dtb
| |-- sun4i-a10-mk802.dtb
| |-- sun4i-a10-mk802ii.dtb
| |-- sun4i-a10-olinuxino-lime.dtb
| |-- sun4i-a10-pcduino.dtb
| |-- sun4i-a10-pcduino2.dtb
| |-- sun4i-a10-pov-protab2-ips9.dtb
| |-- sun5i-a10s-auxtek-t003.dtb
| |-- sun5i-a10s-auxtek-t004.dtb
| |-- sun5i-a10s-mk802.dtb
| |-- sun5i-a10s-olinuxino-micro.dtb
| |-- sun5i-a10s-r7-tv-dongle.dtb
| |-- sun5i-a10s-wobo-i5.dtb
| |-- sun5i-a13-difrnce-dit4350.dtb
| |-- sun5i-a13-empire-electronix-d709.dtb
| |-- sun5i-a13-empire-electronix-m712.dtb
| |-- sun5i-a13-hsg-h702.dtb
| |-- sun5i-a13-inet-98v-rev2.dtb
| |-- sun5i-a13-licheepi-one.dtb
| |-- sun5i-a13-olinuxino-micro.dtb
| |-- sun5i-a13-olinuxino.dtb
| |-- sun5i-a13-q8-tablet.dtb
| |-- sun5i-a13-utoo-p66.dtb
| |-- sun5i-gr8-chip-pro.dtb
| |-- sun5i-gr8-evb.dtb
| |-- sun5i-r8-chip.dtb
| |-- sun6i-a31-app4-evb1.dtb
| |-- sun6i-a31-colombus.dtb
| |-- sun6i-a31-hummingbird.dtb
| |-- sun6i-a31-i7.dtb
| |-- sun6i-a31-m9.dtb
| |-- sun6i-a31-mele-a1000g-quad.dtb
| |-- sun6i-a31s-colorfly-e708-q1.dtb
| |-- sun6i-a31s-cs908.dtb
| |-- sun6i-a31s-inet-q972.dtb
| |-- sun6i-a31s-primo81.dtb
| |-- sun6i-a31s-sina31s.dtb
| |-- sun6i-a31s-sinovoip-bpi-m2.dtb
| |-- sun6i-a31s-yones-toptech-bs1078-v2.dtb
| |-- sun7i-a20-bananapi-m1-plus.dtb
| |-- sun7i-a20-bananapi.dtb
| |-- sun7i-a20-bananapro.dtb
| |-- sun7i-a20-cubieboard2.dtb
| |-- sun7i-a20-cubietruck.dtb
| |-- sun7i-a20-hummingbird.dtb
| |-- sun7i-a20-i12-tvbox.dtb
| |-- sun7i-a20-icnova-swac.dtb
| |-- sun7i-a20-itead-ibox.dtb
| |-- sun7i-a20-lamobo-r1.dtb
| |-- sun7i-a20-m3.dtb
| |-- sun7i-a20-mk808c.dtb
| |-- sun7i-a20-olimex-som-evb.dtb
| |-- sun7i-a20-olimex-som204-evb-emmc.dtb
| |-- sun7i-a20-olimex-som204-evb.dtb
| |-- sun7i-a20-olinuxino-lime.dtb
| |-- sun7i-a20-olinuxino-lime2-emmc.dtb
| |-- sun7i-a20-olinuxino-lime2.dtb
| |-- sun7i-a20-olinuxino-micro-emmc.dtb
| |-- sun7i-a20-olinuxino-micro.dtb
| |-- sun7i-a20-orangepi-mini.dtb
| |-- sun7i-a20-orangepi.dtb
| |-- sun7i-a20-pcduino3-nano.dtb
| |-- sun7i-a20-pcduino3.dtb
| |-- sun7i-a20-wexler-tab7200.dtb
| |-- sun7i-a20-wits-pro-a20-dkt.dtb
| |-- sun8i-a23-evb.dtb
| |-- sun8i-a23-gt90h-v4.dtb
| |-- sun8i-a23-inet86dz.dtb
| |-- sun8i-a23-ippo-q8h-v1.2.dtb
| |-- sun8i-a23-ippo-q8h-v5.dtb
| |-- sun8i-a23-polaroid-mid2407pxe03.dtb
| |-- sun8i-a23-polaroid-mid2809pxe04.dtb
| |-- sun8i-a23-q8-tablet.dtb
| |-- sun8i-a33-et-q8-v1.6.dtb
| |-- sun8i-a33-ga10h-v1.1.dtb
| |-- sun8i-a33-inet-d978-rev2.dtb
| |-- sun8i-a33-ippo-q8h-v1.2.dtb
| |-- sun8i-a33-olinuxino.dtb
| |-- sun8i-a33-q8-tablet.dtb
| |-- sun8i-a33-sinlinx-sina33.dtb
| |-- sun8i-a83t-allwinner-h8homlet-v2.dtb
| |-- sun8i-a83t-bananapi-m3.dtb
| |-- sun8i-a83t-cubietruck-plus.dtb
| |-- sun8i-a83t-tbs-a711.dtb
| |-- sun8i-h2-plus-bananapi-m2-zero.dtb
| |-- sun8i-h2-plus-orangepi-r1.dtb
| |-- sun8i-h2-plus-orangepi-zero.dtb
| |-- sun8i-h3-bananapi-m2-plus.dtb
| |-- sun8i-h3-beelink-x2.dtb
| |-- sun8i-h3-libretech-all-h3-cc.dtb
| |-- sun8i-h3-nanopi-m1-plus.dtb
| |-- sun8i-h3-nanopi-m1.dtb
| |-- sun8i-h3-nanopi-neo-air.dtb
| |-- sun8i-h3-nanopi-neo.dtb
| |-- sun8i-h3-orangepi-2.dtb
| |-- sun8i-h3-orangepi-lite.dtb
| |-- sun8i-h3-orangepi-one.dtb
| |-- sun8i-h3-orangepi-pc-plus.dtb
| |-- sun8i-h3-orangepi-pc.dtb
| |-- sun8i-h3-orangepi-plus.dtb
| |-- sun8i-h3-orangepi-plus2e.dtb
| |-- sun8i-r16-bananapi-m2m.dtb
| |-- sun8i-r16-parrot.dtb
| |-- sun8i-r40-bananapi-m2-ultra.dtb
| |-- sun8i-v3s-licheepi-zero-dock.dtb
| |-- sun8i-v3s-licheepi-zero.dtb
| |-- sun8i-v40-bananapi-m2-berry.dtb
| |-- sun9i-a80-cubieboard4.dtb
| |-- sun9i-a80-optimus.dtb
| |-- tegra114-dalmore.dtb
| |-- tegra114-roth.dtb
| |-- tegra114-tn7.dtb
| |-- tegra124-apalis-eval.dtb
| |-- tegra124-apalis-v1.2-eval.dtb
| |-- tegra124-jetson-tk1.dtb
| |-- tegra124-nyan-big.dtb
| |-- tegra124-nyan-blaze.dtb
| |-- tegra124-venice2.dtb
| |-- tegra20-harmony.dtb
| |-- tegra20-iris-512.dtb
| |-- tegra20-medcom-wide.dtb
| |-- tegra20-paz00.dtb
| |-- tegra20-plutux.dtb
| |-- tegra20-seaboard.dtb
| |-- tegra20-tec.dtb
| |-- tegra20-trimslice.dtb
| |-- tegra20-ventana.dtb
| |-- tegra30-apalis-eval.dtb
| |-- tegra30-beaver.dtb
| |-- tegra30-cardhu-a02.dtb
| |-- tegra30-cardhu-a04.dtb
| |-- tegra30-colibri-eval-v3.dtb
| |-- vexpress-v2p-ca15-tc1.dtb
| |-- vexpress-v2p-ca15_a7.dtb
| |-- vexpress-v2p-ca5s.dtb
| |-- vexpress-v2p-ca9.dtb
| |-- vf500-colibri-eval-v3.dtb
| |-- vf610-colibri-eval-v3.dtb
| |-- vf610-cosmic.dtb
| |-- vf610-twr.dtb
| |-- vf610-zii-dev-rev-b.dtb
| |-- vf610-zii-dev-rev-c.dtb
| |-- vf610m4-colibri.dtb
| |-- vf610m4-cosmic.dtb
| |-- zynq-cc108.dtb
| |-- zynq-microzed.dtb
| |-- zynq-parallella.dtb
| |-- zynq-zc702.dtb
| |-- zynq-zc706.dtb
| |-- zynq-zc770-xm010.dtb
| |-- zynq-zc770-xm011.dtb
| |-- zynq-zc770-xm012.dtb
| |-- zynq-zc770-xm013.dtb
| |-- zynq-zed.dtb
| |-- zynq-zybo-z7.dtb
| `-- zynq-zybo.dtb
|-- extlinux
| `-- extlinux.conf
|-- hw_intf.conf
|-- initramfs-linux.img
|-- overlays
| |-- ads7846-tinker.dtbo
| |-- ds1307.dtbo
| |-- googlevoicehat-soundcard.dtbo
| |-- hifiberry-amp.dtbo
| |-- hifiberry-dac.dtbo
| |-- hifiberry-dacplus.dtbo
| |-- hifiberry-digi-pro.dtbo
| |-- hifiberry-digi.dtbo
| |-- iqaudio-dac.dtbo
| |-- iqaudio-dacplus.dtbo
| |-- iqaudio-digi-wm8804-audio.dtbo
| |-- justboom-dac.dtbo
| |-- justboom-digi.dtbo
| |-- lirc-rpi.dtbo
| |-- lirc-toshiba.dtbo
| |-- mcp2515-can0.dtbo
| |-- pitft35-resistive-tinker.dtbo
| |-- pps-gpio.dtbo
| |-- w1-gpio.dtbo
| |-- waveshare32b-tinker.dtbo
| `-- waveshare35a-tinker.dtbo
|-- rk3288-miniarm.dtb
|-- zImage
`-- zImage.bak
')
The zImage.bak is the Arch kernel, just switched in order to get the installation working.
So I wonder why so many files *.dtb?, there could be an automatism to select just the necessary ones.
$this->bbcode_second_pass_quote('summers', 'I') suspect uboot will use the rk3288-miniarm.dtb unless something is changed

I will try this:
$this->bbcode_second_pass_code('', 'label kernel-4.4
kernel /zImage
fdt /dtbs/rk3288-tinker.dtb # even move it to the root is possible
append earlyprintk quiet root=UUID=58bc1052-02 console=tty1 rw initrd=initramfs-linux.img
')
I presume that extlinux is embedded into the first Megabyte on the SD card, but without any file system. That's why there's a big gap before the first partition FS.
I'm looking for a proper device to connect to the serial GPIO, but ti may take a couple of week to find one. I've already one, but the voltage is not suitable to connect the GPIO.
I'd like to see what kind of boot loader configuration you are using. Please can you post it ?
TheSaint
 
Posts: 346
Joined: Mon Jul 23, 2018 7:57 am

Re: Asus TB S

Postby summers » Thu Aug 02, 2018 9:09 pm

the arch armv7 kernel is basically the main arch linux for all boards the have device tree, so it basically just compiles all arm v7 device trees, of which there are a lot. In most sets ups you have to set in uboot which dtb to use, some systems like beagle boards which have some settings the erom - uboot reads these and sets the dtb automatically. With many other systems you have to do it by hand, usually uboot reads a file in /boot (like boot.src) and that can set up which device tree to use. Others save set evn variable in uboot that sets it.

exlinux.conf used to be part of syslinux, that used to be used to boot x86 machine, although lilo and grub were more usually used. I didn't think it worked on arch machines.

This is why getting a working uart would help, we could see what happens when it boots ...

I suspect that all dtb set up for asus TB will work, most are very similar. For us more a question is how to get a kernel that loads the wifi drivers loaded. Its all a bit strange ...

Oh yes - if push comes to shove, you can cat the dtb to the end of the zImage - thats an option (which is set) in the kernel - and means your kernel will have a device tree even if uboot doesn't pass one. Now I suspect if uboot passes a dtb as well, that will take priority. But anyway maybe something to try. Note that the dtb has a chosen node that sends the output to one of the ttys by default - I'm not sure how you send it to vga, or rather thats usually the default ...
summers
 
Posts: 984
Joined: Sat Sep 06, 2014 12:56 pm

Re: Asus TB S

Postby TheSaint » Fri Aug 03, 2018 11:31 am

I've tried with extlinux.conf changed, but it refuse to show up.
I presume that u-boot is looking to the first sector on the booting media, which should contain the boot loader start point, but I put a doubt that it might check the kernel signature.
Perhaps there might be an issue for the HDMI so the screen remain black.

I'm think to buy the USB-RS232 device, but I didn't find clear directions. I saw those that using PL2303HX that might be suitable, or some using CP2102, or even better isolated one. But I have a doubt that there could be some leakage going through the pins. The latter could be the best, but I don't understand whether I can take the power from the device to be connected, or there's a chance to chose one of the two available on board, which might lead some risk.
TheSaint
 
Posts: 346
Joined: Mon Jul 23, 2018 7:57 am

Re: Asus TB S

Postby summers » Fri Aug 03, 2018 3:37 pm

I'd probably look for one bases of the FT232R chip http://www.ftdichip.com/Products/ICs/FT232R.htm with 3.3V/TTL signals. Its usually the best respected one. I don't know if the devices on ebay have genuine FTDI chips on, or if there are fakes on - I bought mine from farnel - when prices cheaper.

The PL2303 devices usually work, but aren't as respected as FTDI.

The CH340 are I think chinese chips - these came along since I last bough a serial connection - so I have no idea if they are any good.

CP2102 is a silicon labs chip - I've never used it (or seen it), but silicon labs are usually reviewed well.
summers
 
Posts: 984
Joined: Sat Sep 06, 2014 12:56 pm

Re: Asus TB S

Postby TheSaint » Fri Aug 03, 2018 5:02 pm

Good news : I updated the machine wirelessly.
Bad news: The kernel still Linaro one :(
To get the WiFi working I copied all modules related to the only kernel able to boot, So there are 2 kernel version in /usr/lib/modules and modprobe can activate the 8723BS module. After that calling netctl I can connect wireless :P

Searching for a boot loader from the package list, result to none. Why there no boot loader for ARMv7 ?
So is u-boot responsible for that business ?
I should try to recompile u-boot, to finalize the issue.
TheSaint
 
Posts: 346
Joined: Mon Jul 23, 2018 7:57 am

Re: Asus TB S

Postby summers » Fri Aug 03, 2018 7:55 pm

Problem with boot loaders is a bit like bios on computers, they are the first thing (usually) that the machine boots into - so you need to know how the machine boots, usually exactly. E.g. for your board the 40th block on the sd/eMMC seems important, but what needs to be there we don't know. So even if you do compile uboot, how do you know where to write it. So if you do, do it on the sd card in case it goes wrong.

Good you got wireless working, did you compile the modules for the same kernel you are using? If not you may need to force them to load, linux usually has version turned on for modules, as loading a module into a kernel other than it was designed for may have odd effects. Anyway, means at least we know 8723BS is what you need to merge into the kernel to bring up the wireless. Btw this module may well change, if you read up about it in git, you can see plan is to merge it with other similar modules, so thats why its in staging. This said, its been in staging for a few years.

You asked about settings I had for uboot, probably won't help you as they are specific to my machines:

PocketBeagle: /boot/boot.src is compiled from /boot/boot.txt $this->bbcode_second_pass_code('', '# After modifying, run ./mkscr

if test -n ${distro_bootpart}; then setenv bootpart ${distro_bootpart}; else setenv bootpart 1; fi
part uuid ${devtype} ${devnum}:${bootpart} uuid

setenv bootargs "console=tty0 console=${console} root=PARTUUID=${uuid} rw rootwait"

if load ${devtype} ${devnum}:${bootpart} ${kernel_addr_r} /boot/zImage; then
gpio set 54
echo fdt: ${fdtfile}
if load ${devtype} ${devnum}:${bootpart} ${fdt_addr_r} /boot/dtbs/${fdtfile}; then
gpio set 55
if load ${devtype} ${devnum}:${bootpart} ${ramdisk_addr_r} /boot/initramfs-linux.img; then
gpio set 56
bootz ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r};
else
gpio set 56
bootz ${kernel_addr_r} - ${fdt_addr_r};
fi;
fi;
fi
')

BeagleBoneBlack: Same as pocket Beagle, but I'd added settings:$this->bbcode_second_pass_code('', '# After modifying, run ./mkscr

if test -n ${distro_bootpart}; then setenv bootpart ${distro_bootpart}; else setenv bootpart 1; fi
part uuid ${devtype} ${devnum}:${bootpart} uuid

setenv bootargs "console=ttyS0 console=${console} root=PARTUUID=${uuid} rw rootwait"

if load ${devtype} ${devnum}:${bootpart} ${kernel_addr_r} /boot/zImage; then
gpio set 54
echo fdt: ${fdtfile}
if load ${devtype} ${devnum}:${bootpart} ${fdt_addr_r} /boot/dtbs/${fdtfile}; then
gpio set 55
fdt addr ${fdt_addr_r}
# take out the framer
fdt rm /ocp/i2c@44e0b000/tda19988
# disable the lcdc and remove its pins
fdt set /ocp/lcdc@4830e000 status "disabled"
fdt rm /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/nxp_hdmi_bonelt_pins
fdt rm /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/nxp_hdmi_bonelt_off_pins
# disable the sound and remove pins
fdt set /ocp/mcasp@48038000 status "disabled"
fdt rm /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/mcasp0_pins
load ${devtype} ${devnum}:${bootpart} 0x88060000 /lib/firmware/BB-SPIDEV0-00A0.dtbo
fdt resize ${filesize}
fdt apply 0x88060000
load ${devtype} ${devnum}:${bootpart} 0x88060000 /lib/firmware/BB-SPIDEV1-00A0.dtbo
fdt resize ${filesize}
fdt apply 0x88060000
if load ${devtype} ${devnum}:${bootpart} ${ramdisk_addr_r} /boot/initramfs-linux.img; then
gpio set 56
bootz ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r};
else
gpio set 56
bootz ${kernel_addr_r} - ${fdt_addr_r};
fi;
fi;
fi
')

NSA325: /boot:uEnv.txt $this->bbcode_second_pass_code('', 'mtdparts=mtdparts=orion_nand:0xC0000(uboot),0x40000(uboot_env),0x80000(old_uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2)
loadfdt=echo loading ${fdtdir}/${fdtfile} ...; load ${devtype} ${bootpart} ${fdtaddr} ${fdtdir}/${fdtfile}; fdt addr ${fdtaddr}; fdt set /mbus@f1000000/nand@12f chip-delay <45>
')

Thats also hacked a bit, as testing changing the device tree.

Odroid-c2: ALso a /boot/boot.src and /boot/boot.txt set up: $this->bbcode_second_pass_code('', '# After modifying, run ./mkscr

test -n "${distro_bootpart}" || setenv distro_bootpart 1
part uuid ${devtype} ${devnum}:${distro_bootpart} uuid
setenv bootargs "console=ttyAML0,115200n8 root=PARTUUID=${uuid} rw rootwait earlycon"

if load ${devtype} ${devnum}:${distro_bootpart} ${kernel_addr_r} /boot/Image; then
if load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} /boot/dtbs/${fdtfile}; then
fdt addr ${fdt_addr_r}
fdt set /soc/apb@d0000000/mmc@74000 max-frequency <0x08f0d180>
if load ${devtype} ${devnum}:${distro_bootpart} ${ramdisk_addr_r} /boot/initramfs-linux.img; then
booti ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r};
else
booti ${kernel_addr_r} - ${fdt_addr_r};
fi;
fi;
fi
')

Device tree hacked again, to set the eMMC speed to something that works.

uboot btw, is usually compiled for quite specific targets, so in arch there are many uboots for different targets. C'est la vie.
summers
 
Posts: 984
Joined: Sat Sep 06, 2014 12:56 pm

Re: Asus TB S

Postby TheSaint » Sat Aug 04, 2018 4:08 am

Well, summarizing, I'm pretty satisfy to got hands on a Arch,once again :P . So about the kernel I will bear for a while using the Linaro one.
My first target is to get the wireless chip acting as access point and able to connect to internet. Actually it's not ready, I have to recompile the fixed module. So it will my test bench on compiling things up.
Later I'll get the figure how this MCU gets the jobs working.

I've experiences about Arduino and midrange PIC, so I'm aware what is the first step that the micro-controller should pick up, like the internal registers setting and all the surrounding hardware. Similar what a BIOS does. Details for the RockChip is in the link I showed here.
So it is supposed that the internal flash won't need to be written, the only cause to the malfunctioning might be around u-boot and the way it choose to load the kernel.
ATM, the extlinux is a strange piece of boot interface. All of my attempts to use its configuration as normal boot loader doesn't lead to good results. It might need to configure the hardware for the HDMI and load the initramfs. But it could be a different mode to boot the Arch kernel.

EDIT
In search of (in)credible, I stumble on this page, which has a lot to tell how the u-boot is prepared for a certain layout.
So in the ALarm repositories there's no an u-boot prepared to make TB to start. There might be some refining for that configuration and try whether it's able to get Arch kernel working. But please, don't rely on me, I know just a little.

One more step I got the u-boot compiled, but I think there're different things to configure, which I'm not aware of.
I can see the default configuration$this->bbcode_second_pass_code('', '$ cat u-boot.cfg.config
CONFIG_ADC
CONFIG_ARCH_FIXUP_FDT_MEMORY
CONFIG_ARCH_ROCKCHIP
CONFIG_ARM
CONFIG_ARM_ASM_UNIFIED
CONFIG_AUTOBOOT
CONFIG_AUTO_COMPLETE
CONFIG_BAUDRATE
CONFIG_BLK
CONFIG_BLOCK_CACHE
CONFIG_BOARDDIR
CONFIG_BOARD_LATE_INIT
CONFIG_BOARD_SPECIFIC_OPTIONS
CONFIG_BOOTCOMMAND
CONFIG_BOOTDELAY
CONFIG_BOOTM_LINUX
CONFIG_BOOTM_NETBSD
CONFIG_BOOTM_PLAN9
CONFIG_BOOTM_RTEMS
CONFIG_BOOTM_VXWORKS
CONFIG_BOOTP_BOOTPATH
CONFIG_BOOTP_DNS
CONFIG_BOOTP_GATEWAY
CONFIG_BOOTP_HOSTNAME
CONFIG_BOOTP_PXE
CONFIG_BOOTP_PXE_CLIENTARCH
CONFIG_BOOTP_SUBNETMASK
CONFIG_BOOTP_VCI_STRING
CONFIG_BOOTSTAGE_RECORD_COUNT
CONFIG_BOOTSTAGE_STASH_ADDR
CONFIG_BOOTSTAGE_STASH_SIZE
CONFIG_BOUNCE_BUFFER
CONFIG_CC_OPTIMIZE_FOR_SIZE
CONFIG_CLK
CONFIG_CMDLINE
CONFIG_CMDLINE_EDITING
CONFIG_CMD_BDI
CONFIG_CMD_BLOCK_CACHE
CONFIG_CMD_BOOTD
CONFIG_CMD_BOOTEFI
CONFIG_CMD_BOOTEFI_HELLO_COMPILE
CONFIG_CMD_BOOTM
CONFIG_CMD_BOOTP
CONFIG_CMD_BOOTZ
CONFIG_CMD_CACHE
CONFIG_CMD_CONSOLE
CONFIG_CMD_CRC32
CONFIG_CMD_DHCP
CONFIG_CMD_DHRYSTONE
CONFIG_CMD_DM
CONFIG_CMD_ECHO
CONFIG_CMD_EDITENV
CONFIG_CMD_ELF
CONFIG_CMD_ENV_EXISTS
CONFIG_CMD_EXPORTENV
CONFIG_CMD_EXT2
CONFIG_CMD_EXT4
CONFIG_CMD_FASTBOOT
CONFIG_CMD_FAT
CONFIG_CMD_FDT
CONFIG_CMD_FLASH
CONFIG_CMD_FS_GENERIC
CONFIG_CMD_GO
CONFIG_CMD_GPIO
CONFIG_CMD_GPT
CONFIG_CMD_I2C
CONFIG_CMD_IMI
CONFIG_CMD_IMPORTENV
CONFIG_CMD_ITEST
CONFIG_CMD_LOADB
CONFIG_CMD_LOADS
CONFIG_CMD_MEMORY
CONFIG_CMD_MII
CONFIG_CMD_MISC
CONFIG_CMD_MMC
CONFIG_CMD_NET
CONFIG_CMD_NFS
CONFIG_CMD_PART
CONFIG_CMD_PING
CONFIG_CMD_PMIC
CONFIG_CMD_PXE
CONFIG_CMD_REGULATOR
CONFIG_CMD_ROCKUSB
CONFIG_CMD_RUN
CONFIG_CMD_SAVEENV
CONFIG_CMD_SF
CONFIG_CMD_SOURCE
CONFIG_CMD_SPI
CONFIG_CMD_TFTPBOOT
CONFIG_CMD_TIME
CONFIG_CMD_USB
CONFIG_CMD_USB_MASS_STORAGE
CONFIG_CMD_XIMG
CONFIG_CONSOLE_MUX
CONFIG_CPU_V7A
CONFIG_CREATE_ARCH_SYMLINK
CONFIG_DEBUG_UART
CONFIG_DEBUG_UART_BASE
CONFIG_DEBUG_UART_CLOCK
CONFIG_DEBUG_UART_NS16550
CONFIG_DEBUG_UART_SHIFT
CONFIG_DEFAULT_DEVICE_TREE
CONFIG_DEFAULT_FDT_FILE
CONFIG_DISPLAY_BOARDINFO
CONFIG_DISPLAY_BOARDINFO_LATE
CONFIG_DISTRO_DEFAULTS
CONFIG_DM
CONFIG_DM_DEVICE_REMOVE
CONFIG_DM_DEV_READ_INLINE
CONFIG_DM_ETH
CONFIG_DM_GPIO
CONFIG_DM_I2C
CONFIG_DM_MMC
CONFIG_DM_PMIC
CONFIG_DM_PWM
CONFIG_DM_REGULATOR
CONFIG_DM_REGULATOR_FIXED
CONFIG_DM_SEQ_ALIAS
CONFIG_DM_SERIAL
CONFIG_DM_SPI
CONFIG_DM_SPI_FLASH
CONFIG_DM_STDIO
CONFIG_DM_USB
CONFIG_DM_WARN
CONFIG_DOS_PARTITION
CONFIG_DTC
CONFIG_EFI_LOADER
CONFIG_EFI_PARTITION
CONFIG_EFI_PARTITION_ENTRIES_NUMBERS
CONFIG_EFI_PARTITION_ENTRIES_OFF
CONFIG_ENABLE_ARM_SOC_BOOT0_HOOK
CONFIG_ENV_IS_IN_MMC
CONFIG_ENV_OFFSET
CONFIG_ENV_SIZE
CONFIG_ENV_VARS_UBOOT_CONFIG
CONFIG_ERRNO_STR
CONFIG_ETH_DESIGNWARE
CONFIG_EXPERT
CONFIG_EXTRA_ENV_SETTINGS
CONFIG_FASTBOOT
CONFIG_FASTBOOT_BUF_ADDR
CONFIG_FASTBOOT_BUF_SIZE
CONFIG_FASTBOOT_CMD_OEM_FORMAT
CONFIG_FASTBOOT_FLASH
CONFIG_FASTBOOT_FLASH_MMC
CONFIG_FASTBOOT_FLASH_MMC_DEV
CONFIG_FASTBOOT_GPT_NAME
CONFIG_FASTBOOT_MBR_NAME
CONFIG_FASTBOOT_USB_DEV
CONFIG_FAT_WRITE
CONFIG_FS_EXT4
CONFIG_FS_FAT
CONFIG_FS_FAT_MAX_CLUSTSIZE
CONFIG_GENERATE_SMBIOS_TABLE
CONFIG_GMAC_ROCKCHIP
CONFIG_GZIP
CONFIG_HASH
CONFIG_HAS_THUMB2
CONFIG_HAS_VBAR
CONFIG_HAVE_BLOCK_DEVICE
CONFIG_HAVE_PRIVATE_LIBGCC
CONFIG_HUSH_PARSER
CONFIG_I2C_EEPROM
CONFIG_IDENT_STRING
CONFIG_IMAGE_FORMAT_LEGACY
CONFIG_IMAGE_SPARSE
CONFIG_IMAGE_SPARSE_FILLBUF_SIZE
CONFIG_ISO_PARTITION
CONFIG_IS_BUILTIN
CONFIG_IS_ENABLED
CONFIG_IS_MODULE
CONFIG_LIB_RAND
CONFIG_LIB_UUID
CONFIG_LMB
CONFIG_LOCALVERSION
CONFIG_LOCALVERSION_AUTO
CONFIG_LOGLEVEL
CONFIG_MENU
CONFIG_MISC
CONFIG_MKIMAGE_DTC_PATH
CONFIG_MMC
CONFIG_MMC_DW
CONFIG_MMC_DW_ROCKCHIP
CONFIG_MMC_HW_PARTITIONING
CONFIG_MMC_QUIRKS
CONFIG_MMC_VERBOSE
CONFIG_MMC_WRITE
CONFIG_MTDIDS_DEFAULT
CONFIG_MTDPARTS_DEFAULT
CONFIG_NET
CONFIG_NETDEVICES
CONFIG_NET_TFTP_VARS
CONFIG_NR_DRAM_BANKS
CONFIG_OF_CONTROL
CONFIG_OF_LIBFDT
CONFIG_OF_SEPARATE
CONFIG_OF_SPL_REMOVE_PROPS
CONFIG_OF_TRANSLATE
CONFIG_OPTEE_LOAD_ADDR
CONFIG_PARTITIONS
CONFIG_PARTITION_UUIDS
CONFIG_PHYLIB
CONFIG_PINCTRL
CONFIG_PINCTRL_FULL
CONFIG_PINCTRL_GENERIC
CONFIG_PINCTRL_ROCKCHIP_RK3288
CONFIG_PINMUX
CONFIG_PMIC_CHILDREN
CONFIG_PMIC_RK8XX
CONFIG_PREBOOT
CONFIG_PRINTF
CONFIG_PWM_ROCKCHIP
CONFIG_RAM
CONFIG_RANDOM_UUID
CONFIG_REGEX
CONFIG_REGMAP
CONFIG_REGULATOR_RK8XX
CONFIG_REQUIRE_SERIAL_CONSOLE
CONFIG_ROCKCHIP_BOOT_MODE_REG
CONFIG_ROCKCHIP_BROM_HELPER
CONFIG_ROCKCHIP_GPIO
CONFIG_ROCKCHIP_RK3288
CONFIG_ROCKCHIP_SPL_RESERVE_IRAM
CONFIG_ROCKCHIP_USB2_PHY
CONFIG_SARADC_ROCKCHIP
CONFIG_SERIAL_PRESENT
CONFIG_SF_DEFAULT_SPEED
CONFIG_SILENT_CONSOLE
CONFIG_SILENT_CONSOLE_UPDATE_ON_SET
CONFIG_SIMPLE_BUS
CONFIG_SKIP_LOWLEVEL_INIT_ONLY
CONFIG_SMBIOS_MANUFACTURER
CONFIG_SMBIOS_PRODUCT_NAME
CONFIG_SPI
CONFIG_SPI_FLASH
CONFIG_SPL
CONFIG_SPL_BLK
CONFIG_SPL_BOARD_INIT
CONFIG_SPL_BOOTSTAGE_RECORD_COUNT
CONFIG_SPL_CLK
CONFIG_SPL_DM
CONFIG_SPL_DM_MMC
CONFIG_SPL_DM_SERIAL
CONFIG_SPL_DRIVERS_MISC_SUPPORT
CONFIG_SPL_FRAMEWORK
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME
CONFIG_SPL_I2C_SUPPORT
CONFIG_SPL_LDSCRIPT
CONFIG_SPL_LEGACY_IMAGE_SUPPORT
CONFIG_SPL_LIBCOMMON_SUPPORT
CONFIG_SPL_LIBGENERIC_SUPPORT
CONFIG_SPL_LOGLEVEL
CONFIG_SPL_OF_CONTROL
CONFIG_SPL_OF_LIBFDT
CONFIG_SPL_PAD_TO
CONFIG_SPL_PARTITION_UUIDS
CONFIG_SPL_PAYLOAD
CONFIG_SPL_PINCTRL
CONFIG_SPL_PMIC_CHILDREN
CONFIG_SPL_PRINTF
CONFIG_SPL_RAM
CONFIG_SPL_RAW_IMAGE_SUPPORT
CONFIG_SPL_REGMAP
CONFIG_SPL_ROCKCHIP_BACK_TO_BROM
CONFIG_SPL_SERIAL_PRESENT
CONFIG_SPL_SERIAL_SUPPORT
CONFIG_SPL_SPRINTF
CONFIG_SPL_STACK
CONFIG_SPL_STACK_R
CONFIG_SPL_STACK_R_ADDR
CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN
CONFIG_SPL_STRTO
CONFIG_SPL_SYSCON
CONFIG_SPL_SYS_MALLOC_F_LEN
CONFIG_SPL_SYS_MALLOC_SIMPLE
CONFIG_SPL_SYS_THUMB_BUILD
CONFIG_SPL_TEXT_BASE
CONFIG_SPL_USE_ARCH_MEMCPY
CONFIG_SPL_USE_ARCH_MEMSET
CONFIG_SPRINTF
CONFIG_STRTO
CONFIG_SUPPORT_OF_CONTROL
CONFIG_SUPPORT_RAW_INITRD
CONFIG_SUPPORT_SPL
CONFIG_SYSCON
CONFIG_SYSRESET
CONFIG_SYS_ARCH
CONFIG_SYS_ARM_ARCH
CONFIG_SYS_ARM_CACHE_CP15
CONFIG_SYS_ARM_MMU
CONFIG_SYS_BAUDRATE_TABLE
CONFIG_SYS_BOARD
CONFIG_SYS_BOOT_RAMDISK_HIGH
CONFIG_SYS_CACHELINE_SIZE
CONFIG_SYS_CACHE_SHIFT_6
CONFIG_SYS_CBSIZE
CONFIG_SYS_CONFIG_NAME
CONFIG_SYS_CONSOLE_IS_IN_ENV
CONFIG_SYS_CPU
CONFIG_SYS_DEF_EEPROM_ADDR
CONFIG_SYS_EEPROM_PAGE_WRITE_BITS
CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS
CONFIG_SYS_EEPROM_SIZE
CONFIG_SYS_EXTRA_OPTIONS
CONFIG_SYS_HELP_CMD_WIDTH
CONFIG_SYS_HZ
CONFIG_SYS_I2C_EEPROM_ADDR
CONFIG_SYS_I2C_EEPROM_ADDR_LEN
CONFIG_SYS_I2C_EEPROM_ADDR_OVERFLOW
CONFIG_SYS_I2C_EEPROM_BUS
CONFIG_SYS_I2C_ROCKCHIP
CONFIG_SYS_INIT_SP_ADDR
CONFIG_SYS_LOAD_ADDR
CONFIG_SYS_LONGHELP
CONFIG_SYS_MALLOC_CLEAR_ON_INIT
CONFIG_SYS_MALLOC_F
CONFIG_SYS_MALLOC_F_LEN
CONFIG_SYS_MALLOC_LEN
CONFIG_SYS_MAXARGS
CONFIG_SYS_MAX_FLASH_SECT
CONFIG_SYS_MMCSD_FS_BOOT_PARTITION
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR
CONFIG_SYS_MMC_ENV_DEV
CONFIG_SYS_MMC_MAX_BLK_COUNT
CONFIG_SYS_NS16550
CONFIG_SYS_NS16550_MEM32
CONFIG_SYS_PBSIZE
CONFIG_SYS_PROMPT
CONFIG_SYS_SDRAM_BASE
CONFIG_SYS_SOC
CONFIG_SYS_SPI_U_BOOT_OFFS
CONFIG_SYS_TEXT_BASE
CONFIG_SYS_THUMB_BUILD
CONFIG_SYS_TIMER_BASE
CONFIG_SYS_TIMER_COUNTER
CONFIG_SYS_TIMER_RATE
CONFIG_SYS_VENDOR
CONFIG_SYS_WHITE_ON_BLACK
CONFIG_TARGET_TINKER_RK3288
CONFIG_TPL_LDSCRIPT
CONFIG_TPL_SYS_MALLOC_F_LEN
CONFIG_TPL_TEXT_BASE
CONFIG_USB
CONFIG_USB_DWC2
CONFIG_USB_DWC2_BUFFER_SIZE
CONFIG_USB_ETHER_ASIX
CONFIG_USB_ETHER_SMSC95XX
CONFIG_USB_FUNCTION_FASTBOOT
CONFIG_USB_FUNCTION_MASS_STORAGE
CONFIG_USB_FUNCTION_ROCKUSB
CONFIG_USB_GADGET
CONFIG_USB_GADGET_DOWNLOAD
CONFIG_USB_GADGET_DUALSPEED
CONFIG_USB_GADGET_DWC2_OTG
CONFIG_USB_GADGET_MANUFACTURER
CONFIG_USB_GADGET_PRODUCT_NUM
CONFIG_USB_GADGET_VBUS_DRAW
CONFIG_USB_GADGET_VENDOR_NUM
CONFIG_USB_HOST
CONFIG_USB_HOST_ETHER
CONFIG_USB_STORAGE
CONFIG_USE_ARCH_MEMCPY
CONFIG_USE_ARCH_MEMSET
CONFIG_USE_BOOTCOMMAND
CONFIG_USE_PRIVATE_LIBGCC
CONFIG_USE_TINY_PRINTF
CONFIG_VAL
CONFIG_ZLIB
CONFIG_ZYNQ_GEM_I2C_MAC_OFFSET')
As a developer one can find some clue to rearrange the way to boot the Arch kernel ;)
I'll try, but I don't have such developer grace :P I don't have much experience.
TheSaint
 
Posts: 346
Joined: Mon Jul 23, 2018 7:57 am

PreviousNext

Return to Community Supported

Who is online

Users browsing this forum: No registered users and 5 guests