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

Simon Glass sjg at chromium.org
Sun Aug 6 05:16:07 UTC 2017


+Thomas

On 25 July 2017 at 12:01, Alexandre N. Perfeito <perfeitoan at hotmail.com> wrote:
>
>     Uboot List,
>
>
>             Someone could help me as I wrap up this to solve my problem.
>
> Best Regards
>
> Perfeito, Alexander
>
> ________________________________
> De: Alexandre N. Perfeito <perfeitoan at hotmail.com>
> Enviado: segunda-feira, 24 de julho de 2017 18:35
> Para: Thomas Hoff
> Cc: Simon Glass
> Assunto: Re: [U-Boot] Uboot compatible with board Tegra124-nyan-big (ChromeBook G3 HP 14")
>
>
>         HI Thomas,
>
>
>             First of all thanks.
>
>
>
>                      I not using SDcard. But this help some way check this out below:
>
>
>                  My USB 32 G is partioned like this:
>
>
>                           cgpt add -i 6 -b 64 -s 32768 -S 1 -P 5 -l KERN-A -t "kernel" /dev/sda6 --> 16 MB Space  The MAIN TIP I ASK FOR
>                           cgpt add -i 7 -b 65600 -s $aroot_size -l ROOT-A -t "rootfs" /dev/sda7  --> 29.3GBSpace Roofs with (Ubunut Xenial Installed) and running chroot OK
>
>                     See the information about the device USB:
>
>
>                            /dev/sda6: PARTLABEL="KERN-A" PARTUUID="d43b02e7-af2d-3642-93d8-370d84193655"
>                           /dev/sda7: UUID="4100d9e3-55b9-4ce2-9312-117932369684" TYPE="ext4" PARTLABEL="ROOT-A" PARTUUID="a01d12a1-c0e2-d54c-b68a-6e24e3896ae2"
>
>                       How I do to put this information you give me Below in e-mail before:
>
>                          to  you would boot a kernel from an ***sdcard that had uImage and tegra124-nyan-big.dtb in ***ext2 formatted partition on ***/dev/mmcblk1p3
>
> ***mmc dev 1 ; mmc rescan 1 ; ext2load mmc 1:3 0x81000000 uImage ; ext2load mmc 1:3 0x82000000 tegra124-nyan-big.dtb ; bootm 0x81000000 - 0x82000000

You can use gparted or mkfs to build an ext4 filesystem, then copy
those two files onto it.

This thread is quite confusing due to strange quoting and top-posting.
You might want to start again...

>
>                      Because I using the sugestion 1 I did describe in e-mail below with Uboot and Kernel 3.10.x.x run like a charm.
>
>
> *** Information to adapt for USB botting
>
>
>
>                     How I do to Kernel 4.4.x.x
>
>
> Best Regards
>
>
> Perfeito , Alexander
>
> ________________________________
> De: Thomas Hoff <thomashoffltd at gmail.com>
> Enviado: segunda-feira, 24 de julho de 2017 17:53
> Para: Simon Glass
> Cc: Alexandre N. Perfeito; u-boot at lists.denx.de
> Assunto: Re: [U-Boot] Uboot compatible with board Tegra124-nyan-big (ChromeBook G3 HP 14")
>
> Hey Alexandre,
>
>
> Here is a link to a precompiled and signed non verified uboot for the nyan-big chromebook:
> https://drive.google.com/file/d/0B3uMpbwOyYIadEtPdVpHV1piWEU/view?usp=sharing
>
> This is how you would boot a kernel from an sdcard that had uImage and tegra124-nyan-big.dtb in ext2 formatted partition on /dev/mmcblk1p3
> mmc dev 1 ; mmc rescan 1 ; ext2load mmc 1:3 0x81000000 uImage ; ext2load mmc 1:3 0x82000000 tegra124-nyan-big.dtb ; bootm 0x81000000 - 0x82000000
>
> Hope that helps
>
> On Fri, Jul 21, 2017 at 3:48 AM, Simon Glass <sjg at chromium.org<mailto:sjg at chromium.org>> wrote:
> Hi Alexandre,
>
> [...]
>
>>>     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.
>
> There is a series which shows how to do this for tegra and rockchip.
> It is at u-boot-dm/chain-working and you can find a README there as
> well.
>
> The series has not been applied yet - I think it is in Tom Warren's queue?
>
> Regards,
> Simon
> [...]
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de<mailto:U-Boot at lists.denx.de>
> https://lists.denx.de/listinfo/u-boot
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot


Regards,
Simon


More information about the U-Boot mailing list