Skip to content

Instantly share code, notes, and snippets.

View dhess's full-sized avatar

Drew Hess dhess

View GitHub Profile
U-Boot SPL 2016.01-00001-g4eb802e (Jan 13 2016 - 11:14:31)
Trying to boot from MMC
bad magic
U-Boot 2016.01-00001-g4eb802e (Jan 13 2016 - 11:14:31 -0600), Build: jenkins-github_Bootloader-Builder-313
Watchdog enabled
I2C: ready
DRAM: 512 MiB
[root@nixos:~]# fdisk /dev/mmcblk1
Welcome to fdisk (util-linux 2.29.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Command (m for help): p
Disk /dev/mmcblk1: 3.6 GiB, 3825205248 bytes, 7471104 sectors
Units: sectors of 1 * 512 = 512 bytes
[0000.126] Processing in cold boot mode Bootloader 2
[0000.131] A02 Bootrom Patch rev = 63
[0000.134] Power-up reason: reset button
[0000.138] No Battery Present
[0000.140] RamCode = 0
[0000.143] Platform has Ddr4 type ram
[0000.146] max77620 disabling SD1 Remote Sense
[0000.150] Setting Ddr voltage to 1125mv
[0000.154] Serial Number of Pmic Max77663: 0x2712ae
[0000.162] Entering ramdump check
[0000.126] Processing in cold boot mode Bootloader 2
[0000.131] A02 Bootrom Patch rev = 63
[0000.134] Power-up reason: on button
[0000.137] No Battery Present
[0000.140] RamCode = 0
[0000.142] Platform has Ddr4 type ram
[0000.146] max77620 disabling SD1 Remote Sense
[0000.150] Setting Ddr voltage to 1125mv
[0000.154] Serial Number of Pmic Max77663: 0x2712ae
[0000.161] Entering ramdump check
[0000.158] Processing in cold boot mode Bootloader 2
[0000.163] A02 Bootrom Patch rev = 63
[0000.166] Power-up reason: software reset
[0000.170] No Battery Present
[0000.173] RamCode = 0
[0000.175] Platform has Ddr4 type ram
[0000.178] max77620 disabling SD1 Remote Sense
[0000.183] Setting Ddr voltage to 1125mv
[0000.186] Serial Number of Pmic Max77663: 0x2712ae
[0000.194] Entering ramdump check
[0000.121] [TegraBoot] (version 24.00.2015.42-mobile-ec3b827e)
[0000.126] Processing in cold boot mode Bootloader 2
[0000.131] A02 Bootrom Patch rev = 63
[0000.134] Power-up reason: on button
[0000.137] No Battery Present
[0000.140] RamCode = 0
[0000.142] Platform has Ddr4 type ram
[0000.146] max77620 disabling SD1 Remote Sense
[0000.150] Setting Ddr voltage to 1125mv
[0000.154] Serial Number of Pmic Max77663: 0x2712ae
Tegra210 (P2371-2180) # printenv
arch=arm
baudrate=115200
board=p2371-2180
board_name=p2371-2180
boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr}
boot_efi_binary=load ${devtype} ${devnum}:${distro_bootpart} ${kernel_addr_r} efi/boot/bootaa64.efi; if fdt addr ${fdt_addr_r}; then bootefi ${kernel_addr_r} ${fdt_addr_r};else bootefi ${kernel_addr_r} ${fdtcontroladdr};fi
boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}extlinux/extlinux.conf
boot_net_pci_enum=pci enum
boot_net_usb_start=usb start
# dmesg | grep -i xusb
[ 0.096064] OF: ERROR: Bad of_node_put() on /pmc@7000e400/powergates/xusba
[ 0.096382] OF: ERROR: Bad of_node_put() on /pmc@7000e400/powergates/xusbc
[ 0.427321] tegra-xusb-padctl 7009f000.padctl: failed to setup XUSB ports: -517
[ 2.345292] tegra-xusb 70090000.usb: 70090000.usb supply dvdd-pex-pll not found, using dummy regulator
[ 2.360788] tegra-xusb 70090000.usb: 70090000.usb supply hvdd-pex-pll-e not found, using dummy regulator
[ 2.392729] tegra-xusb 70090000.usb: Direct firmware load for nvidia/tegra210/xusb.bin failed with error -2
[ 2.403857] tegra-xusb 70090000.usb: failed to request firmware: -2
[ 2.410153] tegra-xusb 70090000.usb: failed to load firmware: -2
[ 2.416849] tegra-xusb: probe of 70090000.usb failed with error -2
[0000.121] [TegraBoot] (version 24.00.2015.42-mobile-ec3b827e)
[0000.126] Processing in cold boot mode Bootloader 2
[0000.131] A02 Bootrom Patch rev = 63
[0000.134] Power-up reason: on button
[0000.137] No Battery Present
[0000.140] RamCode = 0
[0000.142] Platform has Ddr4 type ram
[0000.146] max77620 disabling SD1 Remote Sense
[0000.150] Setting Ddr voltage to 1125mv
[0000.154] Serial Number of Pmic Max77663: 0x2712ae
[root@nixos:/]# nixos-install
copying closure /nix/store/209abjy7ksanjlsrnyxmvrimxbjnqayr-closure to /mnt...
/nix/store/0f4xjzxlgwv0ivyzpjwcbdhc78dz9fsp-openssl-1.0.2k...
/nix/store/29w3vqlx5c21zmcv6nkw2slmdmk4g7ws-gcc-5.4.0-lib...
/nix/store/55rhz760f7r7fm9396cm25cpcsbh09a6-libssh2-1.8.0...
/nix/store/74v0lnpwp7c5xa95lawlcfxyw7nfgb45-perl-5.24.1...
/nix/store/8l5vh47ng7ji4d924p57mgf0p93d8hhz-zlib-1.2.11...
/nix/store/bc09d9zd1v2vxmmiiwf43bmj3hlkvaf5-openssl-1.0.2k-bin...
/nix/store/bm0f80zmayfwqbg9g61cn51vbj3xkjc7-xz-5.2.3-bin...
/nix/store/fy9f83wj417zq7pmplnzjfzai3grsvy7-sqlite-3.17.0...