[U-Boot] Enc: Uboot compatible with board Tegra124-nyan-big (ChromeBook G3 HP 14")

Alexandre N. Perfeito perfeitoan at hotmail.com
Tue Jul 18 16:50:35 UTC 2017


  Hi,



   I resend the e-mail as you asked !


  Can help in this tip .


Best Regards

Perfeito,Alexander

________________________________
De: sjg at google.com <sjg at google.com> em nome de Simon Glass <sjg at chromium.org>
Enviado: segunda-feira, 17 de julho de 2017 19:50
Para: Alexandre N. Perfeito
Assunto: Re: Uboot compatible with board Tegra124-nyan-big (ChromeBook G3 HP 14")

Hi,

On 17 July 2017 at 10:33, Alexandre N. Perfeito <perfeitoan at hotmail.com<mailto:perfeitoan at hotmail.com>> wrote:


Simon,


    Hi , My Name is Alexander and i need some tip information about U-boot Board Nyan-Big to runinng Linux v4.4.x.x.

Can you please resend this to the U-Boot mailing list and cc me?

Thanks,
Simon


I compiled source 4.4.0.70 Ubuntu distribution in chroot environment in my chormebook Tegra Tk1.
After compilation the generated files were the following:


[aperfeito at alarm boot]$ ls -l
total 24992
-rw-r--r-- 1 root root    98874 Jul 13 14:54 config-4.4.70-ARCH
-rw-r--r-- 1 root root  8277506 Jul 13 14:54 initrd.img-4.4.70-ARCH
-rw-r--r-- 1 root root  2033244 Jul 13 14:54 System.map-4.4.70-ARCH
-rw-r--r-- 1 root root 15175680 Jul 13 14:54 vmlinuz-4.4.70-ARCH


I also compiled the u-boot-tegra in the same environment in chroot Ubuntu Xenial distribution these were compiled according to the email of Tom Warren send before

  Make 'nyan-big_defconfig' and everything ok as you see below the generated files:


[aperfeito at alarm u-boot-tegra]$ ls *.bin
u-boot.bin      u-boot-dtb-tegra.bin  u-boot-nodtb-tegra.bin
u-boot-dtb.bin  u-boot-nodtb.bin      u-boot-tegra.bin


Now is the tip I'm asking you:
I have two suggestions on how to put this in the KERNEL partition of my USB.
  My USB has two partitions
   To 1st. KERNEL Name with 16 megabytes of space dev / sda6
   A 2st.  ROOFS   Name approximately 29 Gigabytes of space where I worked to compile the UbuntuXenial and Uboot-Tegra srcs kernel as you see in the email.



Sugestion : 1
mkimage -D "-I dts -O dtb -p 2048" -f kernel.its vmlinux.uimg
  dd if=/dev/zero of=bootloader.bin bs=512 count=1
  vbutil_kernel \
    --pack vmlinux.kpart \
    --version 1 \
    --vmlinuz vmlinux.uimg \
    --arch arm \
    --keyblock kernel.keyblock \   --> How I do This  if necessary
    --signprivate kernel_data_key.vbprivk \  --> How I do This if necessary
    --config cmdline \ --> TXT file whit this config below
    --bootloader bootloader.bin


  *   kernel.its adjust to files below as given to te src kernel 4.4.0-70
./arch/arm/boot/dts/tegra124-nyan-blaze.dtb
./arch/arm/boot/dts/tegra124-nyan-big.dtb
  *
___________________________________________________TXT CONFIG FILE __________________________________________________
  *
console=tty1 init=/sbin/init root=PARTUUID=%U/PARTNROFF=1 rootwait rw noinitrd lsm.module_locking=0  ## OR ###
  *
initrd=/boot/initrd.img-4.4.0-ARCH console=ttyS0,115200n8 console=tty1 ignore_loglevel earlyprintk cgroup_enable=memory root=/dev/sda7

      ###  For config line need your sugestion with is the best.


Sugestion: 2

  I have to copy the kernel, generated initramfs, and dtb to the SDA6 partition and added the following kernel config to /dev/sda7/roofsparttion :/boot/extlinux/extlinux.conf


LABEL UbuntuXenial
 MENU LABEL UbuntuXenial on sda7 with 4.4 kernel
 LINUX /boot/vmlinuz-4.4.0
 FDT /boot/dtb/tegra124-nyan-big.dtb
 APPEND initrd=/boot/initrd.img-4.4.0-ARCH console=ttyS0,115200n8 console=tty1 ignore_loglevel earlyprintk cgroup_enable=memory root=/dev/sda7


How to make U-boot-Tegra now Work with Kernel 4.4.x.x as v3.10.x.x Kernels booting on USB.

Best Regards
Perfeito Alexander








________________________________
De: Tom Warren <TWarren at nvidia.com<mailto:TWarren at nvidia.com>>
Enviado: segunda-feira, 17 de julho de 2017 10:48
Para: Alexandre N. Perfeito
Cc: Simon Glass
Assunto: RE: Uboot compatible with board Tegra124-nyan-big (ChromeBook G3 HP 14")


See ‘nyan-big_defconfig’. Added Simon to CC as he’s used this build quite a lot.



HTH,



Tom



From: Alexandre N. Perfeito [mailto:perfeitoan at hotmail.com<mailto:perfeitoan at hotmail.com>]
Sent: Wednesday, July 12, 2017 11:02 AM
To: Tom Warren <TWarren at nvidia.com<mailto:TWarren at nvidia.com>>
Subject: Uboot compatible with board Tegra124-nyan-big (ChromeBook G3 HP 14")



Tom,



   Hi,

      I woud like to know if exist u-boot/configs/defconfig-for-this-board , to build a Das-U-boot to running Mainline Kernel 4.4



Thanks



Best Regards



Perfeito,Alexander





________________________________
This email message is for the sole use of the intended recipient(s) and may contain confidential information.  Any unauthorized review, use, disclosure or distribution is prohibited.  If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
________________________________



More information about the U-Boot mailing list