Successfully transfered kernel to the board
This commit is contained in:
49
Tp3.md
49
Tp3.md
@@ -228,6 +228,55 @@ On gagne un peu de place par rapport à Gzip mais comparé aux 12mb originaux on
|
||||
|
||||
## Chargement et boot du noyau avec U-Boot
|
||||
|
||||
Comme ma
|
||||
|
||||
On va charger le noyeau à l'addresse `0x21000000`
|
||||
|
||||
`tftp 0x21000000 192.168.1.240:zImage`
|
||||
|
||||
```tftp
|
||||
=> tftp 0x21000000 192.168.1.240:zImage
|
||||
ethernet@f0028000: PHY present at 7
|
||||
ethernet@f0028000: Starting autonegotiation...
|
||||
ethernet@f0028000: Autonegotiation complete
|
||||
ethernet@f0028000: link up, 1000Mbps full-duplex (lpa: 0x7800)
|
||||
Using ethernet@f0028000 device
|
||||
TFTP from server 192.168.1.240; our IP address is 192.168.1.201
|
||||
Filename 'zImage'.
|
||||
Load address: 0x21000000
|
||||
Loading: #################################################################
|
||||
#################################################################
|
||||
#################################################################
|
||||
#################################################################
|
||||
##################
|
||||
720.7 KiB/s
|
||||
done
|
||||
Bytes transferred = 4076944 (3e3590 hex)
|
||||
```
|
||||
letsgooo (au cas ou note pour plus tard, le dossier partagé par le serveur macos tftp se trouve à /private/tftp)
|
||||
|
||||
ensuite pour le device tree blob à l'adresse `0x22000000`
|
||||
|
||||
`tftp 0x22000000 192.168.1.240:device_tree.dtb`
|
||||
|
||||
```
|
||||
=> tftp 0x22000000 192.168.1.240:device_tree.dtb
|
||||
ethernet@f0028000: PHY present at 7
|
||||
ethernet@f0028000: Starting autonegotiation...
|
||||
ethernet@f0028000: Autonegotiation complete
|
||||
ethernet@f0028000: link up, 1000Mbps full-duplex (lpa: 0x7800)
|
||||
Using ethernet@f0028000 device
|
||||
TFTP from server 192.168.1.240; our IP address is 192.168.1.201
|
||||
Filename 'device_tree.dtb'.
|
||||
Load address: 0x22000000
|
||||
Loading: ###
|
||||
7.8 KiB/s
|
||||
done
|
||||
Bytes transferred = 40674 (9ee2 hex)
|
||||
```
|
||||
|
||||
On se rend pas compte mais ca m'a pris tellement de temps de faire fonctionner le tftp entre ma VM -> mon laptop -> sama5d3 que la de voir que ca fonctionne ca me rend heureux
|
||||
|
||||
### [Q12] : Indiquez la séquence de commandes vous ayant permis de charger noyau et DTB et booter dessus.
|
||||
|
||||
[TODO]
|
||||
|
||||
Reference in New Issue
Block a user