[U-Boot] Compiling Mainline Kernel v4.4.70 Stable to ChormeBook Nvidia Tegra TK1 (Ubuntu-Xenial) -Uboot Not Booting (BlackScreen)

Simon Glass sjg at chromium.org
Wed Sep 13 04:27:45 UTC 2017


Hi Alexandre,

On 12 September 2017 at 12:04, Alexandre N. Perfeito
<perfeitoan at hotmail.com> wrote:
> Hi All Uboot-(TEGRA users) , My name is Alexander almost done here !!! I
> Need you Help !!! to make the chromebook TegraTk1 model running
> Ubuntu-Xenial Mainline v4.4.0.70 distribution repo not ChromiumOS
> https://chromium.googlesource.com/chromiumos/third_party/kernel/+/v4.4.70
>
>
>   After I compiled the Kernel and  zImage  with this:
>
>
> root at alarm:/# sudo make tegra_defconfig
>
> root at alarm:/# sudo make menuconfig
>
> root at alarm:/# make savedefconfig
> root at alarm:/# sudo make -j5 zImage dtbs modules

That doesn't matter for U-Boot though.

>
>
>   Second: I caught this file in attached Then I runing this command:
>
>
>
> root at alarm:/# sudo /u-boot-tegra/b/nyan-big/tools/mkimage -D "-I dts -O dtb
> -p 2048" -f kernel.its vmlinux.uimg
>
>   Third:
>
> file bootloader create with:
>
>
> root at alarm:/#sudo dd if=/dev/zero of=bootloader.bin bs=512 count=1  -- > #
> dummy file
>
>    Fourth:
>
> file config.txt create with:
>
> echo 'console=tty0 init=/sbin/init root=PARTUUID=%U/PARTNROFF=1 rootwait rw
> noinitrd' > config.txt
>
> and do this commands:
>
>
>  root at alarm:/#sudo make INSTALL_MOD_PATH=/lib/modules/4.4.0.70-ARCH
> modules_install
>
> root at alarm:/#sudo make INSTALL_DTBS_PATH=/boot/dtbs" dtbs_install
>
>  root at alarm:/#sudo depmod -F System.map "4.4.0.70-ARCH"
>
>
>     Fifth :
>
> After the files created I runnig this scripth  file Kernel.sh below:
>
> vbutil_kernel \
>     --pack vmlinux.kpart \
>     --version 1 \
>     --vmlinuz vmlinux.uimg \
>     --arch arm \
>     --keyblock  /usr/share/vboot/devkeys/kernel.keyblock \
>     --signprivate /usr/share/vboot/devkeys/kernel_data_key.vbprivk \
>     --config config.txt \
>     --bootloader bootloader.bin
>
> file vmlinux.kpart created
>
>      Sixth : Put the file vmlinux.kpart in Kernel Partition /dev/sda6
>
> root at alarm:/# sudo dd if=vmlinux.kpart of=/dev/sda6
>
>       Seventh:
>
> I copy this file vmlinux.kpart   in /boot from my USB drive Rootfs partition
> and zImage file
>
>
>
> Follow my USB /dev/sda parttion:
>
> [aperfeito at alarm ~]$ sudo cgpt show /dev/sda
> [sudo] password for aperfeito:
>        start        size            part           contents
>            0           1                                PMBR (Boot GUID:
> AD11024D-1016-B345-A21D-F7B823B0318A)
>            1           1                                Pri GPT header
>            2          32                               Pri GPT table
>           64       32768           6              Label: "KERN-A"
>                                                           Type: ChromeOS
> kernel
>                                                           UUID:
> D43B02E7-AF2D-3642-93D8-370D84193655
>                                                           Attr: priority=0
> tries=0 successful=0
>        65600    53542815     7             Label: "ROOT-A"
>                                                          Type:
> 0FC63DAF-8483-4772-8E79-3D69D8477DE4
>                                                          UUID:
> A01D12A1-C0E2-D54C-B68A-6E24E3896AE2
>     61997023          32                       Sec GPT table
>     61997055           1                        Sec GPT header
>
>
> What I have doing wrong ? Chromebook Bleps one attempt when using ctlr+U or
> more than 0 (zero) tries (Black Screen)

Have you tried the README.chromium steps? It actually looks very
similar to what you have here. But it has been tested.

Regards,
Simon


More information about the U-Boot mailing list