Skip to contentSkip to conversation

bootstd: Drop some TODOs

PATCH In review Simon Glass 3 participants 6 messages Aug 25, 2023 – Oct 11, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bootstd: Drop some TODOs

The existing TODOs are done, so remove them. Add another that came up today.

---

 doc/develop/bootstd.rst | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
doc/develop/bootstd.rst +1 -3
index ec3136535783..3e566e994d6c 100644
@@ -752,9 +752,7 @@ To do
 
 Some things that need to be done to completely replace the distro-boot scripts:
 
-- add bootdev drivers for dhcp, sata, scsi, ide, virtio
-- PXE boot for EFI
-- support for loading U-Boot scripts
+- implement extensions (devicetree overlays with add-on boards)
 
 Other ideas:
 
Signature · 1 line
2.42.0.rc1.204.g551eb34607-goog
#1 lore raw

Hi Simon,

Quoted 15 lines · Simon Glass

The existing TODOs are done, so remove them. Add another that came up today.

---

 doc/develop/bootstd.rst | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
doc/develop/bootstd.rst +0 -0
index ec3136535783..3e566e994d6c 100644

doc/develop/bootstd.rst To do · line 755

Quoted 4 lines
doc/develop/bootstd.rst +0 -1
@@ -752,9 +752,7 @@ To do
 
 Some things that need to be done to completely replace the distro-boot scripts:
 
-- add bootdev drivers for dhcp, sata, scsi, ide, virtio

Good to see SATA finally in bootdev driver! I'm testing bootstd on a couple boards, and have been waiting for SATA bootdev. Any idea, if I should wait for it to be merged to the next branch, or is there an easy way to do it with one of your patches (I can test it on the latest master branch or next branch).

Thanks,
Tony

Quoted 9 lines
doc/develop/bootstd.rst +1 -3
-- PXE boot for EFI
-- support for loading U-Boot scripts
+- implement extensions (devicetree overlays with add-on boards)
 
 Other ideas:
 
--

2.42.0.rc1.204.g551eb34607-goog

#2 lore raw

Hi Tony,

Quoted 22 lines · Tony Dinh

Hi Simon,

Quoted 18 lines · Simon Glass

The existing TODOs are done, so remove them. Add another that came up today.

---

 doc/develop/bootstd.rst | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
doc/develop/bootstd.rst +0 -0
index ec3136535783..3e566e994d6c 100644
@@ -752,9 +752,7 @@ To do
 
 Some things that need to be done to completely replace the distro-boot scripts:
 
Quoted 7 lines

doc/develop/bootstd.rst To do · line 755

Quoted 1 line
doc/develop/bootstd.rst +0 -1
-- add bootdev drivers for dhcp, sata, scsi, ide, virtio

Good to see SATA finally in bootdev driver! I'm testing bootstd on a couple boards, and have been waiting for SATA bootdev. Any idea, if I should wait for it to be merged to the next branch, or is there an easy way to do it with one of your patches (I can test it on the latest master branch or next branch).

I believe it went in in the last release - see drivers/scsi/scsi_bootdev.c

If you need something else for SATA, PLMK.

Regards,
Simon

Quoted 13 lines

Thanks,
Tony

Quoted 9 lines
doc/develop/bootstd.rst +1 -3
-- PXE boot for EFI
-- support for loading U-Boot scripts
+- implement extensions (devicetree overlays with add-on boards)
 
 Other ideas:
 
--

2.42.0.rc1.204.g551eb34607-goog

#3 lore raw

Hi Simon,

Quoted 34 lines · Simon Glass

Hi Tony,

Quoted 22 lines · Tony Dinh

Hi Simon,

Quoted 18 lines · Simon Glass

The existing TODOs are done, so remove them. Add another that came up today.

---

 doc/develop/bootstd.rst | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
doc/develop/bootstd.rst +0 -0
index ec3136535783..3e566e994d6c 100644
@@ -752,9 +752,7 @@ To do
 
 Some things that need to be done to completely replace the distro-boot scripts:
 
Quoted 7 lines

doc/develop/bootstd.rst To do · line 755

Quoted 1 line
doc/develop/bootstd.rst +0 -1
-- add bootdev drivers for dhcp, sata, scsi, ide, virtio

Good to see SATA finally in bootdev driver! I'm testing bootstd on a couple boards, and have been waiting for SATA bootdev. Any idea, if I should wait for it to be merged to the next branch, or is there an easy way to do it with one of your patches (I can test it on the latest master branch or next branch).

Quoted 3 lines

I believe it went in in the last release - see drivers/scsi/scsi_bootdev.c

If you need something else for SATA, PLMK.

I see. That's scsi_bootdev for the scsi driver. I think we also need sata_bootdev for drivers/ata/. For example, the Marvell Kirkwood SoC boards use sata_mv.

Thanks,
Tony

Quoted 18 lines

Regards,
Simon

Quoted 13 lines

Thanks,
Tony

Quoted 9 lines
doc/develop/bootstd.rst +1 -3
-- PXE boot for EFI
-- support for loading U-Boot scripts
+- implement extensions (devicetree overlays with add-on boards)
 
 Other ideas:
 
--

2.42.0.rc1.204.g551eb34607-goog

#4 lore raw

Hi Simon,

Quoted 38 lines · Tony Dinh

Hi Simon,

Quoted 34 lines · Simon Glass

Hi Tony,

Quoted 29 lines · Tony Dinh

Hi Simon,

Quoted 15 lines · Simon Glass

The existing TODOs are done, so remove them. Add another that came up today.

---

 doc/develop/bootstd.rst | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
doc/develop/bootstd.rst +0 -0
index ec3136535783..3e566e994d6c 100644

doc/develop/bootstd.rst To do · line 755

Quoted 4 lines
doc/develop/bootstd.rst +0 -1
@@ -752,9 +752,7 @@ To do
 
 Some things that need to be done to completely replace the distro-boot scripts:
 
-- add bootdev drivers for dhcp, sata, scsi, ide, virtio

Good to see SATA finally in bootdev driver! I'm testing bootstd on a couple boards, and have been waiting for SATA bootdev. Any idea, if I should wait for it to be merged to the next branch, or is there an easy way to do it with one of your patches (I can test it on the latest master branch or next branch).

Quoted 7 lines
Quoted 3 lines

I believe it went in in the last release - see drivers/scsi/scsi_bootdev.c

If you need something else for SATA, PLMK.

I see. That's scsi_bootdev for the scsi driver. I think we also need sata_bootdev for drivers/ata/. For example, the Marvell Kirkwood SoC boards use sata_mv.

I took a close look in the drivers/ata/ directory. Most drivers are using ahci scsi, so they are OK. But the following drivers are ahci but not using scsi:
fsl_sata.c
sata_sil.c
sata_mv.c

That TODO item should remain and changed to:

-- add bootdev driver for sata

All the best,
Tony

Quoted 22 lines

Thanks,
Tony

Quoted 18 lines

Regards,
Simon

Quoted 13 lines

Thanks,
Tony

Quoted 9 lines
doc/develop/bootstd.rst +1 -3
-- PXE boot for EFI
-- support for loading U-Boot scripts
+- implement extensions (devicetree overlays with add-on boards)
 
 Other ideas:
 
--

2.42.0.rc1.204.g551eb34607-goog