Cannot update device tree on Apalis

Dear Mr Ziswiler,

I`m trying to update the device tree using BSP image: Apalis_T30_LinuxImageV2.6Beta1_20160331, Debian Jessie rootfs and 4.6.2 kernel on my apalis T 30 + Apalis Evaluation Board V1.1A. I have successfully downloaded and compiled mainline linux kernel 4.6.2 with commands:

wget https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.6.2.tar.xz
tar -vxf linux-4.6.2.tar.xz
cd linux-4.6.2
export ARCH=arm
export PATH=/home/kamil/Downloads/apalis/gcc-linaro/bin/:$PATH
export CROSS_COMPILE=arm-linux-gnueabihf-
make tegra_defconfig
make -j6 uImage LOADADDR=0x82008000
make -j6 dtbs
make -j6 modules
cp arch/arm/boot/dts/tegra30-apalis* /media/kamil/6537-3463/apalis_t30/

But, when I`m trying to update device tree I cannot see any error message, apart from the info: 0 bytes written

 U-Boot SPL 2015.04 (Mar 31 2016 - 01:18:13)
 
 
 U-Boot 2015.04 (Mar 31 2016 - 01:18:13)
 
 TEGRA30
 DRAM:  2 GiB
 MMC:   Tegra SD/MMC: 0, Tegra SD/MMC: 1, Tegra SD/MMC: 2
 tegra-pcie: PCI regions:
 tegra-pcie:   I/O: 0x2000000-0x2010000
 tegra-pcie:   non-prefetchable memory: 0x20000000-0x30000000
 tegra-pcie:   prefetchable memory: 0x30000000-0x40000000
 tegra-pcie: 4x1, 1x2 configuration
 tegra-pcie: probing port 2, using 1 lanes
 In:    serial
 Out:   lcd
 Err:   lcd
 Model: Toradex Apalis T30 2GB V1.0E, Serial# 02650732
 Net:   e1000: no NVM
 e1000#0
 Hit any key to stop autoboot:  0 
 Apalis T30 # run setupdate
 reading flash_blk.img
 710 bytes read in 13 ms (52.7 KiB/s)
 reading flash_blk.img
 710 bytes read in 13 ms (52.7 KiB/s)
 ## Executing script at 81000000
 reading apalis_t30/flash_blk.img
 4029 bytes read in 21 ms (186.5 KiB/s)
 ## Executing script at 80408000
 enter "run update" to update the entire module
 Apalis T30 # run update_fdt
 reading apalis_t30/tegra30-apalis-eval.dtb
 29450 bytes read in 32 ms (898.4 KiB/s)
 writing 730a
 0 bytes written
 Apalis T30 # 
 U-Boot SPL 2015.04 (Mar 31 2016 - 01:18:13)

Yes, there seems to be a bug in our U-Boot update script. As the down-stream Linux kernel of our official BSP does not use any device tree at all this went unnoticed so far. We will make sure to have this fixed in the upcoming V2.6 beta 2 BSP. For the time being please find below workaround:

Apalis T30 # setenv stdout serial
Apalis T30 # run setupdate
Apalis T30 # setenv update_fdt 'load ${interface} ${drive}:1 ${loadaddr} ${board_name}/${soc}-apalis-${fdt_board}.dtb && fatwrite mmc 0:1 ${loadaddr} ${soc}-apalis-${fdt_board}.dtb ${filesize}'
Apalis T30 # run update_kernel
reading apalis_t30/uImage
5469872 bytes read in 274 ms (19 MiB/s)
writing uImage
5469872 bytes written
Apalis T30 # run update_fdt
reading apalis_t30/tegra30-apalis-eval.dtb
31649 bytes read in 23 ms (1.3 MiB/s)
writing tegra30-apalis-eval.dtb
31649 bytes written