Difference between revisions of "Niagara 510: Initial bootup"
Jump to navigation
Jump to search
| Line 48: | Line 48: | ||
Enter 'help' for a list of built-in commands. | Enter 'help' for a list of built-in commands. | ||
| − | ~ # | + | ~ # modprobe nae |
27:<4>hal_interface: module license 'Proprietary' taints kernel. | 27:<4>hal_interface: module license 'Proprietary' taints kernel. | ||
27:<4>Disabling lock debugging due to kernel taint | 27:<4>Disabling lock debugging due to kernel taint | ||
Revision as of 14:50, 20 May 2014
Booting BusyBox environment from network
Setup networking in uBoot environment
The network interface(s) will need to be configured and operational before you can pull down the necessary files using TFTP.
Follow instructions at: Niagara 510 - Assigning a MAC address in u-boot
Load the necessary files into memory
tftpboot 0xa800000006000000 172.28.0.2:vmlinux_N511_23.xlp
tftpboot 0xFFFFFFFF80100000 172.28.0.2:linux-nae.dtbN.B. - Replace 172.28.0.2 with the appropriate TFTP server.
Boot the image
bootelf 0xa800000006000000 - 0xFFFFFFFF80100000Booting BusyBox environment from MMC (SD card)
Place the necessary files on the MMC
Copy the vmlinux_<version>.xlp and linux-nae.dtb files from the Interface Masters SDK onto the second partition of the MMC (SD card).
Ensure the MMC device is initialised in uBoot
mmc initLoad the necessary files into memory
fatload mmc 0:2 0xFFFFFFFF80100000 linux-nae.dtb
fatload mmc 0:2 0xa800000006000000 vmlinux_N511_23.xlpBoot the image
bootelf 0xa800000006000000 - 0xFFFFFFFF80100000Getting network interfaces online
In theory, the networking should automatically initialise but I never found this to be the case!
modprobe nae to start the networking:
XLP-Linux login: root
login[1054]: root login on 'ttyS0'
BusyBox v1.19.3 (2013-03-07 19:19:38 IST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
~ # modprobe nae
27:<4>hal_interface: module license 'Proprietary' taints kernel.
27:<4>Disabling lock debugging due to kernel taint
27:======= Module Parameters =========
27:num_descs_per_normalq=64 num_descs_per_jumboq=48 27:perf_mode=TCP_PERF enable_lro=0 enable_jumbo=0
27:p2p_desc_mem_init in, dsize 256 tsize 51200
27:number of nodes 1
27:Successfully zapped free in fifo!
27:Receive(Rx) Disabled
27:Configuring ucore...
27:UCORE MASK 0xffff
# ...
# Much output!
# ...
27:Configuring POE in bypass mode
27:NAE configuration done!
27:UCORE MASK 0xffff
27:Loading ucores (mask = 0xffff)
27:Send 256 descriptors for queue 0(vc 1000) of length 1648
27:Send 256 descriptors for queue 4(vc 1004) of length 1648
27:Send 256 descriptors for queue 8(vc 1008) of length 1648
27:Send 256 descriptors for queue 12(vc 1012) of length 1648
27:Send 52 descriptors for queue 16(vc 1016) of length 1648
27:Send 52 descriptors for queue 17(vc 1017) of length 1648
27:Registering nae msgring handler
27:PCI: Enabling device 0000:00:03.0 (0000 -> 0002)
~ #