History log of /haiku/src/add-ons/kernel/drivers/disk/norflash/norflash.cpp
Revision Date Author Comments
# 425ac1b6 20-Jun-2023 Alexander von Gluck IV <kallisti5@unixzen.com>

refactor: Swap %Ld for %lld in all format usages

* %Ld is an undocumented alias for %lld in glibc.
* muslc doesn't implement it for this reason.
* While we will likely never drop %Ld support,
lets clean house and set a better example.

Change-Id: Id46dad3104abae483e80cc5c05d1464d3ecd8030
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6636
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>


# 960598d4 31-Oct-2014 François Revol <revol@free.fr>

norflash: Fix warning


# 31e17f9d 18-Sep-2013 Ithamar R. Adema <ithamar@upgrade-android.com>

norflash: fix handling of boundaries

This was slightly off since my introduction of hidden sectors^^^^^
blocks in the norflash driver.


# 102ce465 16-Sep-2013 Ithamar R. Adema <ithamar@upgrade-android.com>

norflash: do not accept any device as a valid 'norflash'

Seems the original code was a little *too* simple ;-)


# ed6722ad 14-Sep-2013 Ithamar R. Adema <ithamar@upgrade-android.com>

norflash: Add hack to hide start of NOR flash

This is a workaround for hiding U-Boot that is stored in the first 2
128k blocks, so we can put a BFS image into NOR to boot from (since
we do not have support for SD/MMC yet in Haiku).

When manually putting a BFS filesystem at block 3 we actually get
right up to the point where BootScript is attempted to be executed!


# 00e13e21 16-Sep-2013 Ithamar R. Adema <ithamar@upgrade-android.com>

norflash: do not accept any device as a valid 'norflash'

Seems the original code was a little *too* simple ;-)


# b9fa914d 14-Sep-2013 Ithamar R. Adema <ithamar@upgrade-android.com>

norflash: Add hack to hide start of NOR flash

This is a workaround for hiding U-Boot that is stored in the first 2
128k blocks, so we can put a BFS image into NOR to boot from (since
we do not have support for SD/MMC yet in Haiku).

When manually putting a BFS filesystem at block 3 we actually get
right up to the point where BootScript is attempted to be executed!


# 64e4a820 20-Nov-2012 Ithamar R. Adema <ithamar@upgrade-android.com>

norflash: Style fixes

As pointed out by Axel, thanks!


# 959e7602 13-Nov-2012 Ithamar R. Adema <ithamar@upgrade-android.com>

ARM: fix copyright of NOR driver

Signed-off-by: Ithamar R. Adema <ithamar@upgrade-android.com>


# 5f78788a 12-Nov-2012 Ithamar R. Adema <ithamar@upgrade-android.com>

ARM: Initial work on a NOR flash driver

Currently hardcoded to Verdex target. Code prepared to pick up configuration
details from FDT when implemented. Only enabled in FloppyImage for ARM.

This actually enables the kernel to read the content of the image file
passed using the "-pflash" parameter to QEMU....


# 960598d4c3fba67565d4e5b3e778ba786f3bb947 31-Oct-2014 François Revol <revol@free.fr>

norflash: Fix warning


# 31e17f9d7b68cac80963bbc2995119cb094965ed 18-Sep-2013 Ithamar R. Adema <ithamar@upgrade-android.com>

norflash: fix handling of boundaries

This was slightly off since my introduction of hidden sectors^^^^^
blocks in the norflash driver.


# 102ce4652adf3c3a4d74770d7e1c1c8efdbdaf46 16-Sep-2013 Ithamar R. Adema <ithamar@upgrade-android.com>

norflash: do not accept any device as a valid 'norflash'

Seems the original code was a little *too* simple ;-)


# ed6722adc45b5372f2066d9ff48046100714ac7e 14-Sep-2013 Ithamar R. Adema <ithamar@upgrade-android.com>

norflash: Add hack to hide start of NOR flash

This is a workaround for hiding U-Boot that is stored in the first 2
128k blocks, so we can put a BFS image into NOR to boot from (since
we do not have support for SD/MMC yet in Haiku).

When manually putting a BFS filesystem at block 3 we actually get
right up to the point where BootScript is attempted to be executed!


# 00e13e215e687183d8192b339232c941bddb5c8f 16-Sep-2013 Ithamar R. Adema <ithamar@upgrade-android.com>

norflash: do not accept any device as a valid 'norflash'

Seems the original code was a little *too* simple ;-)


# b9fa914d1e42be8611aacbe62977c998bb0b1c78 14-Sep-2013 Ithamar R. Adema <ithamar@upgrade-android.com>

norflash: Add hack to hide start of NOR flash

This is a workaround for hiding U-Boot that is stored in the first 2
128k blocks, so we can put a BFS image into NOR to boot from (since
we do not have support for SD/MMC yet in Haiku).

When manually putting a BFS filesystem at block 3 we actually get
right up to the point where BootScript is attempted to be executed!


# 64e4a8207f542cdd3f0a8f02378c514fd0323ab6 20-Nov-2012 Ithamar R. Adema <ithamar@upgrade-android.com>

norflash: Style fixes

As pointed out by Axel, thanks!


# 959e7602bcba83b108f691c7c7a93de9eb361730 13-Nov-2012 Ithamar R. Adema <ithamar@upgrade-android.com>

ARM: fix copyright of NOR driver

Signed-off-by: Ithamar R. Adema <ithamar@upgrade-android.com>


# 5f78788af97122fa9af398364a21e89027529600 12-Nov-2012 Ithamar R. Adema <ithamar@upgrade-android.com>

ARM: Initial work on a NOR flash driver

Currently hardcoded to Verdex target. Code prepared to pick up configuration
details from FDT when implemented. Only enabled in FloppyImage for ARM.

This actually enables the kernel to read the content of the image file
passed using the "-pflash" parameter to QEMU....