This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:bpi-r64:uboot [2019/11/04 14:56] frank [netboot] |
en:bpi-r64:uboot [2020/08/29 17:14] (current) |
||
---|---|---|---|
Line 26: | Line 26: | ||
https:// | https:// | ||
- | official uboot is not booting, if compiled with gcc >=5.5 (needs to be comiled with e.g. gcc4.8 in ubuntu 14.4), gcc7/8 do not compile official uboot | + | official uboot is not booting, if compiled with gcc >=5.5 (needs to be comiled with e.g. gcc4.8 in ubuntu 14.4), gcc7/8 do not compile official uboot - as upstream supports mt7622/ |
UBOOT=u-boot-mt/ | UBOOT=u-boot-mt/ | ||
Line 217: | Line 217: | ||
===== manual boot ===== | ===== manual boot ===== | ||
< | < | ||
- | U-Boot MT7622> ls mmc 1:1 | + | U-Boot MT7622> ls mmc 1:1 |
- | bananapi/ | + | bananapi/ |
- | 0 | + | 0 |
- | 8841288 | + | 8841288 |
- | 23721 | + | 23721 |
- | + | ||
- | 3 file(s), 1 dir(s) | + | 3 file(s), 1 dir(s) |
- | + | ||
- | U-Boot MT7622> setenv kaddr 0x44000000 | + | U-Boot MT7622> setenv kaddr 0x44000000 |
- | U-Boot MT7622> setenv dtaddr 0x47000000 | + | U-Boot MT7622> setenv dtaddr 0x47000000 |
- | U-Boot MT7622> fatload mmc 1:1 $kaddr uImage_5.4 | + | U-Boot MT7622> fatload mmc 1:1 $kaddr uImage_5.4 |
- | 8841288 bytes read in 786 ms (10.7 MiB/ | + | 8841288 bytes read in 786 ms (10.7 MiB/s) |
- | U-Boot MT7622> fatload mmc 1:1 $dtaddr bpi-r64-5.4.dtb | + | U-Boot MT7622> fatload mmc 1:1 $dtaddr bpi-r64-5.4.dtb |
- | 23721 bytes read in 8 ms (2.8 MiB/ | + | 23721 bytes read in 8 ms (2.8 MiB/s) |
+ | U-Boot MT7622> setenv bootargs console=ttyS0, | ||
U-Boot MT7622> bootm $kaddr - $dtaddr | U-Boot MT7622> bootm $kaddr - $dtaddr | ||
</ | </ | ||
Line 251: | Line 252: | ||
BPI-R64> bootm $kaddr - $dtaddr | BPI-R64> bootm $kaddr - $dtaddr | ||
+ | </ | ||
+ | ==== PCIe ==== | ||
+ | < | ||
+ | BPI-R64> pci enum | ||
+ | PCI: Failed autoconfig bar 10 | ||
+ | PCI: Failed autoconfig bar 10 | ||
+ | BPI-R64> pci 0 | ||
+ | Scanning PCI devices on bus 0 | ||
+ | BusDevFun | ||
+ | --- | ||
+ | 00.00.00 | ||
+ | 00.01.00 | ||
+ | BPI-R64> pci 1 | ||
+ | Scanning PCI devices on bus 1 | ||
+ | BusDevFun | ||
+ | --- | ||
+ | 01.00.00 | ||
+ | BPI-R64> pci 2 | ||
+ | Scanning PCI devices on bus 2 | ||
+ | BusDevFun | ||
+ | --- | ||
+ | 02.00.00 | ||
+ | BPI-R64> | ||
+ | </ | ||
+ | ==== SATA ==== | ||
+ | < | ||
+ | BPI-R64> scsi scan | ||
+ | scanning bus for devices... | ||
+ | Target spinup took 0 ms. | ||
+ | AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl SATA mode | ||
+ | flags: ncq stag pm clo only pmp pio slum part ccc apst | ||
+ | Device 0: (0:0) Vendor: ATA Prod.: ST750LM022 HN-M7 Rev: 2AR1 | ||
+ | Type: Hard Disk | ||
+ | Capacity: 715404.8 MB = 698.6 GB (1465149168 x 512) | ||
+ | BPI-R64> ls scsi 0:1 | ||
+ | EFI/ | ||
+ | 512 | ||
+ | |||
+ | 1 file(s), 1 dir(s) | ||
+ | |||
+ | BPI-R64> | ||
+ | </ | ||
+ | ==== USB ==== | ||
+ | < | ||
+ | BPI-R64> usb start | ||
+ | starting USB... | ||
+ | Bus usb@1a0c0000: | ||
+ | u2p:2, u3p:1 | ||
+ | Register 300010f NbrPorts 3 | ||
+ | Starting the controller | ||
+ | USB XHCI 0.96 | ||
+ | scanning bus usb@1a0c0000 for devices... 2 USB Device(s) found | ||
+ | | ||
+ | BPI-R64> ls usb 0:1 | ||
+ | | ||
+ | System Volume Information/ | ||
+ | |||
+ | 1 file(s), 1 dir(s) | ||
+ | |||
+ | BPI-R64> | ||
</ | </ |